Community discussions

MikroTik App

Search found 2 matches

by mrangics
Mon Jul 15, 2024 10:40 am
Forum: General
Topic: KNOT - Modbus RTU - Write Registers
Replies: 2
Views: 1402

KNOT - Modbus RTU - Write Registers

Hi, I'm pretty fine reading any kind of registers with the KNOT device via the transceive command, like /iot modbus transceive address=1 function=1 data=00000006 (read 6 coil registers from 0 - 5, it will return a decimal number what can be processed to become digitals) /iot modbus transceive addres...
by mrangics
Mon Jan 29, 2024 7:23 pm
Forum: Scripting
Topic: Reading Modbus coils and registers
Replies: 1
Views: 1339

Reading Modbus coils and registers

Hi, I'm trying to create a script reading Modbus coils and registers with the new command, transceive and publish it with MQTT to a broker. In the Terminal, the values return as expected using the transceive command, but cannot publish it with MQTT. This is the line I use for the ModBus query: :loca...