AMX NXI manual RS-232/422/485 SendString Escape Sequences, Programming

Models: NXI

1 28
Download 28 pages 35 Kb
Page 19
Image 19
RS-232/422/485 Send_String Escape Sequences

Programming

RS-232/422/485 Send_String Escape Sequences

RS-232/422/485 Send_String Escape Sequences

27,17,

Syntax:

Sends device-specific break

SEND_STRING <DEV>,"27,17,<Time>"

characters for a specified

Variable:

duration.

Time = 1-255 in 100 microsecond increments

 

 

Example:

 

SEND_STRING RS232_1,"27,17,10"

 

Sends a break character of 1 millisecond to the RS232_1 device.

 

 

27,18,1

You can use this escape sequence with the B9MON command.

Sets the ninth data bit to 1 on

Syntax:

all character transmissions.

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

 

 

Example:

 

SEND_STRING RS232_1,"27,18,1"

 

Sets the RS232_1 device's ninth data bit to 1 on all character transmissions.

 

 

27,18,0

You can use this escape sequence with the B9MON command.

Sets the ninth data bit to 0 on

Syntax:

all character transmissions.

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

 

 

Example:

 

SEND_STRING RS232_1,"27,18,0"

 

Sets the RS232_1 devices ninth data bit to 0 on all character transmissions.

 

 

27,19,

Syntax:

Inserts time delays before

SEND_STRING <DEV>,"27,19,<Time>"

transmitting the next charac-

Variable:

ter.

Time = 1-255 in 1 millisecond increments

 

 

Example:

 

SEND_STRING RS232_1,"27,19,10"

 

Inserts a 10 millisecond delay before transmitting characters to the RS232_1

 

device.

 

 

27,20,0

Syntax:

Sets the RTS hardware

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

handshaking output to

Example:

Low/Inactive.

SEND_STRING RS232_1,"27,20,0"

 

 

Sets the RTS hardware handshaking output to Low on the RS232_1 device.

 

 

27,20,1

Syntax:

Sets the RTS hardware

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

handshaking output to

Example:

High/Active.

SEND_STRING RS232_1,"27,20,1"

 

 

Sets the RTS hardware handshaking output to High on the RS232_1 device.

 

 

NXI NetLinx Integrated Controller

15

 

 

Page 19
Image 19
AMX manual RS-232/422/485 SendString Escape Sequences, Programming, NXI NetLinx Integrated Controller