...
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
Drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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-955 956 will act as a Modbus Client. The configuration of the slave is done in the web interface. The web address is 192.168.1.1.
...
Login
Select Services/Modbus in the menu
Activate Modbus TCP slave client as shown in the following picture. Do not forget to save.
...
...
QModMaster
Qmodmaster QModMaster will act as masterModbus TCP Server.
Steps Configure Qmodmaster QModMaster as MasterServer.
Select Modbus TCP in the Options menu and enter the parameters of the slave Client (IP address and port).
...
Info |
---|
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 4 3 as shown in the picture below and press Enter (don't forget!).
...
...
Example
...