RS-232 is the most common control protocol for professional AV devices — displays, projectors, matrix switchers, audio DSPs, and amplifiers all typically expose an RS-232 port for control.
Each RS-232 port must be configured to match the controlled device’s serial settings:
Most AV devices use 9600 or 115200 baud, 8N1, no flow control. Always verify in the controlled device’s manual.
RS-232 ports support both sending commands and receiving feedback. Configure the port to listen for response strings and use them to update panel button states or trigger conditional logic in the script.
IR control is used for devices that lack RS-232 or IP control — consumer displays, cable boxes, Blu-ray players.
Connect a 3.5mm mono IR emitter cable to the IR output port. Place the emitter bud directly over the device’s IR receiver window. Most KanexPro processors support multiple independent IR emitter outputs.
Standard IR carrier frequency is 38kHz. Some devices use 36kHz, 40kHz, or 56kHz. The processor auto-detects frequency when learning codes.
Relay outputs are dry contacts — no voltage is provided by the processor. They switch an external circuit open or closed.
SET RELAY port1 CLOSE # Close the relay DELAY 500 # Hold for 500ms SET RELAY port1 OPEN # Open the relay
Digital I/O ports can be configured as inputs or outputs. As inputs, they detect contact closures (door sensor, motion detector, button). As outputs, they provide a logic-level signal to trigger external devices.