Programming

RS-232/422/485 Send_Commands

RS-232/422/485 Send_Commands

B9MOFF

This command works in conjunction with the B9MON command.

Sets the port's communica-

Syntax:

tion parameters for stop and

SEND_COMMAND <DEV>,'B9MOFF'

data bits according to the

Example:

software settings on the RS-

 

232 port (default).

SEND_COMMAND RS232_1,'B9MOFF'

 

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

 

 

B9MON

This command works in conjunction with the B9MOFF command.

Overrides and sets the com-

Syntax:

munication settings on the

SEND_COMMAND <DEV>,'B9MON'

RS-232 port to nine data bits

Example:

and 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:

Sets the delay time between

SEND_COMMAND <DEV>,'CHARD<Time>'

transmitted characters in 100

Variable:

microsecond increments.

Time: 0-255 in 100 microsecond increments

 

 

Example:

 

SEND_COMMAND RS232_1,'CHARD10'

 

Sets a 1mS delay between all transmitted characters.

 

 

CHARDM

Syntax:

Sets the delay time between

SEND_COMMAND <DEV>,'CHARDM<Time>'

transmitted characters in 1

Variable:

millisecond increments.

Time: 0-255 in 1 millisecond increments

 

 

Example:

 

SEND_COMMAND RS232_1,'CHARDM10'

 

Sets a 10 mS delay between all transmitted characters.

 

 

CTSPSH

If Clear To Send (CTS) is high, the channel is on.

Enables Pushes, Releases,

Syntax:

and status information to be

SEND_COMMAND <DEV>,'CTSPSH'

reported via channel 255.

Example:

 

 

SEND_COMMAND RS232_1,'CTSPSH'

 

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

 

 

CTSPSH OFF

Turns CTSPSH off.

Disables 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 on the specified device.

 

 

12

NXI NetLinx Integrated Controller

Page 16
Image 16
AMX NXI manual RS-232/422/485 SendCommands