Installation and Upgrading

Installation and Upgrading

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

A device is any hardware component that can be connected to an AXlink bus. Each device must be assigned a unique number to locate that device on the bus. 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, all existing device declarations should be converted using the D:P:S (Device:Port:System) notation. This enables certain NetLinx specific debugging features and can help pinpoint other potentially obscure errors.

The syntax is as follows:

NUMBER:PORT:SYSTEM

where:

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)

NI-3101-SIG Signature Series NetLinx Integrated Controller

7

 

 

Page 13
Image 13
AMX NI-3101-SIG manual DevicePortSystem DPS, Where, Structure DEV, Numberportsystem