Sign in to follow this  
Followers 0
niyaz

CP1L-EM40DR-D PLC's communicatoin using FINS

9 posts in this topic

HI Guys, I am using two CP1L-EM40DR-4 plcs and trying to establish the communication between two plcs using FINS(TCP/IP) and wants to turn on the second plc out put (any one output) from first plc input and wants to read the status of second plc I/O's in first plc .

For the first plc IP used 192.168.10.200 & node address as 200.

For the second plc IP used 192.168.10.201 & node address as 201. 

Please help me how to proceed for the next step.

 

Thanks in advance

 

 

Share this post


Link to post
Share on other sites

Look at the SEND command.  It is pretty straight forward.

Share this post


Link to post
Share on other sites

can you please explain me in detailed . Do I need to configure routing table for this CP1L-E plc's communication. Thanks in advance .

Edited by niyaz

Share this post


Link to post
Share on other sites

Yes, configure the routing table.  It is easy. All that it does is assign a network number to the Ethernet port.  The Built in
Ethernet port is Unit 250.  To assign network 1 to the port, it should look like this.  Just download after you set this up (I show two different views of the same setting):

EBLftCO1wAAAAASUVORK5CYII=

 

 

Share this post


Link to post
Share on other sites

Ok Thanks a lot. Please see the attached images below and correct me if i am doing any settings wrong. i am trying to read the data from my PLC2 but i am not able to read the data. (from PLC1 i am sending the data to plc2).  still i need to add any  function blocks in ladder diagram to send the data.

573ee8d82445b_PLC1-(IPSETTING).bmp     ;   573ee93c8ef40_PLC2(BUILTINETHERNETPORTSETTING).bmp   ;           573ee9b96ea19_PLC2(NETWORKSETTING).bmp

PLC1.bmp;              573ee903d1003_PLC2(NETWORKSETTING).bmp ;573ee969ec5d5_PLC2(BUILTINETHERNETPORTSETTING).bmp

573ee810dc654_PLC1(NETWROKSETTINGS).bmp;

Share this post


Link to post
Share on other sites

If you use a class C subnet, (255.255.255.0), then your IP Addresses must have the same first three octets to communicate with each other (unless you have a router).

Make the IP Addresses something like this

PLC1:

192.168.25.1 subnet 255.255.255.0

PLC2:

192.168.25.10 subnet 255.255.255.0

Then set the routing table to define the Ethernet port on each PLC as network 1. 

Then in your FB, send data from 192.168.250.1 to 192.168.250.10 using Network address of 1 and node address of 10.  This would be the easiest way to do this.  It is important that your FINS node number is the same as the last octet of your IP Address.  You have this correct, just pointing this out.  If it did not match, additional settings would be required.  Likewise, if your Subnet mask is not 255.255.255.0, additional settings might be required. 

See here for a description of this issue (different product, but same concern):

http://forums.mrplc.com/index.php?/topic/25148-cj2m-ethernet-ip-error-f3

 

Share this post


Link to post
Share on other sites

Hi Michael, Thanks for your information.  

As per your reply

I done setup for routing table . when i am trying to download it is always asking CPS file. I am not able to find the CPS file related to CP1L-E series plc. can you please help me reg this CPS files need for CP1L-E plc's.

 

1.Make the IP Addresses something like this

PLC1:

192.168.25.1 subnet 255.255.255.0

PLC2:

192.168.25.10 subnet 255.255.255.0

Settings done accordingly.

 

2.Then in your FB, send data from 192.168.250.1 to 192.168.250.10 using Network address of 1 and node address of 10. 

 

 I need to transfer the data from PLC1 (192.168.25.1) to  PLC2 (192.168.25.10) as settings already done and  I am using SEND_DATA FB in PLC1 and RECEIVE_DATA FB in PLC2 .

But here using different IP addresses 192.168.250.1 and 192.168.250.10,  Total 4 IP addresses ?  I got confused.

Edited by niyaz

Share this post


Link to post
Share on other sites

You do not need to do a SEND and RECEIVE.  Only one or the other.  You can think of it this way, SEND = Write and RECEIVE = Read.

There are only 2 PLCs, right?  I just made up some addresses. If you are using 192.168.25.1 and 192.168.25.10, then that is fine.  forget about the 192.168.250.1 and 192.168.250.10, that was only an example.

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0