Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
on relays via modbus rs485
#1
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.


Attached Files Image(s)
       
Reply
#2
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
Reply
#3
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


Attached Files Image(s)
           
Reply
#4
these days , i will test it, then feedback to you.
Reply
#5
(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
Reply
#6
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.
Reply
#7
(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
Reply
#8
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.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)