Installation Guide
NXC-COM2 Dual COM Port Card, 2 RS-232/422/485
NetLinx Control Cards and NetModules
NetLinx Control Cards can be installed in either the NXF CardFrame,
ICSNET Status LED
LED 1
LED 4
FIG. 1 NXC-COM2 Dual COM Port Control card
NXC-COM2 Specifications
The
NXC-COM2 (FG 2022) Specifications
Power Requirements: | 140 mA @ 12 VDC |
|
|
Operation: | Data |
| XON/XOFF, CTS/RTS |
|
|
Status LEDs | • Red LEDs show TX (transmit) data activity |
(2 per channel): | • Yellow LEDs show RX (receive) data activity |
| |
| - LED 1: CH1 TX (red) |
| - LED 2: CH1 RX (yellow) |
| - LED 3: CH2 TX (red) |
| - LED 4: CH2 RX (yellow) |
| • Green ICSP status LED (located on the board): |
| - On = card is not in communication with the Master. |
| - Blinks |
|
|
Connections/wiring: | Two |
|
|
DEVICE_ID: | $0107 |
|
|
NXC-COM2 Pinouts and Wiring Information:
|
| |||||||
|
|
|
|
|
|
|
|
|
Pin | Signal | Function |
|
|
| |||
|
|
|
|
|
|
|
|
|
1 | GND | Signal ground | X | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
2 | RXD1 | Receive data | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 | TXD1 | Transmit data | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 | CTS1 | Clear to send | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 | RTS1 | Request to send | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 | TX1+ | Transmit data |
| X | X (strap to pin 8) |
|
|
|
|
|
|
|
|
|
|
|
|
7 | TX1- | Transmit data |
| X | X (strap to pin 9) |
| ||
|
|
|
|
|
|
|
|
|
8 | RX1+ | Receive data |
| X | X (strap to pin 6) |
| ||
|
|
|
|
|
|
|
|
|
9 | RX1- | Receive data |
| X | X (strap to pin 7) | |||
|
|
|
|
|
|
|
|
|
10 | +12 VDC | Power | Optional | Optional |
|
|
|
|
|
|
|
|
|
|
|
|
|
11 | GND | Signal ground | X | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 | RXD2 | Receive data | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 | TXD2 | Transmit data | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 | CTS2 | Clear to send | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 | RTS2 | Request to send | X |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 | TX2+ | Transmit data |
| X | X (strap to pin 18) |
|
| |
|
| |||||||
|
|
|
|
|
|
|
|
|
17 | TX2- | Transmit data |
| X | X (strap to pin 19) |
|
| |
|
|
| ||||||
|
|
|
|
|
|
|
|
|
18 | RX2+ | Receive data |
| X | X (strap to pin 16) |
|
| |
|
|
| ||||||
|
|
|
|
|
|
|
|
|
19 | RX2- | Receive data |
| X | X (strap to pin 17) |
| ||
|
| |||||||
|
|
|
|
|
|
|
|
|
20 | +12 VDC | Power | Optional | Optional |
|
|
|
|
|
|
|
|
|
|
|
|
|
NXC-COM2 Channel Assignment:
Channel 255 is the CTS (Clear To Send) push channel. It reflects the state of the CTS input if a 'CTSPSH' command was sent to the device.
NXC-COM2 Programming Information:
NXC-COM2 Send_Commands
B9MOFF | Syntax: | |
Disable | SEND_COMMAND <DEV>,"'B9MOFF'" | |
232/422/455 mode. | Example: | |
This command works in | SEND_COMMAND SOMEDEVICE_1,"'B9MOFF'" | |
conjunction with the | Sets the port settings on SOMEDEVICE to match the port's | |
B9MON command. | configuration settings. | |
|
| |
B9MON | Syntax: | |
Enable | SEND_COMMAND <DEV>,"'B9MON'" | |
232/422/455 mode. | Example: | |
This command works in | SEND_COMMAND SOMEDEVICE_1,"'B9MON'" | |
conjunction with the | Resets the SOMEDEVICE port's communication parameters to | |
B9MOFF command. | nine data bits and one stop bit. | |
|
| |
CHARD | Syntax: | |
Set the delay time | SEND_COMMAND | |
between all transmitted | time: 0 - 255. Measured in 100 microsecond increments. | |
characters to the value | Example: | |
specified (in 100 micro- | SEND_COMMAND | |
second increments). | ||
Sets a | ||
| ||
|
| |
CHARDM | Syntax: | |
Set the delay time | SEND_COMMAND | |
between all transmitted | time: 0 - 255. Measured in 1 millisecond increments. | |
characters to the value | Example: | |
specified | SEND_COMMAND RS232_1,"'CHARDM10'" | |
(in 1 millisecond | ||
Sets a | ||
increments). | ||
characters. | ||
| ||
|
| |
CTSPSH | If Clear To Send (CTS) is set high, then channel 255 is On. | |
Enable Pushes, | Syntax: | |
Releases, and status | SEND_COMMAND <DEV>,"'CTSPSH'" | |
information to be reported | Example: | |
via channel 255 using the | SEND_COMMAND RS232_1,"'CTSPSH'" | |
CTS hardware handshake | ||
Sets the RS232_1 port to detect changes on the CTS input. | ||
input. | ||
| ||
|
| |
CTSPSHOFF | Syntax: | |
Disable Pushes, | SEND_COMMAND <DEV>,"'CTPSH OFF'" | |
Releases, and Status | Example: | |
information to be reported | SEND_COMMAND RS232_1,"'CTSPSH OFF'" | |
via channel 255. | Disables the RS232_1 port to detect changes on the CTS | |
| input. | |
|
| |
GET BAUD | Syntax: | |
Get the | SEND_COMMAND <DEV>,"'GET BAUD'" | |
port’s current | Example: | |
communication parame- | SEND_COMMAND RS232_1,"'GET BAUD'" | |
ters. | Device responds with: | |
Device sends the | ||
<port #>,<baud>,<parity>,<data>,<stop> | ||
response out the Master | ||
485 <ENABLED DISABLED> | ||
program port. | ||
| ||
|
| |
HSOFF | Syntax: | |
Disable hardware | SEND_COMMAND <DEV>,"'HSOFF'" | |
handshaking (default). | Example: | |
| SEND_COMMAND RS232_1,"'HSOFF'" | |
| Disables hardware handshaking on the RS232_1 device. | |
|
| |
HSON | Syntax: | |
Enable RTS | SEND_COMMAND <DEV>,"'HSON'" | |
Example: | ||
SEND_COMMAND RS232_1,"'HSON' | ||
handshaking. | Enables hardware handshaking on the RS232_1 device. | |
| ||
|
| |
RXCLR | Syntax: | |
Clear all characters in the | SEND_COMMAND <DEV>,"'RXCLR'" | |
receive buffer waiting to | Example: | |
be sent to the Master. | SEND_COMMAND RS232_1,"'RXCLR'" | |
| Clears all characters in the RS232_1 device's receive buffer. | |
|
| |
RXOFF | Syntax: | |
Disable the transmission | SEND_COMMAND <DEV>,"'RXOFF'" | |
of incoming received | Example: | |
characters to the Master | SEND_COMMAND RS232_1,"'RXOFF'" | |
(default). | Stops the RS232_1 device from transmitting received | |
| characters to the Master. | |
|
|