AMX MAX-CSD 10 Stereo Receiver User Manual


 
NetLinx Programming
95
MAX-CSE/MAX-CSD10 Operation/Reference Guide
IR/Serial Send_Commands (Cont.)
Command Description
CP
Halt and Clear all active or
buffered IR commands, and
then send a single IR pulse.
You can set the Pulse and Wait times with the 'CTON' and 'CTOF' commands.
Syntax:
SEND_COMMAND <DEV>,"'CP',<code>"
Variable:
code = IR port's channel value 0 - 252 (253 - 255 reserved).
Example:
SEND_COMMAND IR_1,"'CP',2"
Clears the active/buffered commands and pulses IR_1 port's channel 2.
CTOF
Set the duration of the Off
time (no signal) between IR
pulses for channel and IR
function transmissions.
Off time settings are stored in non-volatile memory. This command sets the
delay time between pulses generated by the 'CH' or 'XCH' send commands in
tenths of seconds.
Syntax:
SEND_COMMAND <DEV>,"'CTOF',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND IR_1,"'CTOF',10"
Sets the off time between each IR pulse to 1 second.
CTON
Set the total time of IR pulses
transmitted and is stored in
non-volatile memory.
This command sets the pulse length for each pulse generated by the 'CH' or
'XCH' send commands in tenths of seconds.
Syntax:
SEND_COMMAND <DEV>,"'CTON',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND IR_1,"'CTON',20"
Sets the IR pulse duration to 2 seconds.
GET BAUD
Get the IR port’s current
DATA mode communication
parameters.
The port sends the parameters to the device that requested the information.
Only valid if the port is in Data Mode (see SET MODE command).
The port responds with:
<port #> <baud>,<parity>,<data bits>,<stop bits>
Syntax:
SEND_COMMAND <DEV>,"'GET BAUD'"
Example:
SEND_COMMAND IR_1,"'GET BAUD'"
System response example:
PORT 3 IR,CARRIER,IO LINK 0
GET MODE
Poll the IR/Serial port's
configuration parameters and
report the active mode
settings to the device
requesting the information.
The port responds with: <port #> <mode>,<carrier>,<io link channel>.
Syntax:
SEND_COMMAND <DEV>,"'GET MODE'"
Example:
SEND_COMMAND IR_1,"'GET MODE"
The system could respond with:
PORT 3 IR,CARRIER,IO LINK 0