Programming

RS-232/422/485 Send_Commands

In these examples: <DEV> = device.

RS-232/422/485 Send_Commands

Command

Description

 

 

B9MOFF

Disables 9-bit in 232/422/455 mode. By default, this returns the communication

Set the port's communication

settings on the serial port to the last programmed parameters. This command

works in conjunction with the 'B9MON' command.

parameters for stop and data

Syntax:

bits according to the software

settings on the RS-232 port

SEND_COMMAND <DEV>,"'B9MOFF'"

(default).

Example:

 

 

SEND_COMMAND RS232_1,"'B9MOFF'"

 

Sets the RS-232 port settings to match the port's configuration settings.

 

 

B9MON

Enables 9-bit in 232/422/455 mode. This command works in conjunction with

Override and set the current

the 'B9MOFF' command.

Syntax:

communication settings and

parameters on the RS-232

SEND_COMMAND <DEV>,"'B9MON'"

serial port to 9 data bits with

Example:

one stop bit.

 

 

SEND_COMMAND RS232_1,"'B9MON'"

 

Resets the RS-232 port's communication parameters to nine data bits, one

 

stop bit, and locks-in the baud rate.

 

 

CHARD

Syntax:

Set the delay time between

SEND_COMMAND <DEV>,"'CHARD-<time>'"

all transmitted characters to

Variable:

the value specified (in 100

time = 0 - 255. Measured in 100 microsecond increments.

Microsecond increments).

Example:

 

 

SEND_COMMAND RS232_1,"'CHARD-10'"

 

Sets a 1-millisecond delay between all transmitted characters.

 

 

CHARDM

Syntax:

Set the delay time between

SEND_COMMAND <DEV>,"'CHARDM-<time>'"

all transmitted characters to

Variable:

the value specified

time = 0 - 255. Measured in 1 millisecond increments.

(in 1 Millisecond increments).

Example:

 

 

SEND_COMMAND RS232_1,"'CHARDM-10'"

 

Sets a 10-millisecond delay between all transmitted characters.

 

 

CTSPSH

This command turns On (enables) channel tracking of the handshaking pins. If

Enable Pushes, Releases,

Clear To Send (CTS) is set high, then channel 255 is On.

Syntax:

and Status information to be

reported via channel 255

SEND_COMMAND <DEV>,"'CTSPSH'"

using the CTS hardware

Example:

handshake input.

 

 

SEND_COMMAND RS232_1,"'CTSPSH'"

 

Sets the RS232_1 port to detect changes on the CTS input.

 

 

CTSPSH OFF

This command disables tracking. Turns CTSPSH Off.

Disable Pushes, Releases,

Syntax:

and Status information to be

SEND_COMMAND <DEV>,"'CTSPSH OFF'"

reported via channel 255.

Example:

 

 

SEND_COMMAND RS232_1,"'CTSPSH OFF'"

 

Turns off CTSPSH for the specified device.

 

 

NI-3101-SIG Signature Series NetLinx Integrated Controller

155

 

 

Page 161
Image 161
AMX NI-3101-SIG manual RS-232/422/485 SendCommands, These examples DEV = device