Vai al contenuto

Modbus RTU Slave configuration

Configure the target board as Modbus RTU slave if you want your board to manage R/W request from a master.Click on the RS485 node in the project tree; a new window will appear in the main, asking you how to configure the serial port; choose Modbus RTU Slave to configure the serial port as a slave node in a Modbus RTU network. Modbus RTU Slave configuration-image_0After choosing Modbus RTU Slave, you’ll be asked to insert more communication informa- tion:
  • Baudrate
  • Serial mode (parity check, number of databits, stop bit)
  • Modbus address, node address in the Modbus network
If the serial port is a slave, the Catalog window will remain empty, you can’t add a slave device to a slave node.On the contrary, the master of the Modbus network, will be able to read and write the parameters published by your slave.