Commissioning Teltonika Router and switching Ports
This is here an article how to start up the Teltonika router, as how digital outputs can be switched.
This is not a KUNBUS product, so we do not provide support for it. If you have any questions, please contact the dealer/company.
What is needed?
Teltonika Router RUT 956 (the successor of the RUT 955)
Lamp/LED
Preparation
Do the open collector hardware setup - here an example with a relay instead of a LED
https://wiki.teltonika-networks.com/view/RUT955_Relay_to_Open_Collector_Output
Teltonika
Teltonika RUT-956 will act as a Modbus Client. The configuration is done in the web interface. The web address is 192.168.1.1.
Steps of the configuration Teltonika
Login
Select Services/Modbus in the menu
Activate Modbus TCP client as shown in the following picture. Do not forget to save.
QModMaster
QModMaster will act as Modbus TCP Server.
Steps Configure QModMaster as Server.
Select Modbus TCP in the Options menu and enter the parameters of the Client (IP address and port).
Pay attention to the settings in the Settings of the Menu Options
Writing and reading the data
The function code for reading is 0x06 → "Write Single Register (0x06)
The function code for writing is 0x06 → "Read Holding Registers (0x03)
Register Address to address the open collector output to enter as Start Address.
The register address for the output (open collector output) is 202 (BOOL⇾ 0|1)
The register address for the relay output PIN is 203 (BOOL⇾ 0|1)
For writing, use the field number 3 as shown in the picture below and press Enter (don't forget!).
Example