b.k.n.

MrPLC Member
  • Content count

    34
  • Joined

  • Last visited

Posts posted by b.k.n.


  1. On 12/23/2023 at 3:15 AM, chelton said:

    If only omron would release some more communication modules like profibus/devicenet for the NX range. Retrofit's would be so much simpler. 

    You could probably use another vendors remote IO with their PLC. A person would have to research it.


  2. If you want a remote Omron EIP rack you need to use NC-EIC202 that is their NX remote IO coupler for EIP.

    You setup the exchange in CX-One's Network Configurator.

    In my example 192.168.26.114 is a Omron CJ2H talking to two remote NX EIP io racks, 192.168.26.131 and 192.168.26.132.

    NetConfig0.JPG.aa39dc5b9a7d963d94eeba09a

    You will first need to connect to the EIC202 with USB and Sysmac Studio or the NX IO Configuration(I think they have a standalone tool so you don't need to buy the full sysmac license). This is how you add the NX io units to the coupler.

    When you are done with that you can use Network Configurator to set the EIC202's IP address. Once you can connect to the coupler you can upload from it and verify the number of input and output bytes.

    There manuals are usually pretty good. Hopefully these snips help.

    NetConfig2.thumb.JPG.ecba5d88b46205cdc5f

    NetConfig1.JPG.0682e222030d91d0478a4fa5e


  3. 1. Wouldn't you just setup the ratio as seen in the screenshot? The axis is setup with no "gearing / ratio"... From looking at how you have the axis Unit Conversion Set you are using the gear box. I would not do this if you just want to use pulses. The way you have it set in the project using the gear box your command of  12780522 would actually give 85,768,631,274,700.8 pulses. Pay attention to their formulas there in the setup it tells you what each number is doing and how to calculate how many pulses were generated.

    Servo.JPG.10ad8a361844497ee95bf102052ee2

     

    2. I don't have experience with the NA screens. But using Weintek with NX PLC I am doing that conversion all the time. Maybe I am missing something, would be good to know if so... :-)


  4. Have you thought about writing your data to the SD card in .csv files and then emailing the file. I can post the Email function block if you want.

    I am using this method and it works very well!!

    1 person likes this

  5. In my experience power supply first then CPU then all your other cards. Like I thought the connectors on the rack are different for the CPU and power supply slots as opposed to the rest. But then again its been awhile since I have done a CS1.

    1 person likes this

  6. 1 hour ago, innoaloe said:

    This is one of the feature that will be typically overlooked... Never set this one before. Nice find @b.k.n..
    Though I think the longer we set this of course PLC cycle-time overall will be increased by this value.

    you are absolutely correct it will increase cycle-time overall if it needs those extra ms to process communication on the port.


  7. The other thing you could do is increase the "Peripheral Service" time on the CJ2. This is the setting that allocates the MAX amount of time given to service the communications. Default is 10% of scan time. On some of my projects when I have problems with screens not refreshing variables from a PLC in a timely manner by setting this up I can increase performance.

     

    Untitled.jpg.ceff2fddf859a2bef6bfeb7618f


  8. On 3/10/2018 at 10:05 AM, Mendon Systems said:

    You need to display the "Address Reference Tool" window on the CX-P screen. Each time you select an object in the program by clicking on it that window will display every program rung which references it. When you click on a reference in that window it will take you to the corresponding rung in the program.

    Yes thats right use your "address reference tool" to see where all it is used. And from there away you need to understand the program well enough to know what code actually will affect that output. My understanding of the "Trace" you referenced(at least for Omron) is a troubleshooting tool to track all the different values that a variable has contained. For example if they are changing so fast you can't see them real time by watching it in the program.

     


  9. 5 hours ago, BobB said:

    The ability to access the D area as bits is only fairly recent - CJ2M if my memory is correct.

    That is correct D area bits are accessible on the CJ2 CPU's. W area is good for all tasks that don't need to retain their values through a power outage. In that way it is really the same as CIO. I like using them for momentary touch switches(user input) on a touch screen.

     


  10. I have a customer that wants me to take over a machine. It is a Omron CP1L-M. Another company wrote the program. I can connect to the PLC but cannot upload the program. It says the UM is password protected. I have not been able to get access to the password. Do any of you know of a way to crack the code or have any other tricks? Like is the password stored in DM that I could go look at it(not a high chance would be a security breach:-()?


  11. I'm afraid we are missing each other. What I wanted to no is how can I get the IP address of the Touch Screen and move it into a variable. The reason I want this is so I can change the Touch Screen's program behavior automatically depending on it's IP. This will keep me from having a different program for every one of the Touch Screens on the site...


  12. I am using the NS series touch screens and NS-Runtime. Do they have a System word that stores the IP address of that touch screen or PC running the NS-Runtime application. I want to be able to trigger different functions in my project depending on the IP address.