![]() |
KC868-A6 - read RS232 data from KCS firmware - 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: KC868-A6 - read RS232 data from KCS firmware (/showthread.php?tid=7500) |
KC868-A6 - read RS232 data from KCS firmware - Fabri90 - 01-28-2025 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 RE: KC868-A6 - read RS232 data from KCS firmware - admin - 01-29-2025 RS232 use by STRING command , here is protocol: https://www.kincony.com/smart-controller-development-protocol.html you can read data according to this protocol. RE: KC868-A6 - read RS232 data from KCS firmware - Fabri90 - 01-30-2025 (01-29-2025, 12:20 AM)admin Wrote: RS232 use by STRING command , here is protocol: https://www.kincony.com/smart-controller-development-protocol.html 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)? RE: KC868-A6 - read RS232 data from KCS firmware - admin - 01-31-2025 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. |