![background image](http://html1.mh-extra.com/html/amx/netlinx-nxc-com2/netlinx-nxc-com2_operation-reference-manual_2937873017.webp)
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.
GET BAUD
Get the RS-232/422/485
port’s current
communication
parameters.
Device sends the response out the Master program port.
Syntax:
SEND_COMMAND <DEV>,"'GET BAUD'"
Example:
SEND_COMMAND RS232_1,"'GET BAUD'"
Device responds with:
<port #>,<baud>,<parity>,<data>,<stop> 485 <ENABLED | DISABLED>
Summary of Contents for NetLinx NXC-COM2
Page 4: ......
Page 8: ...iv NetLinx Cardframe Control Cards and NetModules Table of Contents...
Page 14: ...NXF CardFrame and NetModules 6 NetLinx Cardframe Control Cards and NetModules...
Page 24: ...NXC I O10 Input Output Control Card 16 NetLinx Cardframe Control Cards and NetModules...
Page 32: ...NXC IRS4 4 Port IR S Control Card 24 NetLinx Cardframe Control Cards and NetModules...
Page 49: ...NXC VOL4 Volume Control Card 41 Enter the Document Name Here...