Aoto10

MrPLC Member
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Aoto10

  • Rank
    Newbie

Profile Information

  • Country United States
  1. PLC to PLC

    Depends on the information you want to share between the two. I would suggest Wasan solution of using "Socket Communication". It's easy to understand and setup once you figure it out. If you want to share data in real time I would suggest a CC-link network between the two. But if speed or update speed is not an issue then socket communication would work fine.
  2. I'm trying to connect to a remote PLC from a remote PLC. I have issues using ethernet but have no issue using a USB cable. Lets call PLC 1(CJ2M-CPU35) is the one I'm connected to and I'm trying to reach PLC 2(CS1H-CPU65H) for remote ladder monitoring. I am connected to the built in ethernet port on PLC1 with my computer. On PLC1 rack is a controller link card that is on network 30 and connects to a controller link card on PLC 2. I drew out the network in a simple form in attached capture.jpg. I open PLC 1 program in CX-programmer and insert and PLC in the project workspace on the left. I enter the settings for PLC 2 Device type and on Network type I select PLC1. In settings for FINS Source I use Network 1 and for FINS Destination I use network 30 and node 6. I try to go online and I can never go online. I can go into CX-Integrator and pull up my network for network 30. I see 6 nodes attached to network 30 which is correct but they all say UnknownDevice. Also I get error messages(reference image 6024 and 6025).  Now if I use a USB cable directly to PLC1 and set up using Toolbus(USB) for FINS network 1 and node 1. And add PLC2 using FINS network 30 and node 6. This combination works fine for me, in CX-integrator all models of node on the network show up with model numbers and no errors(reference image 6027 and 6028). I can go online with PLC 2 while physically connected to PLC1.   I've tried using EtherNet/IP cards also on PLC1 and still can't connect. I just can't seem to get ethernet to work. I attached the routing table for PLC1 (image 6026) for reference.   Any help is appreciated thanks.
  3. Machine has a Q50UDEHCPU. I tried the FOR NEXT loop you mentioned. I see where this accomplishes the same thing with less ladder for a longer string. Is this what you had in mind? I tested and it does work. Could this be improved more? Like using a break to exit the loop if a bad value was found?  
  4. I have a machine that will sometimes execute the HEX instruction with characters that are not HEX values. The instruction gives the 4100 operation error, the PLC goes to stop and machine will stop entirely. I don't want to change PLC RAS to continue if this error occurs. I have no way of changing the data I receive since it comes from a outside machine. I'd prefer to just check the data before the HEX instruction executes and prevent the execution entirely if the data is going to cause an alarm. I made a sample ladder below of what I came up with to check each of the 4 characters of data. It seems kind of redundant and I feel could be made shorter using different functions. Is there an easier way to do this? If had many more characters this would take many rungs of ladder to accomplish. Thanks.