AMX NI-4000 IR / Serial Ports Channels, IR RX Port Channels, IR/Serial SendCommands, Programming

Models: NI-2000 NI-4000 NI-3000

1 134
Download 134 pages 57.78 Kb
Page 124
Image 124
RS-232/422/485 Send_String Escape Sequences (Cont.)

Programming

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

27,20,0

Syntax:

Sets the RTS hardware

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

handshake's output to high.

Example:

 

 

SEND_STRING RS232_1,"27,20,0"

 

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

 

 

27,20,1

Syntax:

Sets the RTS hardware

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

handshake's output to low.

Example:

 

 

SEND_STRING RS232_1,"27,20,1"

 

Sets the RTS hardware handshake's output 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 with the 'PON' and 'POF' commands).

 

 

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

 

 

IR RX Port Channels

IR / Serial Ports Channels

00001 - 00255

PUSH and RELEASE channels for the received IR code

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.

 

118

NetLinx Integrated Controllers

 

 

 

Page 124
Image 124
AMX NI-4000 IR / Serial Ports Channels, IR RX Port Channels, IR/Serial SendCommands, Programming, 27,20,0, 27,20,1, 00001