AMX NI-3000, NI-4000, NI-2000 IR/Serial SendCommands Cont, Sendcommand Dev, Get Mode

Models: NI-2000 NI-4000 NI-3000

1 134
Download 134 pages 57.78 Kb
Page 126
Image 126
SEND_COMMAND <DEV>, 'GET MODE'

Programming

IR/Serial Send_Commands (Cont.)

GET MODE

Syntax:

Polls the IR/Serial ports and

SEND_COMMAND <DEV>, 'GET MODE'

reports the active mode

Example:

settings to the device

SEND_COMMAND IR_1,'GET MODE'

requesting 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)

Syntax:

command 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

input Link.

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

 

 

continue 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.

 

 

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.

 

120

NetLinx Integrated Controllers

 

 

 

Page 126
Image 126
AMX NI-3000, NI-4000, NI-2000 instruction manual IR/Serial SendCommands Cont, Sendcommand Dev, Get Mode