Vai al contenuto

Modbus TCP Master configuration

Click on the Ethernet node in your project tree, to display the following configuration window in the main area. Modbus TCP Master configuration-image_0You can decide how to configure the resource by choosing among:
  • Not used (if nothign choosen)
  • Modbus TCP master
  • Modbus TCP slave
Choose Modbus TCP master to configure the serial port as the Master of a Modbus TCP network.After choosing a working configuration, you’ll be allowed to define you own device network selecting them from the Catalog window and dragging them under the Ethernet node, or by right-clicking the Ethernet 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 TCP Master configuration-image_0By dragging (or adding) the Generic Modbus device to the Ethernet node, you can define a series of Modbus commands for exchanging, in read/write, one or more variables with a generic slave device.Otherway, if you want to define your own custom device, you can do it by selecting menu Tools -> Run Modbus Custom Editor.