AMX NETLINX CARDFRAME, CONTROL CARDS AND NETMODULES User Manual

instruction manual
NetLinx CardFrame, Control Cards, and NetModules
NXC, NXF, and NXM Series
NetLinx Central Controllers and Cards
AMX Limited Warranty and Disclaimer
AMX Corporation warrants its products to be free of defects in material and workmanship under normal use for three
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.
Disk drive mechanisms, pan/tilt heads, power supplies, and MX Series products are warranted for a period of one (1) year.
AMX Lighting products are guaranteed to switch on and off any load that is properly connected to our lighting products, as long as the AMX Lighting products are under warranty. AMX Corporation does guarantee the control of dimmable loads that are properly connected to our lighting products. The dimming performance or quality cannot be guaranteed due to the random combinations of dimmers, lamps and ballasts or transformers.
Unless otherwise specified, OEM and custom products are warranted for a period of one (1) year.
AMX Software is warranted for a period of ninety (90) days.
Batteries and incandescent lamps are not covered under the warranty.
This warranty extends only to products purchased directly from AMX Corporation or an Authorized AMX Dealer.
All products returned to AMX require a Return Material Authorization (RMA) number. The RMA number is
obtained from the AMX RMA Department. The RMA number must be clearly marked on the outside of each box.
The RMA is valid for a 30-day period. After the 30-day period the RMA will be cancelled. Any shipments received
not consistent with the RMA, or after the RMA is cancelled, will be refused. AMX is not responsible for products
returned without a valid RMA number.
AMX Corporation is not liable for any damages caused by its products or for the failure of its products to perform.
This includes any lost profits, lost savings, incidental damages, or consequential damages. AMX Corporation is not
liable for any claim made by a third party or by an AMX Dealer for a third party.
This limitation of liability applies whether damages are sought, or a claim is made, under this warranty or as a tort
claim (including negligence and strict product liability), a contract claim, or any other claim. This limitation of
liability cannot be waived or amended by any person. This limitation of liability will be effective even if AMX Corpo-
ration or an authorized representative of AMX Corporation has been advised of the possibility of any such damages.
This limitation of liability, however, will not apply to claims for personal injury.
Some states do not allow a limitation of how long an implied warranty last. Some states do not allow the limitation or
exclusion of incidental or consequential damages for consumer products. In such states, the limitation or exclusion of
the Limited Warranty may not apply. This Limited Warranty gives the owner specific legal rights. The owner may
also have other rights that vary from state to state. The owner is advised to consult applicable state laws for full
determination of rights.
EXCEPT AS EXPRESSLY SET FORTH IN THIS WARRANTY, AMX CORPORATION MAKES NO
OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. AMX CORPORATION
EXPRESSLY DISCLAIMS ALL WARRANTIES NOT STATED IN THIS LIMITED WARRANTY. ANY
IMPLIED WARRANTIES THAT MAY BE IMPOSED BY LAW ARE LIMITED TO THE TERMS OF THIS
LIMITED WARRANTY.
Software License and Warranty Agreement
LICENSE GRANT.
AMX grants to Licensee the non-exclusive right to use the AMX Software in the manner described in this License. The AMX Software is licensed, not sold. This license does not grant Licensee the right to create derivative works of the AMX Software. The AMX Software consists of generally available programming and development software, product documentation, sample applications, tools and utilities, and miscellaneous technical information. Please refer to the README.TXT file on the compact disc or download for further information regarding the components of the AMX Software. The AMX Software is subject to restrictions on distribution described in this License Agreement. LICENSEE MAY NOT SUBLICENSE, RENT, OR LEASE THE AMX SOFTWARE. Licensee may not reverse engineer, decompile, or disassemble the AMX Software.
INTELLECTUAL PROPERTY.
The AMX Software is owned by AMX and is protected by United States copyright laws, patent laws, international treaty provisions, and/or state of Texas trade secret laws. Licensee may make copies of the AMX Software solely for backup or archival purposes. Licensee may not copy the written materials accompanying the AMX Software.
TERMINATION.
AMX RESERVES THE RIGHT, IN ITS SOLE DISCRETION, TO TERMINATE THIS LICENSE FOR ANY REASON AND UPON WRITTEN NOTICE TO LICENSEE. In the event that AMX terminates this License, the Licensee shall return or destroy all originals and copies of the AMX Software to AMX and certify in writing that all originals and copies have been returned or destroyed.
PRE-RELEASE CODE.
Portions of the AMX Software may, from time to time, as identified in the AMX Software, include PRE-RELEASE CODE and such code may not be at the level of performance, compatibility and functionality of the final code. The PRE-RELEASE CODE may not operate correctly and may be substantially modified prior to final release or certain features may not be generally released. AMX is not obligated to make or support any PRE-RELEASE CODE. ALL PRE-RELEASE CODE IS PROVIDED "AS IS" WITH NO WARRANTIES.
LIMITED WARRANTY.
AMX warrants that the AMX Software will perform substantially in accordance with the accompanying written materials for a period of ninety (90) days from the date of receipt. AMX DISCLAIMS ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH REGARD TO THE AMX SOFTWARE. THIS LIMITED WARRANTY GIVES LICENSEE SPECIFIC LEGAL RIGHTS. Any supplements or updates to the AMX SOFTWARE, including without limitation, any (if any) service packs or hot fixes provided to Licensee after the expiration of the ninety (90) day Limited Warranty period are not covered by any warranty or condition, express, implied or statutory.
LICENSEE REMEDIES.
AMX's entire liability and Licensee's exclusive remedy shall be repair or replacement of the AMX Software that does not meet AMX's Limited Warranty and which is returned to AMX. This Limited Warranty is void if failure of the AMX Software has resulted from accident, abuse, or misapplication. Any replacement AMX Software will be warranted for the remainder of the original warranty period or thirty (30) days, whichever is longer. Outside the United States, these remedies may not available.
NO LIABILITY FOR CONSEQUENTIAL DAMAGES. IN NO EVENT SHALL AMX BE LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THIS AMX SOFTWARE, EVEN IF AMX HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME STATES/COUNTRIES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO LICENSEE.
U.S. GOVERNMENT RESTRICTED RIGHTS.
The AMX Software is provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph ©(1)(ii) of The Rights in Technical Data and Computer Software clause at DFARS 252.227­7013 or subparagraphs ©(1) and (2) of the Commercial Computer Software Restricted Rights at 48 CFR 52.227-19, as applicable.
SOFTWARE AND OTHER MATERIALS FROM AMX.COM MAY BE SUBJECT TO EXPORT CONTROL.
The United States Export Control laws prohibit the export of certain technical data and software to certain territories. No software from this Site may be downloaded or exported (i) into (or to a national or resident of) Cuba, Iraq, Libya, North Korea, Iran, Syria, or any other country to which the United States has embargoed goods; or (ii) anyone on the United States Treasury Department's list of Specially Designated Nation­als or the U.S. Commerce Department's Table of Deny Orders. AMX does not authorize the downloading or exporting of any software or tech­nical data from this site to any jurisdiction prohibited by the United States Export Laws.
This Agreement replaces and supersedes all previous AMX Software License Agreements and is governed by the laws of the State of Texa s , and all disputes will be resolved in the courts in Collin County, Texas, USA. For any questions concerning this Agreement, or to contact AMX for any reason, please write: AMX Corporation, 3000 Research Drive, Richardson, TX 75082.
Table of Contents
Table of Contents
NXF CardFrame and NetModules ............................................................................1
NXF CardFrame ................................................................................................................ 1
NXF Cardframe Specifications ......................................................................................... 2
Mounting Master/Hub Cards in an NXF CardFrame ................................................................ 2
Setting the CardFrame's starting address................................................................................ 3
Device:Port:System (D:P:S)..................................................................................................... 3
NXS-NMS NetModules...................................................................................................... 4
NXS-NMS NetModules specifications ...................................................................................... 4
Mounting modules into an equipment rack .............................................................................. 4
Installing Control Cards into an NXF CardFrame..................................................................... 5
Preparing/connecting captive wires ......................................................................................... 5
Using the ID button .................................................................................................................. 5
NXC-COM2 Dual COM Port Control Card ...............................................................7
Specifications .................................................................................................................... 7
Pinouts and Wiring Configuration ..................................................................................... 8
NXC-COM2 Channel Assignment ..................................................................................... 8
NXC-COM2 Programming Information.............................................................................. 9
NXC-COM2 Send_Commands ................................................................................................ 9
NXC-COM2 Send_String Escape Sequences ....................................................................... 12
NXC-I/O10 Input/Output Control Card ..................................................................15
Specifications .................................................................................................................. 15
NXC-I/O10 Channel Assignments................................................................................... 16
Setting the Switch/Voltage Mode Jumpers...................................................................... 17
Setting the Voltage Clamp Jumper (+12V or Open)........................................................ 17
NXC-IRS4 4-Port IR/S Control Card ......................................................................19
Specifications .................................................................................................................. 19
Pinouts, Signals, and Functions ..................................................................................... 20
NXC-IRS4 Channel Assignments.................................................................................... 20
Programming Information................................................................................................ 20
NXC-REL10 Relay Control Card ............................................................................27
Specifications .................................................................................................................. 27
Pinouts and Functions..................................................................................................... 27
NXC-REL10 Channel Assignments................................................................................. 28
NXC-REL10 Connections/Wiring .................................................................................... 28
NXF CardFrame, NetLinx Control Cards, and NetModules
i
Table of Contents
NXC-VAI4 Analog Voltage Control Card ..............................................................29
Specifications .................................................................................................................. 29
Pinouts and Functions..................................................................................................... 30
Channel Assignments ..................................................................................................... 31
NXC-VAI4 Output Level Assignments............................................................................. 33
NXC-VAI4 Input Level Assignments ............................................................................... 34
Programming Information................................................................................................ 34
NXC-VOL4 Volume Control Card ..........................................................................41
Specifications .................................................................................................................. 41
Pinouts, Signals, and Functions...................................................................................... 42
NXC-VOL4 Connections/Wiring ...................................................................................... 43
NXC-VOL4 Channel Assignments .................................................................................. 43
NXC-VOL4 Levels........................................................................................................... 44
CREATE_LEVEL ................................................................................................................... 44
SEND_LEVEL........................................................................................................................ 44
Programming Information................................................................................................ 45
ii
NXF CardFrame, NetLinx Control Cards, and NetModules

NXF CardFrame and NetModules

NetLinx Control Cards can be installed in the NetLinx (NXF) CardFrame, the NI-4000, or in
modules for stand-alone operation. The NXF CardFrame accommodates a NetLinx Master (or
Hub) card, up to twelve NetLinx Control cards, and provides a back plane to distribute power and
data to/from the cards. The NXF CardFrame provides terminals on the rear panel for connection to
the control cards and a system power supply. A DIP switch on the rear panel sets the CardFrame's
base device number.
The NetLinx Control Cards covered in this document are:
• NXC-COM2 Dual COM Port Control Card
• NXC-I/O10 Input/Output Control Card
• NXC-IRS4 4-Port IR/S Control Card
• NXC-REL10 Relay Control Card
• NXC-VAI4 Analog Voltage Control Card
• NXC-VOL4 Volume Control Card
NXF CardFrame and NetModules

NXF CardFrame

FIG. 1 shows the front and rear panel components of the NXF CardFrame.
Control Card slots 1-12
123456789101112
Master/Hub Card slot
123456789101112
front
12
11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
12
10
1
2
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
11
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
10
ear
FIG. 1 NXF CardFrame
9
9
Control Card slots 1-12
Cardframe number DIP Switch
2-pin 12V power connector
8
7
6
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
8
7
5
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
6
5
4
3
2
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
4
3
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
2
1
12VDC
CARDFRAME
PWR
Master/Hub Card slot
CARDFRAME NUMBER
ON
NXF
CARDFRAME
NXF CardFrame, NetLinx Control Cards, and NetModules
1
NXF CardFrame and NetModules

NXF Cardframe Specifications

NXF Cardframe Specifications
Power Requirement 12 VDC; varies with installed Control Cards.
Dimensions (HWD) 3.5" x 17.0" x 9.6" (8.89 cm x 43.18 cm x 24.38 cm)
Weight 9.1 lbs (4.1 kg)
Front Panel Components:
Master/Hub Card slot Houses the Master or Hub Card. Refer to the NetLinx Master Cards and
Control Card slots 12 card slots for the NetLinx Control Cards that control devices connected
Rack-mounting brackets Provides for installing the CardFrame into an equipment rack.
Rear Panel Components:
Card slots Twelve 20-pin black (male) connectors and mating 3.5 mm captive-screw
Control Card connectors (1-12) 20-pin black (male) connectors that connect the Control Cards and exter-
+12 VDC PWR 2-pin green (male) connector for connecting a 12 VDC power supply. The
CardFrame Number DIP switch Sets the starting address for the Control Cards in the CardFrame. The
Front faceplate Plastic gray faceplate with translucent viewing window.
Enclosure Metal with black matte finish.
Modules or NetLinx Hub Cards and Modules instruction manuals for detailed information.
to the CardFrame.
terminals supplied with Control Cards.
nal equipment to the CardFrame.
CardFrame can be powered via the Master Card (default) or by an exter­nal power supply connected to the CardFrame's PWR connector. If a power supply is connected to the PWR connector, the CardFrame power automatically switches to the connected power supply. In that case, the Control Cards and CardFrame are independently powered.
A simple rule to follow is if the CardFrame contains eight or more Control Cards, use two 12 VDC power supplies.
8-position DIP switch address range is 1-3072.

Mounting Master/Hub Cards in an NXF CardFrame

NetLinx Master and Hub Cards can be installed in the NXF CardFrame. The card mounts in a
horizontal position, through the master card slot on the rear panel of the NXF enclosure. To install a
Master or Hub Card in an NXF:
1. Discharge the static electricity from your body by touching a grounded metal object.
2. Unplug all the connectors from the NXF.
3. Remove the two screws holding the front plate on the Master Card, and remove the front plate.
4. Align the edges of the card with the guide slots inside the Master Card slot on the NXF.
5. Slide the card about halfway into the slot.
6. Inside the Master Card slot on the NXF, locate the 6-pin control cable connector.
7. Plug the connector from the NXF into the 6-pin terminal on the Master Card. This connector is
keyed to ensure correct orientation.
8. Once the control cable is connected, gently slide the card all the way in until you feel the rear
edge of the card lightly snap into place.
9. Re-apply power and other connections as necessary.
2
NXF CardFrame, NetLinx Control Cards, and NetModules
NXF CardFrame and NetModules

Setting the CardFrame's starting address

The 8-position CardFrame Number DIP switch, located on the rear of the CardFrame (FIG. 1 on
page 1), sets the starting address (the device number in the D:P:S specification) for the Control
Cards installed in the CardFrame. The address range is 12-3060. The formula for setting the
starting address is:
(DIP switch address x 12) + Card slot Number (1-12) = Card address
For example:
For DIP switch setting, 00010101: (0 + 0 + 0 + 0 + 96 + 0 + 384 + 1536) + SLOT #(ex:1)
= 2017.
A card in slot number 7 would be device address 2023.
1. Set the CardFrame Number DIP switch based on the information listed in the table below.
Position 12345678
Val ue 12 24 48 96 192 384 768 1536
2. Cycle power for approximately 5 seconds, so the system can read the new device number
settings.
Factory default DIP switch value = 0 (zero) (All DIP switches are in the OFF position).

Device:Port:System (D:P:S)

A device is any hardware component that can be connected to an AXlink or ICSNet bus. Each
device must be assigned a unique number to locate that device on the bus. The NetLinx
programming language allows numbers in the range 0-32,767. Device 0 refers to the local Master;
numbers greater than 32,767 are reserved.
NetLinx requires a Device:Port:System (D:P:S) specification. This D:P:S triplet can be expressed
as a series of constants, variables separated by colons, or a DEV structure. For example:
STRUCTURE DEV
{
INTEGER Number // Device number
INTEGER Port // Port on device
INTEGER System // System the device belongs to
}
The D:P:S notation is used to explicitly represent a device number, port and system. For example,
128:1:0 represents the first port on device 128 on this system. If the system and Port specifications
are omitted, (e.g. 128), system 0 (indicating this system) and port 1 (the first port) is assumed.
Here's the syntax:
NUMBER:PORT:SYSTEM
where:
NXF CardFrame, NetLinx Control Cards, and NetModules
3
NXF CardFrame and NetModules

NXS-NMS NetModules

The NXS-NMS NetModules (FG2009-10) accommodate one NetLinx Control Card, and connect
to the NetLinx bus via ICSNet connections. The NetModules offer a simple and economical way to
integrate additional functionality to control systems. FIG. 2 shows a NetModule shell and its main
components.
front
NXM-NMS
NetModule
ID
rear
FIG. 2 NXS-NMS NetLinx NetModule shell
NUMBER: 16-bit integer represents the device number
PORT: 16-bit integer represents the port number (in the range 1 through the number of
ports on the Controller or device)
SYSTEM: 16-bit integer represents the system number (0 = this system)
Control Card slot
NetModule
Control Card connector
1720 1819 1516 1314 1012 11 896745
ID Button
3
12
12VDC
ICSNet PWR
(20-pin)
Parallel 12 VDC 2-pin power supply connectors
ICSNet RJ-45 connectors

NXS-NMS NetModules specifications

The table below lists the NXS-NMS specifications.
NXS-NMS NetModules Specifications
Dimensions (HWD) 1.50" x 5.55" x 9.25" (3.81 cm x 14.10 cm x 23.50 cm)
ID button Generates an event from the NetModule to allow you to assign new
Control connector 20-pin black (male) connector that connects the NetModule to external
ICSNet RJ-45 connectors Receives power and data from a NetLinx Master/Hub ICSNet Port. An
12 VDC power supply connectors Two parallel male 2-pin (green) parallel connectors for 12 VDC power.
Enclosure Metal with black matte finish
Included Accessories NetLinx faceplate
Optional accessories AC-RK Accessory Rack Kit (holds up to three NetModules)
Device and System numbers, using ID mode in the NetLinx Studio soft­ware program (see Using the ID button section on page 5 for details).
devices. These connectors are keyed to insure proper installation.
ICSNet port on a NetLinx Master or Hub supplies up to 500 mA at 12 V for module power.

Mounting modules into an equipment rack

To install the modules in an equipment rack using the optional AC-RK kit:
1. Remove the front faceplate from the module to expose the mounting holes.
2. Mount the module on the AC-RK bracket.
4
NXF CardFrame, NetLinx Control Cards, and NetModules
NXF CardFrame and NetModules
3. Place the AC-RK bracket (with the module) in the equipment rack and secure the bracket to the
rack.
4. Replace the front faceplate on the module, and attach the translucent plastic cover to the
faceplate (if necessary).

Installing Control Cards into an NXF CardFrame

1. Remove the magnetic front faceplate/viewing window from the CardFrame.
2. Align the edge of the Control Card with a slot in the CardFrame. Slide the card into the
CardFrame and press until you feel the Card seat in the backplane connector.
3. Put the magnetic faceplate back on the CardFrame. Secure with mounting screws (if
necessary).

Preparing/connecting captive wires

1. Strip 0.25 inch of wire insulation off all wires.
2. Insert each wire into the appropriate opening on the connector according to the wiring
diagrams and connector types described in this section.
3. Tighten the screws to secure the wires in the connector. Do not tighten the screws excessively;
doing so may strip the threads and damage the connector.

Using the ID button

The ID Button on the rear panel of the NetModules (see FIG. 2) is used in conjunction with the
NetLinx Studio software program to allow you to assign new Device and System numbers for the
Module.
1. Using NetLinx Studio, place the system in Identity (ID) Mode. ID Mode means the entire
system is put on hold while it waits for an event from any NetLinx device in the named system
(for example, pushing the ID button on a Module). The device generating the first event is the
identified device.
2. Press the ID Mode button to generate an event from the Module and allow you to assign new
Device and System numbers in NetLinx Studio.
NXF CardFrame, NetLinx Control Cards, and NetModules
5
NXF CardFrame and NetModules
6
NXF CardFrame, NetLinx Control Cards, and NetModules

NXC-COM2 Dual COM Port Control Card

NXC-COM2 Dual COM Port Control Card
The NXC-COM2 Dual COM Port Control Card (FG2022) provides two RS-232, RS-422, or
RS-485 control ports and LED feedback for remote sources connected to the NetLinx CardFrame,
NI-4000 or NetModule. FIG. 3 shows the COM2 card.
ICSNET Status LED
LED 1
LED 4
FIG. 3 NXC-COM2 Dual COM Port Control card

Specifications

NXC-COM2 Specifications
Power Requirements: 140 mA @ 12 VDC
Operation: Data 1-2: Two RS-232/422/485 control ports,
supports XON/XOFF, CTS/RTS, 300-230,400 baud
Status LEDs (2 per channel): • Red LED shows TX (transmit) data activity
• Yellow LED shows 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
NXF CardFrame, NetLinx Control Cards, and NetModules
7
NXC-COM2 Dual COM Port Control Card

Pinouts and Wiring Configuration

NXC-COM2 Pinouts NXC-COM2 Wiring Configuration
Pin Signal Function RS-232 RS-422 RS-485
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

NXC-COM2 Channel Assignment
Channel Description
255 CTS push channel - reflects the state of the CTS input if a 'CTSPSH' command
was sent to the device.
8
NXF CardFrame, NetLinx Control Cards, and NetModules

NXC-COM2 Programming Information

NXC-COM2 Send_Commands

NXC-COM2 Send_Commands
Command Description
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.
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>'"
Var iable:
0 - 255. Measured in 100 microsecond increments.
time:
Example:
SEND_COMMAND RS232_1,"'CHARD10'"
Sets a 1-millisecond delay between all transmitted characters.
Syntax:
SEND_COMMAND <DEV>,"'CHARDM-<time>'"
Var iable:
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.
NXC-COM2 Dual COM Port Control Card
NXF CardFrame, NetLinx Control Cards, and NetModules
9
NXC-COM2 Dual COM Port Control Card
NXC-COM2 Send_Commands (Cont.)
Command Description
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).
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.
10
NXF CardFrame, NetLinx Control Cards, and NetModules
Loading...
+ 36 hidden pages