![background image](http://html1.mh-extra.com/html/amx/netlinx-integrated-controller-ni-2100/netlinx-integrated-controller-ni-2100_hardware-reference-manual_2937850018.webp)
Installation and Upgrading
14
NI-2100, NI-3100, NI-4100 Hardware Reference Guide
1.
Set the CardFrame Number DIP switch based on the information listed in the table below.
2.
Cycle power to the unit for approximately 5 seconds. This allows the unit to read the new device number
settings.
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 1-32,767 for ICSNet (255 for AXlink).
Only the Device value can be set through the DIP switch settings mentioned above.
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 a device is declared in a NetLinx program with just the Device number (
System and Port are omitted
), the
NetLinx Compiler assumes it has a
Port number of 1 and a System number of 0
. However, you should
convert all existing device declarations using the D:P:S (Device:Port:System) notation. This enables certain
NetLinx specific debugging features and can help pinpoint other possibly obscure errors.
Here's the syntax:
NUMBER:PORT:SYSTEM
where:
Removing NetLinx Control Cards (NI-4100 Only)
To install NetLinx Control Card:
1.
Discharge any static electricity from your body, by touching a grounded object and unplug all connectors
(if any) from the unit.
2.
Remove the three faceplate screws by turning them in a counter-clockwise direction.
3.
Remove the faceplate from the front plate (FIG. 4 on page 13).
4.
Gently grasp the rear edge of the control card and gently pull it out from the unit (along the internal guide
slots).
5.
Re-secure the faceplate by inserting the three faceplate screws by turning them in a clockwise direction
and securing the front plate to the Integrated Controller.
6.
Re-apply power and other connections as necessary.
Position
1
2
3
4
5
6
7
8
Value
12
24
48
96
192
384
768
1536
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)