treeg56 Posted February 25 Report Posted February 25 (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) These are the setting of the second PLC I also changed, as advised , the retry counts in the PLC settings to 2 And this this the (official) FB I used: 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 February 25 by treeg56 changed 0 to 8 Quote
IO_Rack Posted February 25 Report Posted February 25 https://mrplc.com/files/file/1009-fins-ethernet-master-slave-solution/ Quote
treeg56 Posted March 1 Author Report Posted March 1 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 Quote
IO_Rack Posted March 2 Report Posted March 2 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/ Quote
treeg56 Posted March 5 Author Report Posted March 5 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. Quote
IO_Rack Posted March 5 Report Posted March 5 If you wish, there is a downloads section here you may submit your example. https://mrplc.com/files/category/10-plc-sample-code/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.