AMX NI-3101-SIG manual GET Mode, Port 4 IR,CARRIER,IO Link, Iroff, Pod, Pof

Models: NI-3101-SIG

1 156
Download 156 pages 26.56 Kb
Page 148
Image 148

Programming

IR/Serial Send_Commands (Cont.)

Command

Description

 

 

GET BAUD

The port sends the parameters to the device that requested the information.

Get the IR port’s current

Only valid if the port is in Data Mode (see SET MODE command).

DATA mode communication

The port responds with:

parameters.

<port #> <baud>,<parity>,<data bits>,<stop bits>

 

Syntax:

 

SEND_COMMAND <DEV>,"'GET BAUD'"

 

Example:

 

SEND_COMMAND IR_1,"'GET BAUD'"

 

System response example:

 

PORT 9 IR,CARRIER,IO LINK 0

 

 

GET MODE

The port responds with: <port #> <mode>,<carrier>,<io link channel>.

Poll the IR/Serial port's

Syntax:

configuration parameters and

SEND_COMMAND <DEV>,"'GET MODE'"

report the active mode

Example:

settings to the device

SEND_COMMAND IR_1,"'GET MODE"

requesting the information.

The system could respond with:

 

 

PORT 4 IR,CARRIER,IO LINK 0

 

 

IROFF

Syntax:

Halt and Clear all active or

SEND_COMMAND <DEV>,"'IROFF'"

buffered IR commands being

Example:

output on the designated

SEND_COMMAND IR_1,"'IROFF"

port.

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

Disable previously active

the I/O Link command.

'PON' (power on) or 'POF'

Syntax:

(power off) command

SEND_COMMAND <DEV>,"'POD'"

settings.

Example:

 

SEND_COMMAND IR_1,"'POD"

 

Disables the 'PON' and 'POF' command settings on the IR_1 device.

 

 

POF

If at any time the IR sensor input reads that the device is ON (such as if

Turn Off a device connected

someone turned it on manually at the front panel), IR function 28 (if available)

to an IR port based on the

or IR function 9 is automatically generated in an attempt to turn the device back

status of the corresponding

OFF. If three attempts fail, the IR port will continue executing commands in the

I/O Link input.

buffer.

 

If there are no commands in the buffer, the IR port will continue executing

 

commands in the buffer and trying to turn the device OFF until a 'PON' or 'POD'

 

command is received. If the IR port fails to turn the device OFF, a PUSH and

 

RELEASE is made on channel 254 to indicate a power failure error. You can

 

only use the 'PON' and 'POF' commands when an IR device has a linked

 

I/O channel. 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.

 

 

138

NI-3101-SIG Signature Series NetLinx Integrated Controller

Page 148
Image 148
AMX NI-3101-SIG manual GET Mode, Port 4 IR,CARRIER,IO Link, Iroff, Pod, Pof