- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-11 11:23 PM
Check communication with Modbus Serial (RTU) Slave
Hi,
As I wrote in the topic now I need some advice on how to check communication with modbus slave device.
Configuration what I have is below in the picture:
I searched tabs like in Modbus TCP where were Healthbits but in Serial probably it doesn't exist.
I try to use FB like IODrvModbusSerial where variable xAllSlavesOk shows FALSE and another variable uiNumberOfCommunicatingSlaves shows 0.
Maybe I using that FB wrong and that is why the variables show FALSE and 0.
- Labels:
-
Modicon M2xx
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-12 02:57 AM
The ModbusSerial Device has their own structure, you can use the "Slave Name".xError to show that the device is disconnected or has another problem:
Best regards,
LeTomas
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-12 02:57 AM
The ModbusSerial Device has their own structure, you can use the "Slave Name".xError to show that the device is disconnected or has another problem:
Best regards,
LeTomas
Link copied. Please paste this link to share this article on your social media post.

