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

Page 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

Image 26
Contents NetLinx Cardframe Control Cards NetModules Operation/Reference GuideAMX Limited Warranty and Disclaimer Table of Contents NXC-I/O10 Input/Output Control Card NXC-VOL4 Volume Control Card Page NXF CardFrame and NetModules NXF Cardframe SpecificationsNXF Cardframe Specifications OverviewPosition Rear Panel Components+12 VDC PWR Number NXS-NMS NetModules SpecificationsNXS-NMS NetModules PortMounting modules into an equipment rack NXC-COM2 Dual COM Port Control Card SpecificationsNXC-COM2 Specifications DeviceidNXC-COM2 Programming Information Pinouts and Wiring ConfigurationNXC-COM2 Channel Assignment Ctspsh ChardChardm GET BaudRxoff HsonRxclr RxonXoff NXC-COM2 SendString Escape SequencesTxclr XON27,19,time Command Description 27,18,027,18,1 27,20,0NXC-I/O10 Specifications NXC-I/O10 Input/Output Control CardNXC-I/O10 Pinouts, Signals, and I/O Mode Functions Pinouts, Signals, and I/O Mode FunctionsSetting the Switch/Voltage Mode Jumpers NXC-I/O10 Channel AssignmentsOpen mode setting Setting the Voltage Clamp Jumper +12V or Open+12 V mode setting default Page NXC-IRS4 Specifications NXC-IRS4 4-Port IR/S Control CardProgramming Information Pinouts, Signals, and FunctionsNXC-IRS4 Channel Assignments Ctof CtonPOD GET ModeIroff POFSET Input Link PtofPton SET IO LinkXCH SET ModeMode 1 Example x x x enter XchmCommand Description Xchm Mode 3 Example 100100… xPage Pinouts and Functions NXC-REL10 SpecificationsNXC-REL10 Relay Control Card NXC-REL10 Channel AssignmentsNXC-REL10 Connections/Wiring No Normally openIref NXC-VAI4 SpecificationsNXC-VAI4 Analog Voltage Control Card NXC-VAI4 Channel Assignments NXC-VAI4 Pinouts, Signals, and FunctionsChannel Assignments Channel State FunctionStops voltage ramping on Output 4 at current value Level Description NXC-VAI4 Output Level AssignmentsNXC-VAI4 Output Level Assignments NXC-VAI4 Input Level Assignments NXC-VAI4 SendCommandsNXC-VAI4 Input Level Assignments Levoff LevonCurve RateLevel Value Functions. Negative voltages are not valid for Inputs Page NXC-VOL4 Volume Control Card NXC-VOL4 SpecificationsAudio Channel Gain Ratio Jumper Settings NXC-VOL4 Connections/WiringNXC-VOL4 Pinouts, Signals, and Functions NXC-VOL4 Channel Assignments per port NXC-VOL4 Channel AssignmentsNXC-VOL4 Levels NXC-VOL4 LevelsNXC-VOL4 SendCommands SendlevelPage It’s Your World Take Control