Installation, Device:port:system (d:p:s), Installing into an equipment rack – AMX NetLinx Integrated Controllers NI-700/900 User Manual

Page 15

Advertising
background image

Installation

11

NI-700 & NI-900 Hardware Reference Guide

Installation

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:

Installing into an Equipment Rack

Use the optional AC-RK Accessory Rack Kit (FG515) to mount the Controller into a standard 19"
equipment rack.

1.

Discharge the static electricity from your body by touching a grounded object.

2.

Align the front of the NI-700/900 through any of the three rectangular openings on the AC-RK.

3.

Use the included mounting screws to secure the unit’s faceplate to the AC-RK.

4.

Thread the cables through the opening in the equipment rack. Allow for enough slack in the cables
to accommodate for movement during the installation process.

5.

Reconnect all cables to their appropriate source/terminal locations. Refer to theConnections and
Wiring
section on page 13 for more
detailed wiring and connection information.

Verify that the terminal end of the power cable is not connected to the a power supply before
plugging in the 2-pin power connector.

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