Nxc-com2 programming information, Nxc-com2 send_commands – AMX NetLinx NXM Series User Manual

Page 15

Advertising
background image

NXC-COM2 Dual COM Port Control Card

9

NetLinx Cardframe, Control Cards, and NetModules

NXC-COM2 Programming Information

NXC-COM2 Send_Commands

NXC-COM2 Send_Commands

Command

Description

B9MOFF
Disable 9-bit in 232/422/
455 mode.

This command works in conjunction with the B9MON command.
Syntax:

SEND_COMMAND <DEV>,"'B9MOFF'"

Example:

SEND_COMMAND SOMEDEVICE_1,"'B9MOFF'"

Sets the port settings on SOMEDEVICE to match the port's configuration settings.

B9MON
Enable 9-bit in
232/422/455 mode.

This command works in conjunction with the B9MOFF command.
Syntax:

SEND_COMMAND <DEV>,"'B9MON'"

Example:

SEND_COMMAND SOMEDEVICE_1,"'B9MON'"

Resets the SOMEDEVICE port's communication parameters to nine data bits and
one stop bit.

CHARD
Set the delay time
between all transmitted
characters to the value
specified (in 100
microsecond increments).

Syntax:

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

Variable:

time:

0 - 255. Measured in 100 microsecond increments.

Example:

SEND_COMMAND RS232_1,"'CHARD10'"

Sets a 1-millisecond delay between all transmitted characters.

CHARDM
Set the delay time
between all transmitted
characters to the value
specified (in 1 millisecond
increments).

Syntax:

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

Variable:

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

Example:

SEND_COMMAND RS232_1,"'CHARDM10'"

Sets a 10-millisecond delay between all transmitted characters.

CTSPSH
Enable Pushes, Releases,
and status information to
be reported via channel
255 using the CTS
hardware handshake
input.

If Clear To Send (CTS) is high, the channel is On.
Syntax:

SEND_COMMAND <DEV>,"'CTSPSH'"

Example:

SEND_COMMAND RS232_1,"'CTSPSH'"

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

CTSPSH OFF
Disable Pushes,
Releases, and Status
information to be reported
via channel 255.

Turns CTSPSH Off. If Clear To Send (CTS) is high, the channel is on.
Syntax:

SEND_COMMAND <DEV>,"'CTSPSH OFF'"

Example:

SEND_COMMAND RS232_1,"'CTSPSH OFF'"

Turns off CTSPSH for the specified device. Disables the RS232_1 port to detect
changes on the CTS input.

Advertising