Smart Home Automation Forum
on relays via modbus rs485 - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A6 (https://www.kincony.com/forum/forumdisplay.php?fid=22)
+--- Thread: on relays via modbus rs485 (/showthread.php?tid=5935)



on relays via modbus rs485 - 31marlosouza - 06-20-2024

Olá, estou com dificuldade para ativar os relés da placa KC868 - através do pool modbus consigo ler as entradas analógicas, ler as entradas digitais, mas não consigo ativar os relés. Você poderia me enviar a documentação.


RE: on relays via modbus rs485 - admin - 06-20-2024

if you downlaoded KCS firmware and enabled MODBUS setting in KCS webpage. then you can use this modbus protocol, here is document:
https://www.kincony.com/forum/showthread.php?tid=2528


RE: on relays via modbus rs485 - 31marlosouza - 06-20-2024

My problem still persists, I can read the analogues, read the digital inputs, and read the status of the coil. But I can't activate the coils and I can't activate the ADC analogues. In other words, I can't activate it, only have feedbeck


RE: on relays via modbus rs485 - admin - 06-20-2024

these days , i will test it, then feedback to you.


RE: on relays via modbus rs485 - 31marlosouza - 06-20-2024

(06-20-2024, 12:32 PM)admin Wrote: these days , i will test it, then feedback to you.

thank you very much. If you could also perform the temperature sensor test, reading the value on the kc868-a6 board via modbus, I would be grateful


RE: on relays via modbus rs485 - admin - 06-20-2024

KCS fimrware not support RS485 sensor directly.
if your A6 board work with ESPHome, you can config yaml for modbus controller work with your RS485 temperature sensor.


RE: on relays via modbus rs485 - 31marlosouza - 06-20-2024

(06-20-2024, 12:40 PM)admin Wrote: KCS fimrware not support RS485 sensor directly.
if your A6 board work with ESPHome, you can config yaml for modbus controller work with your RS485 temperature sensor.

I expressed myself wrong, I placed a ds18b20 sensor on the board, and I would like to read the temperature value via modbus, if possible. but I am waiting for the activation of the coils and the ADC to return


RE: on relays via modbus rs485 - admin - 06-21-2024

here is tested result with modbus pull:
   
enable RS485 modbus RTU protocol on KCS webpage firstly. then you can use relay ON/OFF command for testing.
   
   
you can see the relay1 is ON. here is modbus pull setting:
   
   

here is read ADC value command:
   
read 4 registers by modbus pull:
   
   
ADC1 have connect with 3.3v dc from KC868-A6 board.