Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Posted: 2022-11-25 02:04 AM . Last Modified: 2022-11-25 02:10 AM
Which Port i Can use for Modbus TCP Communication for - P582020, with Other Modbus Devices, and How to Do that ?
As Following the Instruction Video, i couldn`t Find Model Family
https://www.youtube.com/watch?v=QhkIQCOyxjo
Posted: 2022-11-28 10:47 AM
Hi ,
I found the issue, Actually Slave ID, needs to be Written beside the Address, but this wasn`t mentioned either in the Help - Documents for ADDMX or the Videos.
After Adding Slave ID, it started Reading and Writing
Posted: 2022-11-25 03:13 AM
Hello,
M580 networking is configured using DTM configuration (open DTM Browser) not the Communication-Networks (this is for M340).
Refer to this video: https://www.youtube.com/watch?v=piDpLjMxmyw
You can use the IO-scanning as shown in the video, or use READ_VAR/WRITE_VAR:
https://www.youtube.com/watch?v=usLS7yuiF6s
IO-Scannin is Limited to Modbus functions 3&16 (read/write %MW or 4xxxxx references)
Read_VAR/WRITE_VAR support more Modbus functions (see manual or help in Unity/ECE)
Posted: 2022-11-28 01:43 AM
Many Thanks Roozee.
I have used the READ_VAR & WRITE_VAR Blocks form M580, but i amn`t able to Read or Write to the slave, is there a Problem with my Setup ?
M580
Modbus Slave - Client
Posted: 2022-11-28 02:52 AM
Remove (temporarily) the WRITE_VAR, as it's not configured properly, and set the timeout value in CONTROL[2] to 10. Timeout of 0 will "hang" the function when something is wrong.
In that case you should see CONTROL[0] changing and CONTROL[1] should become 0.
I'm not familiar with the Modbus SLAVE program, but can you try to set the Modbus Slave ID to 255?
Posted: 2022-11-28 10:47 AM
Hi ,
I found the issue, Actually Slave ID, needs to be Written beside the Address, but this wasn`t mentioned either in the Help - Documents for ADDMX or the Videos.
After Adding Slave ID, it started Reading and Writing
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.