Programming

RS-232/422/485 Send_String Escape Sequences (Cont.)

Command

Description

 

 

27,20,1

Syntax:

Set the RTS hardware

SEND_STRING <DEV>,"27,20,1"

handshake's output to

Example:

low/inactive (< 3V).

SEND_STRING RS232_1,"27,20,1"

 

Sets the RTS hardware handshake's output to low on the RS232_1 device.

 

 

IR / Serial Ports Channels

IR / Serial Ports Channels

00001 - 00229

IR commands.

 

 

00229 - 00253

May be used for system call feedback.

 

 

00254

Power Fail. (Used w/ 'PON' and 'POF' commands).

 

 

00255

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

 

 

IR ports - Ports 9 - 16 (NI-4X000/3X00) and Ports 5 - 8 (NI-2X00).

The NI series of NetLinx Masters support Serial control via the IR port when using firmware version 300 or greater.

IR/Serial Send_Commands

The following IR and IR/Serial Send_Commands generate control signals for external equipment. In these examples: <DEV> = device.

IR/Serial Send_Commands

Command

Description

 

 

CAROFF

Syntax:

Disable the IR 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:

Enable the IR carrier signals

SEND_COMMAND <DEV>,"'CARON'"

(default).

Example:

 

SEND_COMMAND IR_1,"'CARON'"

 

Starts transmitting IR carrier signals to the IR_1 port.

 

 

136

NI-3101-SIG Signature Series NetLinx Integrated Controller

Page 146
Image 146
AMX NI-3101-SIG manual IR / Serial Ports Channels, IR/Serial SendCommands