How To | Use simple Command Buttons to control the Lyntec RPC panel via TCP/IP
Learn how to use simple command buttons to control a Lyntec RPC panel over TCP/IP connections.
Procedure
It is possible to control the Lyntec RPC circuit breaker panel's individual breakers and also zones (groups of breakers) directly from a Core using Command Buttons, with no scripting required. You would simply use the TCP/IP commands as outlined in the Lyntec RPC Operations Manual in the TCP/IP PROTOCOL section. The document is available on the RPC product page. It will not be possible to query the state or get feedback of the various breakers without a script, but you can control the On/Off functions.
Examples
Note
While this had been tested and confirmed to work both as ASCII and as HEX in Q-SYS v6.2.1, and should on newer versions of Q-SYS as well, we cannot guarantee operation should changes in the RPC protocols be made by the manufacturer.
Zone Control=Z (indivdual breaker control would be B), so:
GET /p2.rpc?IPZ002=1
This control string will turn zone #2 on.
GET /p2.rpc?IPZ002=0
This control string will turn zone #2 off.
For Q-SYS Command Buttons, you will need to add an additional [SPACE] followed by a CR-LF-CR-LF sequence to each string. Therefore, the first command above to turn Zone 2 ON would look as shown below in the Command Button text field:
GET /p2.rpc?IPZ002=1 \r\n\r\n
Alternatively, to send the message as a HEX command, use the following:
\x47\x45\x54\x20\x2F\x70\x32\x2E\x72\x70\x63\x3F\x49\x50\x5A\x30\x30\x32\x3D\x31\x20\x0D\x0A\x0D\x0A