Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A6 - read RS232 data from KCS firmware
#1
Hi,
I bought a KC868-A6 to control an old burglar alarm board trought digital inputs and relay outputs of A6 board. The burglar alarm board have a RS232 output port for a printer (log print).
Is there a mode to read data from RS232 printer port connected to RS232 port of A6 board from KCS firmware? This is very important for me to complete control of burglar alarm.
Thanks in advance for your support
Reply
#2
RS232 use by STRING command , here is protocol: https://www.kincony.com/smart-controller...tocol.html
you can read data according to this protocol.
Reply
#3
(01-29-2025, 12:20 AM)admin Wrote: RS232 use by STRING command , here is protocol: https://www.kincony.com/smart-controller...tocol.html
you can read data according to this protocol.

Hi
thanks for you prompt reply. I read the document about the protocol but I didn't found any reference to RS-232 but only commands to activate and check relays status.
Can you explain how I can read the data input on RS-232 port of 868-A6 board and how I can visualize these data on KCS V2 A6 firmware web page (or other tools if needed)?
Reply
#4
1.Turn one relay ON and OFF:

A.Turn ON one relay:

Send: RELAY-SET-255,x,1  (x is the channel of Relay)

Feedback: RELAY-SET-255,x,1,OK (Turn ON Relay x successed)

FeedBack: RELAY-SET-255,x,1,ERROR (Turn ON Relay x failed)

the protocol as same as tcp protocol.

you can send command by RS232, for example:
RELAY-SET-255,1,1    means turn on relay1
RELAY-SET-255,1,0    means turn off relay1

RELAY-SET-255,2,1    means turn on relay2
RELAY-SET-255,2,0    means turn off relay2

baud rate use 115200bps.
Reply


Forum Jump:


Users browsing this thread: