instruction manual NXI NetLinx Integrated Controller N e t L i n x C e n t ra l C o n t r o l l e r s a n d C a r d s
AMX Limited Warranty and Disclaimer AMX Corporation warrants its products to be free of defects in material and workmanship under normal use for three (3) years from the date of purchase from AMX Corporation, with the following exceptions: • Electroluminescent and LCD Control Panels are warranted for three (3) years, except for the display and touch overlay components that are warranted for a period of one (1) year.
Table of Contents Table of Contents Product Information .................................................................................................1 Front and Rear Panel Components................................................................................... 1 Specifications .................................................................................................................... 2 Connections and Wiring .................................................................................
Table of Contents ii NXI NetLinx Integrated Controller
Product Information Product Information The NXI NetLinx Integrated Controller represents the new generation of AMX multi-port central controllers. The NXI can be programmed to control RS-232/422/485, Relay, IR/Serial, and Input/ Output devices using the NetLinx programming language and NetLinx Studio program. Depending on your specific control needs, the NXI can be equipped with either a Master or Hub Card. For use as a master controller, the NXI accepts the NXC-ME260 NetLinx Master Card.
Product Information Specifications NXI Specifications Power requirements 1.09 A @ 12 VDC (NXI only/no card) Memory 64K of IR memory:· • 32K IR memory for IR ports 8-11 • 32K IR memory for IR ports 12-15 Ports: RS-232/422/485 ports (#1-6) Six RS-232/422/485 control ports with XON/XOFF (transmit on/transmit off), and CTS/RTS (clear to send/ready to send), 300-230,400 baud. Channel range = 1-255 • Channels 1-254 provide feedback only.
Product Information NXI Specifications (Cont.) Rear Panel Components: RS-232/422/485 (ports 1-6) Six 10-pin (male) connectors that support bi-directional RS-232/422/485 communication (XON/XOFF, CTS/RTS, 300-230,400 baud). • Channel range = 1-255 • Channels 1-254 provide feedback only.· • Channel 255 (CTS Push channel): Reflects the state of the CTS input if a 'CTSPSH' command was sent to the port.
Product Information 4 NXI NetLinx Integrated Controller
Connections and Wiring Connections and Wiring Installing the Master or Hub Card The NXC-ME260 NetLinx Master or any Hub Card can be installed in the NXI. The card mounts in a horizontal position, through the master card slot on the rear panel of the NXI enclosure (see FIG. 1 on page 1). To install a Master or Hub Card in an NXI: 1. Discharge the static electricity from your body by touching a grounded metal object. 2. Unplug all the connectors from the NXI. 3.
Connections and Wiring RS-232/422/485 Wiring Specifications The following table lists the wiring specifications for the RS-232/422/485 connectors (ports 1-6).
Connections and Wiring IR/Serial Connector Wiring Specifications (Cont.) 5 12 6 13 7 14 8 15 GND (-) Signal GND Signal 5 (+) IR/Serial data GND (-) Signal GND Signal 6 (+) IR/Serial data GND (-) Signal GND Signal 7 (+) IR/Serial data GND (-) Signal GND Signal 8 (+) IR/Serial data Input/Output (I/O) Connections and Wiring The I/O port responds to switch closures or voltage level (high/low) changes, or can be used for logic-level outputs.
Connections and Wiring 8 NXI NetLinx Integrated Controller
Programming Programming This section describes the Send_Commands, Send_Strings, and Channel commands you can use to program the NXI. The examples in this section require a declaration in the DEFINE_DEVICE section of your program to work correctly. Refer to the NetLinx Programming Language instruction manual for specifics about declarations and DEFINE_DEVICE information. Using the ID Button The ID Button on the rear panel of the NXI (FIG.
Programming Program Port Commands The Program port commands listed in the following table can be sent directly to the Master Card using a terminal program (i.e. Telnet).
Programming Program Port Commands (Cont.) PING Tests network connectivity to and confirms the presence of another networked device. It operates just like the PING application in Windows or Linux. PROGRAM INFO Displays the NetLinx program's name residing in the Master Card. PULSE Pulses a channel on a device on and off. The device can be on any system the master you are connected to can reach.
Programming Program Port Commands (Cont.) SHOW LOG Displays the log of messages stored in the Master's memory. The Master logs all internal messages and keeps the most recent messages. The log contains: • Entries starting with first specified or most recent. • Date, Day, and Time message was logged. • Which object originated the message. • The text of the message: SHOW LOG [start] [end] SHOW LOG ALL • If start is not entered, the most recent will be first.
Programming Escape Pass Codes (Cont.) Command + + ESC D Description Decimal Display Mode: Typing a plus (shift =) followed by another plus followed by an ESC (the escape key) followed by a 'D' sets the display to decimal mode. Any characters received by the device will be displayed with a \ followed by numeric characters to indicate the characters decimal value.
Programming LED Disable/Enable Send_Commands The following commands enable or disable the LEDs on the NXI. LED Send_Commands LED-DIS Disables the LEDs. Issue this command to port 1 to disable all the LEDs on the NXI. When activity occurs on a port(s) or NXI, the LEDs will not light. Syntax: SEND_COMMAND ,'LED-DIS' Example: SEND_COMMAND System_1,'LED-DIS' Disables all the LEDs on the System_1 NXI. LED-EN Enable LEDs (default).
Programming RS-232/422/485 Send_Commands (Cont.) CHARDM Syntax: Sets the delay time between transmitted characters in 1 millisecond increments. Variable: SEND_COMMAND ,'CHARDM
Programming RS-232/422/485 Send_Commands (Cont.) HSON Syntax: Enables RTS (ready-to-send) SEND_COMMAND ,'HSON' and CTS (clear-to-send) Example: hardware handshaking. SEND_COMMAND RS232_1,'HSON' Enables hardware handshaking on the RS232_1 device. RXCLR Clears all characters in the receive buffer waiting to be sent to the Master Card.
Programming RS-232/422/485 Send_String Escape Sequences RS-232/422/485 Send_String Escape Sequences 27,17, Sends device-specific break characters for a specified duration. Syntax: SEND_STRING ,"27,17,
Programming IR / Serial Ports (8 - 15) Channels IR / Serial Ports Channels 00001 - 00229 IR commands. 00229 - 00253 May be used for system call feedback. 00254 Power Fail. (Used with the 'PON' and 'POF' commands). 00255 Power status. (Shadows I/O Link channel status). 00256 - 65000 IR commands. IR/Serial Send_Commands The following IR and IR/Serial Send_Commands generate control signals for external equipment.
Programming IR/Serial Send_Commands (Cont.) CTOF Sets the duration of off time (no signal) between IR pulses for channel and IR function transmissions. Off time settings are stored in non-volatile memory. The factory default for channel off time is 5 (.5 second). This command is associated with the SP (single pulse) and CP (clear pulse) commands.
Programming IR/Serial Send_Commands (Cont.) PON Turns on a device, based on input Link. If at any time the IR sensor reads that the device is off (such as if one turned it off manually at the front panel), the card automatically attempts to turn the device back on. If three attempts fail, card will continue executing commands in the buffer. If there are no commands in the buffer, the card will continue to try until a 'POF' or 'POD' command is received.
Programming IR/Serial Send_Commands (Cont.) SET MODE Syntax: Sets the IR/Serial ports for IR or Serial-controlled devices connected to a CardFrame or NetModule. Variable: SEND_COMMAND , 'SET MODE ' Mode = IR or Serial Example: SEND_COMMAND IR_1, 'SET MODE IR' Sets the IR_1 port to IR mode for IR control. SP Generates a single IR pulse. You can use the CTON to set pulse lengths and CTOF for time off between pulses.
Programming IR/Serial Send_Commands (Cont.) XCHM (Cont.) Mode 3 Example: [[100][100]…] SEND_COMMAND IR_1, 'XCH 3' Transmits the IR code as 0-3. SEND_COMMAND IR_1, 'XCH 34' Transmits the IR code as 3-4. SEND_COMMAND IR_1, 'XCH 343' Transmits the IR code as 100-100-100-4-3. Mode 4: Mode 4 sends the same sequences as the CH command. Only use Mode 4 with channels 0-199. XCH Transmits IR code in the format set with the XCHM mode command. ZAP HIGH Deletes all IR data stored in the NXI ports 12-15.
Programming Input/Output Send_Commands The following Send_Commands program the I/O ports on the NXI. I/O SEND_COMMANDS GET INPUT Gets the input channels active state. An active state can be high (logic high) or low (logic low or contact closure). Channel changes, Pushes, and Releases generate reports based on their active state. Syntax: SEND_COMMAND ,'GET INPUT ' Variable: CHAN = 1-8 Example: SEND_COMMAND IO,'GET INPUT 1' Gets the I/O port's active state.
brussels • dallas • los angeles • mexico city • philadelphia • shanghai • singapore • tampa • toronto • york 3000 research drive, richardson, TX 75082 USA • 469.624.8000 • 800.222.0193 • fax 469.624.7153 • technical support 800.932.6993 060-004-2559 3/03 ©2003 AMX Corporation. All rights reserved. AMX, the AMX logo, the building icon, the home icon, and the light bulb icon are all trademarks of AMX Corporation. AMX reserves the right to alter specifications without notice at any time.