10-22-2024 05:59 AM
Examples are shipped with this toolkit. In the quick drop, search for "Modbus Master" or "Modbus Slave."
The Create Modbus Instance VI are polymorphic. Click on the TCP Master dropdown to select Serial Master.
10-22-2024 06:58 AM
Hi,
I found the example you mencioned, and I have been trying to modify it to get the results I need. However, it seems there's something wrong because I keep encountering the same two errors on every attempt:
```
Disconnected
Error 56 occurred at RTU Data Unit.lvclass:Read ADU Packet.vi:5030001
Connected
Disconnected
Error 56 occurred at RTU Data Unit.lvclass:Read ADU Packet.vi:5030001
Connected
Disconnected
Error 56 occurred at RTU Data Unit.lvclass:Read ADU Packet.vi:5030001
```
And
"Error -1073807339 occurred at VISA Write in Serial Master.lvclass:Protocol Write.vi:6190001->RTU Data Unit.lvclass:Write ADU Packet.vi:1820001->Modbus Master.lvclass:Write Multiple Coils.vi:6300001->Untitled 2"
Do you have any insights into what might be causing these errors? Any suggestions for troubleshooting would be greatly appreciated!
Thanks in advance.