![background image](http://html1.mh-extra.com/html/amx/dxlink-hdmi-mmf-d/dxlink-hdmi-mmf-d_instruction-manual_2939353078.webp)
NetLinx Programming – DXLink Fiber TXs/RXs
78
Instruction Manual – DXLink™ Fiber Transmitters and Receivers, Duplex
IR SEND_COMMANDs (Transmitters and Receivers), continued
GET BAUD
Get the IR port’s current
communication parameters.
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>
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.
Syntax:
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
IROFF
Halt and clear all active or buffered IR
commands being output on the
designated port.
Syntax:
SEND_COMMAND <DEV>,"'IROFF'"
Example:
SEND_COMMAND IR_1,"'IROFF'"
Immediately halts and clears all IR output signals on the IR 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 next entry in table)
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.
XCH
Transmit IR codes.
Syntax:
SEND_COMMAND <DEV>,"'XCH <channel>'"
Valid responses:
channel = 0 to 999.
Note:
For detailed usage examples, refer to the 'XCHM' command (see
page 79).
SET MODE
Set an IR port to either IR, Serial, or
Data mode.
Syntax:
SEND_COMMAND <DEV>,"'SET MODE',<mode>"
Valid responses:
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.
XCH SEND_COMMAND