AMX DXF-TX-MMD Instruction Manual page 89

Amx dxlink fiber transmitters and receivers
Hide thumbs Also See for DXF-TX-MMD:
Table of Contents

Advertisement

IR SEND_COMMANDs (Transmitters and Receivers), continued
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 next entry in table)
XCH
Transmit IR codes.
SET MODE
Set an IR port to either IR, Serial, or
Data mode.
Instruction Manual – DXLink Fiber Transmitters and Receivers
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:
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>,"'XCH <channel>'"
Valid responses:
channel = 0 to 999.
Note: For detailed usage examples, refer to the 'XCHM' command (see
page 90).
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.
NetLinx Programming – DXLink Fiber TXs/RXs
'
"
89

Advertisement

Table of Contents
loading

Table of Contents