Jump to content

Recommended Posts

Posted

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

  • Like 1
Posted

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

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...