AMX NXI manual Ctof, Cton, GET Mode, Iroff, Pod, Pof

Page 21

 

Programming

 

IR/Serial Send_Commands (Cont.)

 

 

CTOF

This command is associated with the SP (single pulse) and CP (clear pulse)

Sets the duration of off time

commands.

Syntax:

(no signal) between IR pulses

for channel and IR function

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

transmissions. Off time set-

Variable:

tings are stored in non-vola-

 

tile memory. The factory

Time = 0-255 in tenths of a second increments

default for channel off time is

Example:

5 (.5 second).

SEND_COMMAND IR_1,"'CTOF',10"

 

 

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

 

 

CTON

Syntax:

Sets the total time of IR

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

pulses transmitted, and is

Variable:

stored in non-volatile mem-

Time = 0-255 in tenths of a second increments; default = 5 (.5 second).

ory.

Example:

 

 

SEND_COMMAND IR_1,"'CTON',20"

 

Sets the IR pulse duration to 2 seconds.

 

 

GET MODE

Syntax:

Polls the IR/Serial ports and

SEND_COMMAND <DEV>, 'GET MODE'

reports the active mode set-

Example:

tings to the device request-

SEND_COMMAND IR_1,'GET MODE'

ing the information.

 

System response example:

 

PORT 4 IR,CARRIER,IO LINK 0

 

 

IROFF

Syntax:

Halts and clears all IR output

SEND_COMMAND <DEV>,'IROFF'

on the designated port.

Example:

 

 

SEND_COMMAND IR_1,'IROFF'

 

Immediately halts and clears all IR output signals on the IR_1 port.

 

 

POD

Channel 255 changes are enabled. This command is used in conjunction with

Disables active PON (power

the I/O Link command.

 

on) or POF (power off) com-

Syntax:

mand settings.

SEND_COMMAND <DEV>,'POD'

 

 

Example:

 

SEND_COMMAND IR_1,'POD'

 

Disables PON and POF command settings on the IR_1 device.

 

 

POF

If at any time the IR sensor reads that the device is on (such as if one turned it

Turns off a device, based on

on manually at the front panel), the card automatically attempts to turn the

device back off. If three attempts fail, the card will continue executing com-

input Link.

mands in the buffer. If there are no commands in the buffer, the card will con-

 

 

tinue to try until a 'PON' or 'POD' command is received. If it fails to turn the

 

device off, a PUSH and RELEASE is made on channel 254 to indicate a power

 

failure error.

 

Channel 255 changes are disabled after receipt of this command.

 

You can only use the PON and POF commands when an IR device has a

 

linked I/O channel.

 

Syntax:

 

SEND_COMMAND <DEV>,'POF'

 

Example:

 

SEND_COMMAND IR_1,'POF'

 

Sends power down IR commands 28 (if present) or 9 to the IR_1 device.

 

 

NXI NetLinx Integrated Controller

17

 

 

Image 21
Contents NXI AMX Limited Warranty and Disclaimer Table of Contents Table of Contents NXI NetLinx Integrated Controller Front and Rear Panel Components Product InformationNXI Specifications SpecificationsPorts Front panel componentsRear Panel Components Product Information NXI NetLinx Integrated Controller RS-232/422/485 Wiring Specifications Installing the Master or Hub CardRelay Connections and Wiring RS-232/422/485 Wiring SpecificationsInput/Output I/O Connections and Wiring IR/Serial Connections and WiringIR/Serial Connector Wiring Specifications Port Wiring SpecificationsUsing the ID Button Structure DEVNumberportsystem PC COM Port Communication Settings Program Port CommandsProgram Port Commands Command DescriptionSendcommand Reboot DPSProgram Info PulseEscape Pass Codes ESC Pass CodesLED SendCommands LED Disable/Enable SendCommandsRS232/422/485 Ports Channels RS232/422/485 Ports ChannelsRS-232/422/485 SendCommands RS-232/422/485 SendCommandsTset Baud SET BaudHsoff HsonTxclr RxonXoff XONRS-232/422/485 SendString Escape Sequences RS-232/422/485 SendString Escape SequencesIR/Serial SendCommands IR/Serial SendCommandsIR / Serial Ports 8 15 Channels IR / Serial Ports ChannelsCtof GET ModeCton IroffPON SET ModePtof PtonSendcommand IR1, SP,25 Sendcommand DEV, SP,IR OUTXCH XchmZAP High Input/Output SendCommandsZAP LOW GET InputProgramming NXI NetLinx Integrated Controller Programming Enter the Document Name Here It’s Your World Take Control