Nxc-Com2 Programming Information; Nxc-Com2 Send_Commands; B9Moff; B9Mon - AMX NetLinx NXC Series Operation/Reference Manual

Netlinx cardframe, control cards, and netmodules
Hide thumbs Also See for NetLinx NXC Series:
Table of Contents

Advertisement

NXC-COM2 Programming Information

NXC-COM2 Send_Commands

NXC-COM2 Send_Commands
Command

B9MOFF

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

B9MON

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

CHARD

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

CHARDM

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

CTSPSH

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

CTSPSH OFF

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

GET BAUD

Get the RS-232/422/485
port's current
communication
parameters.
NetLinx Cardframe, Control Cards, and NetModules
Description
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.
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.
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.
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.
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.
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.
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>
NXC-COM2 Dual COM Port Control Card
9

Advertisement

Table of Contents
loading

Table of Contents