AMX nxc manual SET Mode, Xchm, Mode 1 Example x x x enter

Models: nxc

1 46
Download 46 pages 61.34 Kb
Page 26
Image 26

NXC-IRS4 4-Port IR/S Control Card

NXC-IRS4 Send_Commands (Cont.)

Command

Description

 

 

SET MODE

Set the IR/Serial ports for IR or Serial-controlled devices connected to a CardFrame or NetModule.

 

Syntax:

 

SEND_COMMAND <DEV>, 'SET MODE <mode>'"

 

Variable:

 

mode = IR or SERIAL.

 

Example:

 

SEND_COMMAND IR_1,"'SET MODE IR'"

 

Sets the IR_1 port to IR mode for IR control.

 

 

SP

Generate a single IR pulse. You can use the 'CTON' to set pulse lengths and the 'CTOF' for time off

 

between pulses.

 

Syntax:

 

SEND_COMMAND <DEV>,"'SP',<code>"

 

Variable:

 

code = IR code value 1 - 252 (253-255 reserved).

 

Example:

 

SEND_COMMAND IR_1, "'SP',25"

 

Pulses IR code 25 on IR_1 device.

 

 

XCH

Transmit the selected channel IR codes in the format/pattern set by the 'XCHM' send command.

 

Syntax:

 

SEND_COMMAND <DEV>,"'XCH <channel>'"

 

Variable:

 

channel = 0 - 999.

 

Example:

 

For detailed usage examples, refer to the 'XCHM' command.

 

 

XCHM

Changes the IR output pattern for the 'XCH' send command.

 

Syntax:

 

SEND_COMMAND <DEV>,"'XCHM-<extended channel mode>'"

 

Variable:

 

extended channel mode = 0 - 4.

 

Example:

 

SEND_COMMAND IR_1,"'XCHM-3'"

 

Sets the IR_1 device's extended channel command to mode 3.

 

Mode 0 Example (default): [x][x]<x><enter>

 

SEND_COMMAND IR_1,"'XCH-3'"

 

Transmits the IR code as 3-enter.

 

SEND_COMMAND IR_1,"'XCH-34'"

 

Transmits the IR code as 3-4-enter.

 

SEND_COMMAND IR_1,"'XCH-343'"

 

Transmits the IR code as 3-4-3-enter.

 

Mode 1 Example: <x> <x> <x> <enter>

 

SEND_COMMAND IR_1,"'XCH-3'"

 

Transmits the IR code as 0-0-3-enter.

 

SEND_COMMAND IR_1,"'XCH-34'"

 

Transmits the IR code as 0-3-4-enter.

 

SEND_COMMAND IR_1,"'XCH-343'"

 

Transmits the IR code as 3-4-3-enter.

 

 

20

NetLinx Cardframe, Control Cards, and NetModules - Operation Reference Guide

Page 26
Image 26
AMX nxc manual SET Mode, Xchm, Mode 1 Example x x x enter