MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

56 Excellent


  • Rank

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Gender Male
  • Location Miami Beach FL
  • Country United States

Recent Profile Visitors

9661 profile views
  1. EtherCat Disable Nodes

    Reporting back on excellent feedback from OMRON support. First, setting the option ECAT nodes to Disable do not report an ECAT fault and the Enabled nodes work just fine (without errors).     In axis settings, configure the axes for the option nodes just as you would if they were installed (enabled).     You can use start program or simply just call a section of logic that enables the optional ECAT nodes (it’s up to you and your preference). So I used the "EC_ChangeEnableSetting" function block set to TRUE or FALSE for each node to ENABLE or DISABLE the desired nodes, then use boolean state of "_EC_PDSlaveTbl[#]" to confirm state of each node. Thanks OMRON.      
  2. EtherCat Disable Nodes

    I have a base machine with 3 ECat nodes. 1S Servo and 2 MX VFD,s Nodes 1,2,3. These are set to ENABLED in the Enable/Disabled value. There is an Add On Option for this machine that adds a 1S Servo and an MX VFD. Nodes 4,5. These are set to DISABLED in the Enable/Disabled value. I am trying to create a SINGLE program that allows the add-on option hardware nodes 4,5 to be selected/de-selected. There is a POU for the Base_Machine with logic for controlling nodes 1,2,3 and A POU for the Add_On_Option with logic for nodes 3,4. In the MAIN POU I would like to use the EC_ChangeEnableSetting command to add nodes 4 and 5 when required. Can this be achieved. If the add-on nodes 4 and 5 are not physically installed does the initial DISABLED setting allow normal operation of nodes 1,2,3 without errors? Can or should I use the PrgStart/PrgStop command in my MAIN POU to Enable/Disable the Add_On_Option program listed in the Primary Task?but In the Axis Settings configuration both servos are listed, MC_Base_Machine and MC_Add_On. If the MC_Add_On axis is set to DISABLED will this allow the system to run without error? Anyone have any input or experience whether this approach is feasible and if yes am I on the right track?   Couldn't post a screenshot of program.....UGGHHH!  
  3. NJ State Machine

    Many thanks Michael ! All good. Learning NA as fast as possible!
  4. Referencing NX Structure in NA HNI

    You da man Chelton!!!! dang if I was using square brackets for array pointer [[[[[[[[[   ]]]]]]]]]]]]]]]]]]]]]]] Round brackets fixed it (((((((((((((((           ))))))))))))))))))))). What a simple solution. THANKS A MILLION
  5. I have a structure in the NX controller that consists of three arrays, LREAL, BOOL and BOOL each 30 deep. Trying to link these to an NA HMI but cannot for the life of me figure out correct syntax!! Used Variable Mapping on the NA HMI to point to the NX structure but cannot figure out the syntax required.    
  6. NJ State Machine

    I have been using this technique using enumerations to more easily identify each state during troubleshooting. My next challenge is how to show the string associated with each state on the NA HMI. Can and How do I reference the controller variable in the NA and display the string for each enumeration value? Can it be achieved using the enumerated variable directly from the controller OR must I create a brand new copy of the enumeration from the controller to the NA and use the integer value of the enumeration of the controller variable to control the enumerated text in the NA variable. Putting out this challenge!! ANY IDEAS FOLKS?
  7. I have a state machine using Enumerated Variable. When Viewing online the Enumerated name is truncated. Attached picture shows that current state is "Move_To_Pickup_Location" but the green text associated with the Current_State is truncated to "Move_To.." I have tried every possible combination of options under the "Tools" -> "Options" -> "Ladder Editor" and CANNOT seems to expand the green text to show the full name. Note that the Enumerated "Name" is the same as the Enumerated Comment". Again playing with "Ladder  Editor" settings I can find noway to show both when viewing the ladder Online. Any ideas??
  8. OMRON AutoUpdate Failure

    I have both CX_One and Sysmac Studio installed on my Windows 10 Professional computer. When running autoupdate it starts by first trying to install Communication MiddlewareCmw2004_0101Setup.exe. This fails everytime as indicated in attached images. Tried "DOWNLOAD ONLY" option and running install of Communication MiddlewareCmw2004_0101Setup.exe but same problem. Any suggestions how to resolve this issue?      
  9. TIML Timer

    You MUST enter Set Value in BCD format otherwise error will occur. See attached example. TIML_Example1.cxp See attached image of watch window. Timer SV is entered in D2 as #120 = 120 x 0.1 secs. = 12 Secs.
  10. CP1L-E three peripherals with rs232

    Add a second slave CP1L with two CL1W-CIF01 Serial RS-232C Option Boards and share date with main CP1L using Serial PLC Link Area? One port on slave PLC communicates data via Serial PLC Link to main PLC, other port reads RS232 analog signal data. OR CJ2M PLC with one port on CPU and additional two port SCU card. OR CP1H with two CL1W-CIF01 Serial RS-232C Option Boards and CJ Unit Adapter CP1W-EXT01 with two port SCU card.
  11. NC413 #8000 Double Command Error

    I know this a really old post. However I recently experienced a similar issue using a STEP/SNXT routine to control a two axis NC213 motion card. I have always used the P_Step flag A200.12 prior to every SNXT instruction to ensure that one PLC scan passes prior to transitioning to the next STEP. I discovered that the transition to each step were so fast that occasionally i got the failed #8000 Double Command Error. Sometimes this occurred on a daily basis and at other times once a week. This was driving me crazy!! I discovered is that even though the motion flags [Move Absolute, Move Relative etc. etc.] are shown as rising edge commands in the NC Card manual, this is NOT the case, each motion flag needs to remain ON for some time AFTER THE BUSY FLAG TURNS "ON". Therefore after each motion flag is turned ON in a STEP it transitions to the next STEP when the motion card BUSY flag turns ON, BUT ONLY AFTER A DELAY. The STEP when the card is BUSY transitions to the next STEP when the motion card BUSY flag turns OFF, BUT AGAIN ONLY AFTER A DELAY. The technique I implemented for the delay was a change of state in the word used for the STEP routine flags. This SET a delay flag that was used prior to every SNXT instruction. The delay flag was reset after 3 program scans which allowed the SNXT instruction to transition to the next STEP. It appears that either the NC documentation is incorrect OR the STEP/SNXT routine is so fast that it was causing the #8000 Error. My 2 cents.  
  12. How to add 100 words

    Here it is again. SUM LONG.pdf Found original PLC file. Hope it helps Sum D100 thru D199.cxp
  13. Hello, just read an old post from you regarding sum floating points.

    " You are welcome. And just for laughs here is how to add 25 words of FLOAT [4 WORD at a time]. Note that the index register is double incremented twice, once in the +F +D instruction and immediately afterwards with an output instruction. This moves the index pointer four words for each pass of the FOR/NEXT routine. First pass D100, Second pass D104 etc. etc. SUM FLOAT.pdf Edited 29 Sep 2011 by BITS N BYTES "

    Would love to see how you solved this

  14. Could not open file

    Currently version 9.75 on one computer and 9.73 on another computer. Both show weird symbols, tasks etc. in unrecognizable, weird looking language?? Where is your from machine builder located? If they installed CX-One in another geographical region that might explain the weird language issue?
  15. Could not open file

    Me too, BUT symbols, tasks etc. in unrecognizable, weird looking language??