Setting the cardframe's starting address, Device:port:system (d:p:s) – AMX NetLinx NXM Series User Manual

Page 9

Advertising
background image

NXF CardFrame and NetModules

3

NetLinx Cardframe, Control Cards, 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.

2.

Cycle power for approximately 5 seconds, so the system can 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 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:

Positio

n

1

2

3

4

5

6

7

8

Value

12

24

48

96

192

384

768

1536

Factory default DIP switch value = 0 (zero) (All DIP switches are in the OFF position).

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)

Advertising