AMX NXI manual IR/Serial SendCommands Cont, Programming, Ptof, Pton, Set Io Link, Set Mode

Models: NXI

1 28
Download 28 pages 35 Kb
Page 22
Image 22
PTOF

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

Page 22
Image 22
AMX IR/Serial SendCommands Cont, Programming, Ptof, Pton, Set Io Link, Set Mode, NXI NetLinx Integrated Controller