Vai al contenuto

Modbus RTU Master configuration

Click on the RS485 node in your project tree, to display the following configuration window in the main area. Modbus RTU Master configuration-image_0You can decide how to configure the resource by choosing among:
  • Not used (dafault)
  • Modbus RTU master
  • Modbus RTU slave
Choose Modbus RTU master to configure the serial port as the Master of a Modbus RTU network.After choosing a working configuration, you’ll be allowed to choose the setting parameters (baudrate and serial mode).You’ll also be allowed to define you own device network selecting them from the catalog window and dragging them under the RS485 node, or by right-clicking the RS485 node, choosing Add and selecting the desired device.If the Catalog window is not visible, you can enable it by selecting menu View -> Tool windows -> Catalog. Modbus RTU Master configuration-image_0By dragging (or adding) the Generic Modbus device to the RS485 node, you can define a series of Modbus commands for exchanging, in read/write, one or more variables with a generic RTU slave device.Otherway, if you want to define your own custom device, you can do it by selecting menu Tools -> Run Modbus Custom Editor.