Setting The Netlinx Control Card Addresses (Ni-4000 Only); Device:port:system (D:p:s) - AMX NetLinx Integrated Controllers NXI-x000 Series Hardware Reference Manual

Netlinx nxi-x000 series integrated controllers
Table of Contents

Advertisement

Installation and Upgrading
If the cards do not appear in the NetLinx Studio's Workspace window for the selected
Master System number: give the system time to detect the inserted cards (and
refresh the system) and/or cycle power to the unit.

Setting the NetLinx Control Card Addresses (NI-4000 Only)

For example:
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
INTEGER Port
INTEGER System
}
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:
16
The 8-position CardFrame Number DIP switch (located on the rear of the NI-4000) 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 1-3064.
The factory default CardFrame DIP switch value = 0 (all CardFrame DIP switches in the OFF
position).
The formula for setting the starting address is:
(DIP switch address x 12) + Card slot Number (1-12) = Card address
DIP switch setting, 00010101: (0 + 0 + 0 + 96 + 0 + 384 + 1536) + SLOT #(ex:1) = 2017.
A card in slot number 1 would be device address 2017.
Position
Value
// Device number
// Port on device
// System the device belongs to
1
2
3
4
5
6
12
24
48
96
192
384
NI-2000, NI-3000, NI-4000 Hardware Reference Guide
ON position
7
8
768
1536

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx ni-2000Netlinx ni-3000Netlinx ni-4000

Table of Contents