Programming
15
AXB-IRS4 IR/Serial Interface (4 Ports)
RS-232 Protocol Commands (Channel Pulse Time)RS-232 Protocol Commands (Carrier)RS-232 Protocol Commands (IR Output - Cont.)
Command Description
ON[Dev,Chan] Start IR output on the designated device and channel.
Varia ble:
Dev = 1-4, Chan = 1-252
Example:

ON[1,11]

Starts device 1 and transmits command number 11.
SP[Dev,Chan] Transmit single IR code pulse. This command will pulse the actual IR code.
Pulse time is set by the CTON and CTOF commands.
Varia ble:
Dev = 1-4, Chan = 1-252
Example:

SP[1,2]

Transmits command number 2 pulses to device 1.
RS-232 Protocol Commands (Channel Pulse Time)
Command Description
CTOF(Dev,Time) Set the channel's off-time pulse in tenths of a second. Default time is 5 (0.5
second). Time is stored in non-volatile RAM.
Varia ble:
Dev = 1-4, Time = 1-255
Example:

CTOF(1,10)

Sets channel off-time pulse to one second on device 1.
CTON(Dev,Time) Set the channel's on-time pulse in tenths of a second. Default time is 5 (0.5
second). Time is stored in non-volatile RAM.
Varia ble:
Dev = 1-4, Time = 1-255
Example:

CTON(1,10)

Sets on-time pulse to 1 second on device 1.
RS-232 Protocol Commands (Carrier)
Command Description
CAROFF(Dev) Disable carrier from responding until a CARON command is received. This command
overrides the DIP switch setting on the front panel.
Varia ble:
Dev = 1-4
CARON(Dev) Enable the carrier to respond according to DIP switch settings on the front panel.
Varia ble:
Dev = 1-4