Data Sheet

Copyright © Roboteq Inc. 2018. All Rights Reserved. 11
You can also calculate the register address from the tables in the appendix A, you need to get the Modbus
ID value from the table then add to it the desired command/query index.
For example, the read user integer variable Modbus ID is 0x20C0, to get the first variable:
- ModbusID = 0x20C0.
- Add the index 0x20C0 + 0x01 = 0x20C1
- Use 0x20C1 as the address.
2.4 Controller Configuration
To configure controller to use Modbus, you will find new configuration section called Modbus under
control board:
From the configuration you could set Modbus mode to (Off, TCP, RTU over TCP, RS232 ASCII, or RS485
ASCII). You will be also able to set the Modbus Save ID.
You can use terminal to issue commands for changing mode and slave ID:
Command
Description
^DMOD 0
Set mode Off.
^DMOD 1
Set mode TCP.
^DMOD 2
Set mode RTU over TCP.
^DMOD 3
Set mode RS232 ASCII.
^DMOD 4
Set mode RS485 ASCII.
^MNOD 5
Set slave ID to 5.
~DMOD
Query mode.
~MNOD
Query slave ID.