AMX NetLinx NXM Series Operation/Reference Manual page 16

Cardframe, control cards, and netmodules
Hide thumbs Also See for NetLinx NXM Series:
Table of Contents

Advertisement

NXC-COM2 Dual COM Port Control Card
NXC-COM2 Send_Commands (Cont.)
Command
GET BAUD
Get the RS-232/422/485
port's current
communication
parameters.
HSOFF
Disable hardware
handshaking (default).
HSON
Enable RTS (ready-to-
send) and CTS (clear-to-
send) hardware
handshaking.
RXCLR
Clear all characters in the
receive buffer waiting to be
sent to the Master.
RXOFF
Disable the transmission
of incoming received
characters to the Master
(default).
RXON
Start transmitting received
characters to the Master
(default).
10
Description
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>
Syntax:
SEND_COMMAND <DEV>,"'HSOFF'"
Example:
SEND_COMMAND RS232_1,"'HSOFF'"
Disables hardware handshaking on the RS232_1 device.
Syntax:
SEND_COMMAND <DEV>,"'HSON'"
Example:
SEND_COMMAND RS232_1,"'HSON'"
Enables hardware handshaking on the RS232_1 device.
Syntax:
SEND_COMMAND <DEV>,"'RXCLR'"
Example:
SEND_COMMAND RS232_1,"'RXCLR'"
Clears all characters in the receive buffer waiting to be sent to the Master.
Syntax:
SEND_COMMAND <DEV>,"'RXOFF'"
Example:
SEND_COMMAND RS232_1,"'RXOFF'"
Disable the transmission of incoming received characters to the Master (default).
Enables sending incoming received characters to the Master. This command is
automatically sent by the Master when a 'CREATE_BUFFER' program instruction
is executed.
Syntax:
SEND_COMMAND <DEV>,"'RXON'"
Example:
SEND_COMMAND RS232_1,"'RXON'"
Stops the RS232_1 device from transmitting received characters to the Master.
NetLinx Cardframe, Control Cards, and NetModules

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents