Register User-defined Modbus
Modbus communication with random devices can be performed using a user-defined Modbus.
- Select the Modbus menu from Settings > Network and select the Add TCP Slave or Add RTU Slave button.
- The Modbus slave will be added to the Modbus Slave List.
- To set the Modbus slave and to add/delete signals, select the View button.
- In the case of a TCP Slave, enter the IP address of the slave device and set the Port (default: 502).
- In the case of a RTU Slave, select the Serial Port to perform communication, and set Communication Speed, Parity Bit, Data Bit and Stop Bit. If the serial port has been added using a USB port, select the Search button to search the new device and select the Serial Port.
- If a signal must be added, press the Add Signal button.
- If a signal must be deleted, press the Delete Signal (-) button.
- Set the Signal Type, Signal Address, Signal Name and Slave ID for the newly added signal.
- In the case of a TCP Slave, the default Slave ID is 255. However, if Advanced Settings is checked, the Slave ID can be modified (1-247).
- In the case of Signal Type Multiple Coils for FC 15 and Multiple Holding Registers for FC 16, select the Edit button to add multiple signals by entering the Signal Name, Start Address and Count. An individual signal name is assigned automatically by Signal Name.
- Select the Settings button.
- Modbus registration begins after selecting the Settings button, and a message is displayed if the process fails. In such case, check the connection with the Modbus device and the Modbus Slave settings.
- If the Modbus has been successfully registered, the input and output of the registered signal can be checked.
- An output motion can be performed by entering a value and selecting the → button.