Ask our Experts
Didn't find what you are looking for? Ask our experts!
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-09-08 08:50 PM
Hi,
Trying to have M221 as master and multiple M200 as slave, I'm having trouble when there are multiple SL the communication is not working right, I'm guessing the master is read/write to multiple SL at once. When I set timer it starts to work decently but this doesn't seem viable for a lot of slaves since there will be a big delay the more SL there are. Is there a better solution for this?
I understand that IOscanner can do this easier but there is a limit to 16 devices. Attached simple program to read the heartbeat of SL
Thank you
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-09-09 09:30 PM
Only use 1 WRITE_READ_VAR at a time.
Use the Done bit to call the next modbus request.
With timers there is a risk of sending a new modbus request before receiving from previous request.
Yes, it is slow. Usually as a thumb rule, I count 100ms per device. Which means with 20 slaves it will take 2 seconds to get around. SE plc’s are a little bit faster, so maybe you can get it down to 50-80ms per device.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.