AMX DX-TX Hardware Reference Manual page 74

Table of Contents

Advertisement

IR SEND_COMMANDs (Transmitters and Receivers)
CTON
Set the total time of IR pulses
transmitted and is stored in non-
volatile memory.
GET BAUD
Get the IR port's current
communication parameters.
GET MODE
Poll the IR/Serial port's
configuration parameters and report
the active mode settings to the
device requesting the information.
NOTE: Works with Port 3 only.
IROFF
Halt and clear all active or buffered
IR commands being output on the
designated port.
SET BAUD
Use to set the IR communication
parameters.
NOTE: Before sending the SET
BAUD command, you must set the
IR port to Data mode (for the SET
MODE command, see page 74)
SET MODE
Set an IR port to either IR, Serial,
or Data mode.
SP
Generate a single IR pulse.
Hardware Reference Manual – DXLink™ Twisted Pair Transmitters/Receiver
This command sets the pulse length for each pulse generated by the 'CH' (see previous page) or
'XCH' (see next page) Send Commands in tenth of a second increments.
Syntax:
SEND_COMMAND <DEV>,"'CTON',<time>"
Valid response:
time = 0 to 255. Given in 1/10th of a second increments. 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.
Syntax:
SEND_COMMAND <DEV>,"'GET BAUD'"
Example:
SEND_COMMAND dvRXRS232,"'GET BAUD'"
The port responds with:
Port <port #>,<baud>,<parity>,<data>,<stop>
Syntax:
SEND_COMMAND <DEV>,"'GET MODE'"
The port responds with:
<port #> <mode>,<carrier>,<io link channel>.
Example:
SEND_COMMAND IR_1,"'GET MODE
The system could respond with:
PORT 3 IR,CARRIER,IO LINK 0
Syntax:
SEND_COMMAND <DEV>,"'IROFF'"
Example:
SEND_COMMAND IR_1,"'IROFF'"
Immediately halts and clears all IR output signals on the IR port.
NOTE: This value is not saved in non-volatile memory and is reset to default (9600, N, 8, 1) at
power-up.
Syntax:
SEND_COMMAND <DEV>,"'SET BAUD <baud>,<parity>,<data>, <stop>'"
Valid responses:
• baud = 9600, 4800, 2400, 1200, 600, 300, 150
• parity = N (none), O (odd), E (even), M (mark), S (space)
• data = 7 or 8 data bits
• stop = 1 or 2 stop bits
NOTE: The only valid 9 bit combination is (baud),N,9,1.
Example:
SEND_COMMAND DEVICE_1,"'SET BAUD 1200,N,8,1'"
Sets the DEVICE_1 port's communication parameters to 1200 baud, no parity, 8 data bits, and
1 stop bit.
Syntax:
SEND_COMMAND <DEV>,"'SET MODE'<mode>"
Valid response:
mode =
• IR (standard IR output with carrier)
• SERIAL (IR without carrier and waveform inverted)
• DATA (1-way serial/TTL)
Example:
SEND_COMMAND IR_1,"'SET MODE IR'"
Sets the IR_1 port to IR mode for IR control.
You can use the 'CTON' to set pulse lengths and the 'CTOF' to set time Off between pulses.
Syntax:
SEND_COMMAND <DEV>,"'SP',<code>"
Valid response:
code = IR code value 1 to 252 (253 to 255 reserved).
Example:
SEND_COMMAND IR_1,"'SP',25"
Pulses IR code 25 on IR port on RX.
NetLinx Programming of DXLink Transmitters and Receivers
'
"
74

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dx-tx-wpDx-rxAvb-tx-hdmi-dxlinkDx-tx-dwp

Table of Contents