AMX nxc manual Ctof, Cton

Page 23

 

NXC-IRS4 4-Port IR/S Control Card

 

NXC-IRS4 Send_Commands (Cont.)

 

 

Command

Description

 

 

CH

Send IR pulses for the selected a channel. All channels below 100 are transmitted as two digits. If the

 

IR code for ENTER (function #21) is loaded, an Enter will follow the number. If the channel is greater

 

than or equal to (>=) 100, then IR function 127 or 20 (whichever exists) is generated for the one

 

hundred digit. Uses 'CTON' and 'CTOF' times for pulse times.

 

Syntax:

 

SEND_COMMAND <DEV>,"'CH',<Number>"

 

Variable:

 

channel number = 0 - 199.

 

Example:

 

SEND_COMMAND IR_1,"'CH',18"

 

The NXC-IRS4 performs the following:

 

• Transmits IR signals for 1 (IR code 11). The transmit time is set with the CTON command.

 

• Waits until the time set with the CTOF command elapses.

 

• Transmits IR signals for 8 (IR code 18).

 

• Waits for the time set with the CTOF command elapses. If the IR code for Enter (IR code 21) is

 

programmed, the IRS4 performs the following steps.

 

• Transmits IR signals for Enter (IR code 21).

 

Waits for the time set with the CTOF command elapses.

 

 

CP

Halt and Clear all active or buffered IR commands, and then send a single IR pulse. You can set the

 

Pulse and Wait times with the 'CTON' and 'CTOF' commands.

 

Syntax:

 

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

 

Variable:

 

code = IR port's channel value 0 - 252 (253 - 255 reserved).

 

Example:

 

SEND_COMMAND IR_1,"'CP',2"

 

Clears the active/buffered commands and pulses IR_1 port's channel 2.

 

 

CTOF

Set the duration of the Off time (no signal) between IR pulses for channel and IR function

 

transmissions. Off time settings are stored in non-volatile memory. This command sets the delay time

 

between pulses generated by the 'CH' or 'XCH' send commands in tenths of seconds.

 

Syntax:

 

SEND_COMMAND <DEV>,"'CTOF',<time>"

 

Variable:

 

time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).

 

Example:

 

SEND_COMMAND IR_1,"'CTOF',10"

 

Sets the Off time between each IR pulse to 1 second.

 

 

CTON

Set the total time of IR pulses transmitted and is stored in non-volatile memory. This command sets

 

the pulse length for each pulse generated by the 'CH' or 'XCH' send commands in tenths of seconds.

 

Syntax:

 

SEND_COMMAND <DEV>,"'CTON',<time>"

 

Variable:

 

time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).

 

Example:

 

SEND_COMMAND IR_1,"'CTON',20"

 

Sets the IR pulse duration to 2 seconds.

 

 

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

17

 

 

Image 23
Contents Operation/Reference Guide NetLinx Cardframe Control Cards NetModulesAMX Limited Warranty and Disclaimer Table of Contents NXC-I/O10 Input/Output Control Card NXC-VOL4 Volume Control Card Page Overview NXF Cardframe SpecificationsNXF Cardframe Specifications NXF CardFrame and NetModulesPosition Rear Panel Components+12 VDC PWR Port NXS-NMS NetModules SpecificationsNXS-NMS NetModules NumberMounting modules into an equipment rack Deviceid SpecificationsNXC-COM2 Specifications NXC-COM2 Dual COM Port Control CardNXC-COM2 Programming Information Pinouts and Wiring ConfigurationNXC-COM2 Channel Assignment GET Baud ChardChardm CtspshRxon HsonRxclr RxoffXON NXC-COM2 SendString Escape SequencesTxclr Xoff27,20,0 Command Description 27,18,027,18,1 27,19,timeNXC-I/O10 Input/Output Control Card NXC-I/O10 SpecificationsNXC-I/O10 Channel Assignments Pinouts, Signals, and I/O Mode FunctionsSetting the Switch/Voltage Mode Jumpers NXC-I/O10 Pinouts, Signals, and I/O Mode FunctionsOpen mode setting Setting the Voltage Clamp Jumper +12V or Open+12 V mode setting default Page NXC-IRS4 4-Port IR/S Control Card NXC-IRS4 SpecificationsProgramming Information Pinouts, Signals, and FunctionsNXC-IRS4 Channel Assignments Cton CtofPOF GET ModeIroff PODSET IO Link PtofPton SET Input LinkXchm SET ModeMode 1 Example x x x enter XCHMode 3 Example 100100… x Command Description XchmPage NXC-REL10 Channel Assignments NXC-REL10 SpecificationsNXC-REL10 Relay Control Card Pinouts and FunctionsNo Normally open NXC-REL10 Connections/WiringIref NXC-VAI4 SpecificationsNXC-VAI4 Analog Voltage Control Card Channel State Function NXC-VAI4 Pinouts, Signals, and FunctionsChannel Assignments NXC-VAI4 Channel AssignmentsStops 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 Levon LevoffRate CurveLevel Value Functions. Negative voltages are not valid for Inputs Page NXC-VOL4 Specifications NXC-VOL4 Volume Control CardAudio Channel Gain Ratio Jumper Settings NXC-VOL4 Connections/WiringNXC-VOL4 Pinouts, Signals, and Functions NXC-VOL4 Levels NXC-VOL4 Channel AssignmentsNXC-VOL4 Levels NXC-VOL4 Channel Assignments per portSendlevel NXC-VOL4 SendCommandsPage It’s Your World Take Control