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-04-27 02:17 AM . Last Modified: 2025-04-27 06:03 AM
Hi all,
Looking for advice how to set up HMIS5T as a slave and TM221C16R as a master on serial Modbus RTU.
Required to stop cycle and reset all timers down to 0 on M221 in case lost of serial communication between them.
For now HMIS5T as a master and M221 as a slave runs with no issues, after serial 485 cable unplugged the cycle executions continue. Was tried setup with Modbus slave RTU driver on HMI and M221 set as slave- no communication.
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-05-03 10:53 AM
Well, will use your suggestion. Also my initial question still valid.
There screenshot of setup M221 when system frames not received from HMI.
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.
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-04-29 11:27 PM
I would suggest that you check instead these system words.
I did not test the function, but I would expect you could check in this way if the HMI is not present. Because in that case the number of messages will not change.
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.
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-05-05 09:48 PM
Your solution seems for me valid.
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-05-06 11:09 PM
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-05-08 12:31 AM
The HMI goes into error if serial unplugged any way. But M221 as a slave continue executing code. To prevent this my solution send M221 to stop all things due to serial communication issue. Physically only one I0.0 has M221 as a emergency stop button, reset of inputs are on HMI side.
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.