Installation And Upgrading; Device:port:system (D:p:s) - AMX NetLinx NI-3101-SIG Operation/Reference Manual

Signature series netlinx integrated controller
Hide thumbs Also See for NetLinx NI-3101-SIG:
Table of Contents

Advertisement

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
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, 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:
NI-3101-SIG Signature Series NetLinx Integrated Controller
// Device number
// Port on device
// System the device belongs to
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)
Installation and Upgrading
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fg2105-08

Table of Contents