AMX NXI IR / Serial Ports 8 - 15 Channels, IR/Serial SendCommands, IR / Serial Ports Channels

Models: NXI

1 28
Download 28 pages 35 Kb
Page 20
Image 20
IR / Serial Ports (8 - 15) Channels

Programming

IR / Serial Ports (8 - 15) Channels

IR / Serial Ports Channels

00001 - 00229

IR commands.

 

 

00229 - 00253

May be used for system call feedback.

 

 

00254

Power Fail. (Used with the 'PON' and 'POF' commands).

 

 

00255

Power status. (Shadows I/O Link channel status).

 

 

00256 - 65000

IR commands.

 

 

IR/Serial Send_Commands

The following IR and IR/Serial Send_Commands generate control signals for external equipment.

IR/Serial Send_Commands

CAROFF

Syntax:

Disables the carrier signal

SEND_COMMAND <DEV>,'CAROFF'

until a CARON command is

Example:

received.

SEND_COMMAND IR_1,'CAROFF'

 

 

Stops transmitting IR carrier signals to the IR_1 port.

 

 

CARON

Syntax:

Enables carrier signals

SEND_COMMAND <DEV>,'CARON'

(default setting).

Example:

 

 

SEND_COMMAND IR_1,'CARON'

 

Starts transmitting IR carrier signals to the IR_1 port.

 

 

CH

Syntax:

Sends IR pulses to select a

SEND_COMMAND <DEV>," 'CH',<Number>"

channel. All channels below

Variable:

100 are transmitted as two

Number = 0-199

digits. If the IR code for

Example:

ENTER (#21) is loaded, an

Enter will follow the number.

SEND_COMMAND IR_1," 'CH',18"

If the channel is greater than

The NXI performs the following:

or equal to 100, the IR func-

 

tion 127 is generated for the

• Transmits IR signals for 1 (IR code 11). The transmit time is set with the

one hundred digit.

CTON command.

 

• Waits until the time set with the CTOF command elapses.

 

• Transmits IR signals for 8 (IR code 18).

 

• Waits for the time set with the CTOF command elapses. If the IR code for

 

Enter (IR code 21) is programmed, the NXI performs steps 5 and 6.

 

• Transmits IR signals for Enter (IR code 21).

 

• Waits for the time set with the CTOF command elapses.

 

 

CP

Syntax:

Clears buffered IR com-

SEND_COMMAND <DEV>,"'CP',<Number>"

mands, and sends a single IR

Variable:

pulse. You can set the Pulse

Number = 1-252 and 256-65,000 (253-255 reserved)

and Wait times with the

 

CTON and CTOF commands.

Example:

 

SEND_COMMAND IR_1,"'CP',2"

 

Clears the active/buffered commands and pulses IR_1 port's channel 2.

 

 

16

NXI NetLinx Integrated Controller

Page 20
Image 20
AMX NXI manual IR / Serial Ports 8 - 15 Channels, IR/Serial SendCommands, IR / Serial Ports Channels, Programming