Using the DATA_EXCH for Explicit messaging FC 16 (Write Multiple Holding Registers) or FC 03 (Read Holding Register) from a M580 Ethernet interface.
Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-03-0809:10 AM
Using the DATA_EXCH for Explicit messaging FC 16 (Write Multiple Holding Registers) or FC 03 (Read Holding Register) from a M580 Ethernet interface.
Hi Guys,
I am Trying to use DATA_EXCH block to Send Explicit Messaging over ModbusTCP to Modbus Device, to write some data to multiple registers with Function Code 16, and Read back Holding Registers with Function Code 03,
but i amn`t able to find a clear example how to do that ?, with DATA_EXCH or (READ_VAR), (WRITE_VAR)
for example Write/Send_Data to this range : 0xD000 - 0xD006 (Function Code 16)
and Read/Recieve_Data from this range: 0xD040 - 0xD042 (Function Code 3)
Can i do that Explicit Messaging with DATA_EXCH EFB over Modbus TCP ?, there are 1 example here but for Writing Single Register.
I could see that it was possible with DATA_EXCH to Explicit Messaging over Ethernet/IP to send a hole message in array to Ethernet/IP Device with CIP Protocol, and Receive the Data on another array
Thanks to let me know if you have an example for DATA_EXCH or Write_Var, Read_Var, for sending a hole message frame over Modbus TCP, and receive the Data Record on an array, similarly to Ethernet/IP over CIP Protocol