Jump to content

Problem exchanging data throught ethernet network with 2 CP1L-E PLC(s


Recommended Posts

Posted (edited)

Hello,

I try to set up a very basic exchange of data between two CP1l-E Omron plc's on a local netwok (192.168.0.XXX / 255.255.255.0

These are the setting of the first PLC (receiver)

image.thumb.png.6726e0864d66b6a63f8d138092523ef8.png

These are the setting of the second PLC

image.png.6d72ef28cbeb35331ead11e3cb823f15.png

I also changed, as advised , the retry counts in the PLC settings to 2

And this this the (official) FB I used:

image.thumb.png.923588f55d1a6b3bcf01f7df5990d4b9.png

So, I trying to send the values of DM4000 to DM4005 from PLC with node 7 to PLC with node 6. But unfortunately it does not reach there.

I got #1005 as an error code? But don't know what it means . There is no explanation of the errorcode in the FB description.

Is there anyone that can help me. I've tried already with the SEND and RECEIVE command but also there no solution.

Many thanks,

Treeg56

Edited by treeg56
changed 0 to 8

Posted

Hello MrPLC,

Thanks for you reaction.
But I thinks this solution is a lot of effort just for exchanging a couple of words.

I got from Omron FB _CPU011_ReceiveData. But still I have this same error code #1005. I think this has a reference to A45 where I have bit14 on ON. This has "ON if the remote IP address is set to automatic generation but the local IP address host number and FINS node address do not agree" as explanation. But I don't know how I can solve this.

Treeg56

Posted

I'm not an expert in FINS communication. I have had trouble in the past with FINS nodes. 

It may be necessary to use CX Integrator to create your FINS network between the PLCs. Here are instructions for creating a network between an Omron PLC and Omron NS touch screen. Modify these instructions to include your two PLCs. I don't have the equipment right now to test. 

https://mrplc.com/files/file/1117-cj2m-built-in-ethernet-connected-to-ns-by-fins/

Posted

Hello,

I got it fixed!

I Just needed to power off one of the PLC'S and then it worked.

If someone is interested, I can share the FB and the parameters. 

 

Posted
On 3/5/2025 at 4:51 PM, treeg56 said:

Hello,

I got it fixed!

I Just needed to power off one of the PLC'S and then it worked.

If someone is interested, I can share the FB and the parameters. 

 

Hello, have you ever tried communicating between two CP1H PLCs using the CIF41 Ethernet option board? I've been working on it for a few days, but still can't get any data exchange to work. What should I double-check in the setup?

Also, I downloaded your .cxp file that contains the function block, but I can’t save it as a file that I can import into my CP1H project. Is there any trick to make it usable? Or should I manually recreate the logic outside the function block?

Posted

Sounds like a solid project — CP1L-E PLCs can definitely handle basic peer-to-peer communication over Ethernet. For the receiver setup, make sure you've enabled the "Socket Service" in the PLC settings and configured the IP address correctly. Also check:

- The **Unit Number** doesn’t conflict with the sender  
- The **IP address** is fixed (not set to DHCP)  
- The **Port Number** is consistent on both sender and receiver  
- You're using the correct FINS commands or Socket Service instructions (like `SEND`, `RECV`, `TCP_OPEN`, etc.)

Once your receiver is ready, the sender will need matching communication settings and proper addressing — be sure to match up the destination IP and port.

If you end up developing or selling PLC-based kits, dashboards, or network utilities, having dependable [url=https://fulfilio.com/en/offer/marketplace-sales-support/]marketplace sales support[/url] could help manage distribution, support, and multichannel presence much more efficiently.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...