Modbus RTU Slave Broadcast
Posted: Tue Sep 24, 2024 12:07 pm
Hello everyone
I am having trouble implementing a Modbus RTU Slave on my PIC18F66K22 with Flowcode 10.
The component I am using in Flowcode 10 is the Modbus Slave 2.0 component for creating Modbus compatible slave hardware via RS232 or RS485.
Read/Write querys with any unit ID from 1 to 247 are working fine and I am able to map the received data in the holding registers back to the master using other addresses in the holding registers.
Using unit ID 0 for broadcast messages I do not receive any data on the slave. Neither do I get an error on the master or slave.
Are broadcast messages supported with the Modbus Slave component and are there any restrictions regarding the function codes?
Kind regards
Mario
I am having trouble implementing a Modbus RTU Slave on my PIC18F66K22 with Flowcode 10.
The component I am using in Flowcode 10 is the Modbus Slave 2.0 component for creating Modbus compatible slave hardware via RS232 or RS485.
Read/Write querys with any unit ID from 1 to 247 are working fine and I am able to map the received data in the holding registers back to the master using other addresses in the holding registers.
Using unit ID 0 for broadcast messages I do not receive any data on the slave. Neither do I get an error on the master or slave.
Are broadcast messages supported with the Modbus Slave component and are there any restrictions regarding the function codes?
Kind regards
Mario