AMX MAX-CSD10, MAX-CSE manual RS-232/422/485Send_Commands Port, NetLinx Programming

Models: MAX-CSD10 MAX-CSE

1 116
Download 116 pages 15.94 Kb
Page 101
Image 101
RS-232/422/485 Send_Commands (Port 2)

NetLinx Programming

RS-232/422/485 Send_Commands (Port 2)

The serial port is located at Port 2 in NetLinx D:P:S nomenclature. The serial port supports the following commands and escape sequences. 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/data port to the last programmed parameters. This

parameters for stop and data

command works in conjunction with the 'B9MON' command.

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'"

port to 9 data bits with one

Example:

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.

 

 

MAX-CSE/MAX-CSD10 Operation/Reference Guide

95

 

 

Page 101
Image 101
AMX manual RS-232/422/485Send_Commands Port, NetLinx Programming, MAX-CSE/MAX-CSD10Operation/Reference Guide