05-31-2024, 06:48 AM
Hi,
I'm trying to setup KCN868-HAv2 with Modbus. Since the stock firmware works with a custom protocol, I've loaded the firmware HA485_KU_V108_RIO231124 that should work with modbus. But when I try to communicate via RS485 to USB or esphome, I get no response from the device.
I've tried all these commands:
Modubs command-05 (control digital output):
turn ON output1:
send:0A 05 00 00 FF 00 8D 41
feedback:0A 05 00 00 FF 00 8D 41
turn OFF output1:
send:0A 05 00 00 00 00 CC B1
feedback:0A 05 00 00 00 00 CC B1
------------------------------------
Modubs command-01 (read digital output state):
send:0A 01 00 00 00 06 BD 73
feedback:0A 01 01 01 92 6C (output1=ON, output2--6=OFF)
------------------------------------
Modubs command-02 (read digital input state):
send:0A 02 00 00 00 06 F9 73
feedback:0A 02 01 01 62 6C (input1=ON, input2--6=OFF)
But nothing happens. I've also tried to broadcast the message, just in case the device slave id is not "0A", but didn't receive anything
Could you help me?
Thx
I'm trying to setup KCN868-HAv2 with Modbus. Since the stock firmware works with a custom protocol, I've loaded the firmware HA485_KU_V108_RIO231124 that should work with modbus. But when I try to communicate via RS485 to USB or esphome, I get no response from the device.
I've tried all these commands:
Modubs command-05 (control digital output):
turn ON output1:
send:0A 05 00 00 FF 00 8D 41
feedback:0A 05 00 00 FF 00 8D 41
turn OFF output1:
send:0A 05 00 00 00 00 CC B1
feedback:0A 05 00 00 00 00 CC B1
------------------------------------
Modubs command-01 (read digital output state):
send:0A 01 00 00 00 06 BD 73
feedback:0A 01 01 01 92 6C (output1=ON, output2--6=OFF)
------------------------------------
Modubs command-02 (read digital input state):
send:0A 02 00 00 00 06 F9 73
feedback:0A 02 01 01 62 6C (input1=ON, input2--6=OFF)
But nothing happens. I've also tried to broadcast the message, just in case the device slave id is not "0A", but didn't receive anything
Could you help me?
Thx