AMX NXI manual Pon, Ptof, Pton, SET IO Link, SET Mode

Page 22

Programming

IR/Serial Send_Commands (Cont.)

PON

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

Turns on a device, based on

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

device back on. If three attempts fail, card will continue executing commands in

input Link.

the buffer. If there are no commands in the buffer, the card will continue to try

 

 

until a 'POF' or 'POD' command is received. If it fails to turn the device on, 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>,'PON'

 

Example:

 

SEND_COMMAND IR_1,'PON'

 

Sends power up IR commands 27 or 9 to the IR_1 port.

 

 

PTOF

Syntax:

Sets the time between power

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

pulses in .10-second incre-

Variable:

ments, and is stored in per-

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

manent memory.

Example:

 

 

SEND_COMMAND IR_1," 'PTOF',15"

 

Sets the time between power pulses to 1.5 seconds for the IR_1 device.

 

 

PTON

Syntax:

Sets the duration of power

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

pulses in .10-second incre-

Variable:

ments. Time is stored in per-

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

manent memory.

Example:

 

 

SEND_COMMAND IR_1," 'PTON',15"

 

Sets the duration of the power pulse to 1.5 seconds for the IR_1 device.

 

 

SET IO LINK

The I/O status is automatically reported on channel 255 on the IR port.

Links an IR or Serial port to

Syntax:

an I/O channel for use with

SEND_COMMAND <DEV>,"'SET IO LINK <Number>'

DE, POD, PON and POF

Variable:

commands.

Number = 1-8; set the I/O channel to 0 to disable I/O link settings.

 

 

Example:

 

SEND_COMMAND IR_1," 'SET IO LINK 1'"

 

Sets the IR_1 port link to I/O channel 1. The IR port uses the specified I/O input

 

as power status for processing PON and POF commands.

 

 

SET MODE

Syntax:

Sets the IR/Serial ports for IR

SEND_COMMAND <DEV>, 'SET MODE <Mode>'

or Serial-controlled devices

Variable:

connected to a CardFrame or

NetModule.

Mode = IR or Serial

Example:

 

 

SEND_COMMAND IR_1, 'SET MODE IR'

 

Sets the IR_1 port to IR mode for IR control.

 

 

18

NXI NetLinx Integrated Controller

Image 22
Contents NXI AMX Limited Warranty and Disclaimer Table of Contents Table of Contents NXI NetLinx Integrated Controller Product Information Front and Rear Panel ComponentsPorts SpecificationsNXI Specifications Front panel componentsRear Panel Components Product Information NXI NetLinx Integrated Controller Relay Connections and Wiring Installing the Master or Hub CardRS-232/422/485 Wiring Specifications RS-232/422/485 Wiring SpecificationsIR/Serial Connector Wiring Specifications IR/Serial Connections and WiringInput/Output I/O Connections and Wiring Port Wiring SpecificationsStructure DEV Using the ID ButtonNumberportsystem Program Port Commands Program Port CommandsPC COM Port Communication Settings Command DescriptionProgram Info Reboot DPSSendcommand PulseESC Pass Codes Escape Pass CodesRS232/422/485 Ports Channels LED Disable/Enable SendCommandsLED SendCommands RS232/422/485 Ports ChannelsRS-232/422/485 SendCommands RS-232/422/485 SendCommandsHsoff SET BaudTset Baud HsonXoff RxonTxclr XONRS-232/422/485 SendString Escape Sequences RS-232/422/485 SendString Escape SequencesIR / Serial Ports 8 15 Channels IR/Serial SendCommandsIR/Serial SendCommands IR / Serial Ports ChannelsCton GET ModeCtof IroffPtof SET ModePON PtonSendcommand DEV, SP,IR OUT Sendcommand IR1, SP,25Xchm XCHZAP LOW Input/Output SendCommandsZAP High GET InputProgramming NXI NetLinx Integrated Controller Programming Enter the Document Name Here It’s Your World Take Control