EN
AMX logo
Official user manual

AMX NXC-COM2

2 pages·195 KB·Network Card·PDF·ENDEFRITNLJA
AMX NXC-COM2
Table of Contents 6 sections NXC-COM2 Dual COM Port Card, 2 RS-232/422/485 · NetLinx Control Cards and NetModules · NXC-COM2 Specifications · NXC-COM2 Pinouts and Wiring Information: · … ShowHide
Page 1 of the AMX NXC-COM2 user manual — NXC-COM2 Pinouts and Wiring Information:
Page 1 · click to enlarge
Page 1

Installation Guide NXC-COM2 Dual COM Port Card, 2 RS-232/422/485

NetLinx Control Cards and NetModules

NXC-COM2 Channel Assignment:

NetLinx Control Cards can be installed in either the NXF CardFrame, NI-4000, or NetModules. For detailed information on the cards, refer to the NetLinx CardFrame, Control Cards, and NetModules Instruction Manual available on-line via www.amx.com

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 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>'" _ time: 0 - 255. Measured in 100 microsecond increments. Example: SEND COMMAND RS232 1,"'CHARD-10'" _ _ 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>'" _ 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 set high, then channel 255 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. _ CTSPSHOFF Disable Pushes, Releases, and Status information to be reported via channel 255.Syntax: SEND COMMAND <DEV>,"'CTPSH OFF'" _ Example: SEND COMMAND RS232 1,"'CTSPSH OFF'" _ _ 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> HSOFF Disable hardware handshaking (default).Syntax: SEND COMMAND <DEV>,"'HSOFF'" _ Example: SEND COMMAND RS232 1,"'HSOFF'" _ _ Disables hardware handshaking on the RS232 1 device. _ HSON Enable RTS (ready-to-send) and CTS (clear-to-send) hardware handshaking.Syntax: SEND COMMAND <DEV>,"'HSON'" _ Example: SEND COMMAND RS232 1,"'HSON' _ _ Enables hardware handshaking on the RS232 1 device. _ RXCLR Clear all characters in the receive buffer waiting to be sent to the Master.Syntax: SEND COMMAND <DEV>,"'RXCLR'" _ Example: SEND COMMAND RS232 1,"'RXCLR'" _ _ Clears all characters in the RS232 1 device's receive buffer. _ RXOFF Disable the transmission of incoming received characters to the Master (default).Syntax: SEND COMMAND <DEV>,"'RXOFF'" _ Example: SEND COMMAND RS232 1,"'RXOFF'" _ _ Stops the RS232 1 device from transmitting received _ characters to the Master.

LED 1

LED 4

FIG. 1 NXC-COM2 Dual COM Port Control card

NXC-COM2 Specifications

The NXC-COM2 Dual COM Port Control Card provides two RS-232/422/485 control ports and LED feedback for remote sources connected to the NetLinx CardFrame, NI-4000, or NetModule:

NXC-COM2 (FG 2022) Specifications Power Requirements:140 mA @ 12 VDC Operation:Data 1-2: Two RS-232/422/485 control ports, supports XON/XOFF, CTS/RTS Status LEDs (2 per channel):• Red LEDs show TX (transmit) data activity • 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 (1-second intervals) during normal operation. Connections/wiring:Two 10-pin 3.5 mm captive-screw terminals DEVICE ID: _$0107

NXC-COM2 Pinouts and Wiring Information:

NXC-COM2 PinoutsNXC-COM2 Wiring Configuration PinSignalFunctionRS-232RS-422RS-485 1GNDSignal groundXX 2RXD1Receive dataX 3TXD1Transmit dataX 4CTS1Clear to sendX 5RTS1Request to sendX 6TX1+Transmit dataXX (strap to pin 8) 7TX1-Transmit dataXX (strap to pin 9) 8RX1+Receive dataXX (strap to pin 6) 9RX1-Receive dataXX (strap to pin 7) 10+12 VDCPowerOptionalOptional 11GNDSignal groundXX 12RXD2Receive dataX 13TXD2Transmit dataX 14CTS2Clear to sendX 15RTS2Request to sendX 16TX2+Transmit dataXX (strap to pin 18) 17TX2-Transmit dataXX (strap to pin 19) 18RX2+Receive dataXX (strap to pin 16) 19RX2-Receive dataXX (strap to pin 17) 20+12 VDCPowerOptionalOptional

ICSNET Status LED

Page 2 of the AMX NXC-COM2 user manual — 93-2022 REV: F
Page 2 · click to enlarge
Page 2
NXC-COM2 Send Commands (Cont.) _ RXON Start transmitting received characters to the Master (default).This command is sent automatically when a CREATE BUFFER Send Command 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. SET BAUD Set the RS-232/422/485 port's communication parameters.Syntax: SEND COMMAND <DEV>,"'SET BAUD _ <baud>,<parity>,<data>,<stop> [485 <Enable | Disable>]'" • Baud: 230400, 115200, 76800, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, 300, 150 • Parity: N (none), O (odd), E (even), M (mark), S (space) • Data Bits: 7 or 8 data bits • Stop Bits: 1 and 2 stop bits The only valid 9 bit combination is (baud),N,9,1. • 485 Enable: Enables RS-485 mode and disables RS-232/422 • 485 Disable: Disables RS-485 mode and enables RS-232/422 Examples: SEND COMMAND RS232 1,"'SET BAUD _ _ 115200,N,8,1 485 ENABLE'" Sets the RS232 1 port's communication parameters to _ 115,200 baud, no parity, 8 data bits, 1 stop bit, and enables RS-485 mode. TSET BAUD Temporarily set the RS-232/422/485 port's communication parameters for a device.Syntax: SEND COMMAND <DEV>,"'TSET BAUD _ <baud>,<parity>,<data>,<stop> [485 <Enable | Disable>]'" • Baud: 230400, 115200, 76800, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, 300, 150 • Parity: N (none), O (odd), E (even), M (mark), S (space) • Data Bits: 7 or 8 data bits • Stop Bits: 1 and 2 stop bits The only valid 9 bit combination is (baud),N,9,1. • 485 Enable: Enables RS-485 mode and disables RS-232/422 • 485 Disable: Disables RS-485 mode and enables RS-232/422 Examples: SEND COMMAND RS232 1,"'SET BAUD _ _ 9600,N,8,1 485 DISABLE'" SEND COMMAND RS232 4,"'SET BAUD _ _ 115200,N,8,1 485 ENABLE'" TSET BAUD works the same as SET BAUD, except that the changes are not permanent, and the previous values will be restored if the power is cycled on the device. TXCLR Stop and clear all characters waiting in the transmit out buffer and stops transmission.Syntax: SEND COMMAND <DEV>,"'TXCLR'" _ Example: SEND COMMAND RS232 1,"'TXCLR'" _ _ Clears and stops all characters waiting in the RS232 1 _ device's transmit buffer. XOFF Disable software handshaking (default).Syntax: SEND COMMAND <DEV>,"'XOFF'" _ Example: SEND COMMAND RS232 1,"'XOFF'" _ _ Disables software handshaking on the RS232 1 device. _ XON Enable software handshaking.Syntax: SEND COMMAND <DEV>,"'XON'" _ Example: SEND COMMAND RS232 1,"'XON'" _ _ Enables software handshaking on the RS232 1 device. _
NXC-COM2 Send String Escape Sequences _ This card has some special SEND STRING escape sequences: _ If any of the 3 character combinations below are found anywhere within a SEND STRING _ program instruction, they will be treated as a command and not the literal characters: 27,17,<time> Send a break character for a specified duration to a specific device.Syntax: SEND STRING <DEV>,"27,17,<time>" _ time: 1 - 255. Measured in 100 microsecond increments. Example: SEND STRING RS232 1,"27,17,10" _ _ Sends a break character of 1 millisecond to the RS232 1 _ device. 27,18,0 Clear the ninth data bit by setting it to 0 on all character transmissions. This command is used in conjunction with the B9MON Send Command. _Syntax: SEND STRING <DEV>,"27,18,0" _ Example: SEND STRING RS232 1,"27,18,0" _ _ Sets the RS232 1 device's ninth data bit to 0 on all character _ transmissions. 27,18,1 Set the ninth data bit to 1 for all subsequent characters to be transmitted. This command is used in conjunction with the B9MON Send Command. _Syntax: SEND STRING <DEV>,"27,18,1" _ Example: SEND STRING RS232 1,"27,18,1" _ _ Sets the RS232 1 device's ninth data bit to 1 on all character _ transmissions. 27,19,<time> Insert a time delay before transmitting the next character.Syntax: SEND STRING <DEV>,"27,19,<time>" _ time: 1 - 255. Measured in 1 millisecond increments. Example: SEND STRING RS232 1,"27,19,10" _ _ Inserts a 10 millisecond delay before transmitting characters to the RS232 1 device. _ 27,20,0 Set the RTS hardware handshake's output to high (> 3V).Syntax: SEND STRING <DEV>,"27,20,0" _ Example: SEND STRING RS232 1,"27,20,0" _ _ Sets the RTS hardware handshake's output to high on the RS232 1 device. _ 27,20,1 Assert sets the RTS hardware handshake's output to low (< 3V).Syntax: SEND STRING <DEV>,"27,20,1" _ Example: SEND STRING RS232 1,"27,20,1" _ _ Sets the RTS hardware handshake's output to low on the RS232 1 device. _

For full warranty information, refer to the AMX Instruction Manual(s) associated with your Product(s).

93-2022 REV: F

7/08 ©2008 AMX. All rights reserved. AMX and the AMX logo are registered trademarks of AMX.

  • AMX reserves the right to alter specifications without notice at any time. 3000 RESEARCH DRIVE, RICHARDSON, TX 75082
  • 800.222.0193
  • fax 469.624.7153
  • technical support 800.932.6993
  • <a href="http://www.amx.com" rel="nofollow noopener" target="_blank">www.amx.com</a>
Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the AMX NXC-COM2

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the AMX NXC-COM2

Be the first to ask — other owners or our team will answer.

Original document

AMX NXC-COM2 manual PDF

2 pages·195 KB·Network Card·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…