Sign in to follow this  
Followers 0
Michael Walsh

Modbus TCP with CP1H and CP1L from PM

2 posts in this topic

From @SamuelT

Please, I want to know if you know how to communicate two plcs omron CP1H (master) and one CP1L (slave). The master CP1H will send 10 DM memories to slave CP1L.
Now I have this configuration:


CP1H MASTER
PORT: CP1W-MODTCP61 MASTER IP: 10.150.1.5
SLOCK: 1, DIP SWITCH PLC # 4 = OFF

CP1L SLAVE
PORT: CP1W-MODTCP61 SLAVE IP: 10.150.1.1
SLOCK: 1, DIP SWITCH PLC # 4 = ON

I use the modbus RTU function blocks, but the master PLC does not communicate or send the DM memory values to the slave PLC

Thank you very much for your reply
if you have any example program it helps me a lot

MRTU_CP1L SLAVE.cxp

MTCP CP1H_MASTER.cxp

Share this post


Link to post
Share on other sites

Are you trying to write 10 words from the CP1H starting at D0 to the CP1L and put the data beginning at D1001?  

From the manuals that I see, Modbus register 1 is in memory location D1001:

ModTCP.png.0b8066e9b2ec711eae2178ee1d3d2

I would try to write values manually into D1001 in the CP1L and see if the value changes after the write FB is triggered (W10.00 on transition).

Here is the manual where I found the above table:

http://products.omron.us/Asset/CP1W-MODTCP61_SetupGuideManual_EN_201207.pdf

Here is the guide for the Function Blocks that you are using:

https://www.support-omron.fr/telechargements/documentations/2017-03-09%20-%2011-41-14%20-%20105486908/MRTU_CPU_Master_E.pdf

 

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