AMX MAX-CSD 10 Operation And Reference Manual page 101

Amx corporation max video encoder & video decoder operation/reference guide
Table of Contents

Advertisement

IR/Serial Send_Commands (Cont.)
Command
CP
Halt and Clear all active or
buffered IR commands, and
then send a single IR pulse.
CTOF
Set the duration of the Off
time (no signal) between IR
pulses for channel and IR
function transmissions.
CTON
Set the total time of IR pulses
transmitted and is stored in
non-volatile memory.
GET BAUD
Get the IR port's current
DATA mode communication
parameters.
GET MODE
Poll the IR/Serial port's
configuration parameters and
report the active mode
settings to the device
requesting the information.
MAX-CSE/MAX-CSD10 Operation/Reference Guide
Description
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.
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.
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.
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
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
NetLinx Programming
95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Max-cseMax-csd10Max-cse10

Table of Contents