AMX NXI-x000 Series Setting the NetLinx Control Card Addresses NI-4000 Only, DevicePortSystem DPS

Page 20

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)

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

For example:

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.

1.Set the CardFrame Number DIP switch based on the information listed in the table below.

 

Position

 

1

 

2

 

3

 

4

 

5

 

6

 

7

ON position

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value

 

12

 

24

 

48

 

96

 

192

 

384

 

768

1536

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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 // 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:

16

NI-2000, NI-3000, NI-4000 Hardware Reference Guide

Image 20
Contents NXI-x000 Series AMX Limited Warranty and Disclaimer Table of Contents Table of Contents NetLinx Integrated Master Controller Features IntroductionNI-2000 Specifications RearFront Panel Components NI-2000 SpecificationsRear Panel Connectors Surge damage NI-2000 Specifications NI-3000 Specifications NI-3000 NetLinx Integrated Controller front viewNI-3000 Specifications Surge damage NI-3000 Specifications NI-4000 Specifications NI-4000 NetLinx Integrated Controller front viewNI-4000 Specifications Rear Panel Connectors Guide for details Related Documents Installation and Upgrading Installing NetLinx Control Cards NI-4000 OnlyPosition Setting the NetLinx Control Card Addresses NI-4000 OnlyDevicePortSystem DPS Compact Flash Upgrades Optional Compact Flash UpgradesRemoving NetLinx Control Cards NI-4000 Only Product Name DescriptionInstallation of Compact Flash Upgrades Installing Into An Equipment Rack Closing and Securing the Outer HousingInstall screws Bracket Rack Mounting Holes Setting the Configuration DIP Switch for the Program Port Baud Rate SettingsProgram Run Disable PRD Mode Baud Rate Settings on the Configuration DIP SwitchSetting the CardFrame DIP Switch NI-4000 Only Program Port Connections and WiringWorking With the Configuration DIP Switch Program Port, Pinouts, and SignalsModes and Front Panel LED Blink Patterns Port Assignments and FunctionalityModes and LED Blink Patterns NI-2000 Port AssignmentsWiring Guidelines Wiring length guidelinesWiring Guidelines NI-2000 @ 700 mA Wiring Guidelines NI-3000 & NI-4000 @ 900 mAUsing the 4-Pin Mini-Phoenix Connector For Data and Power Preparing Captive WiresWiring a Power Connection DB9 Device Port Connections and Wiring RS-232 RS-422 RS-485ICSNet Port Connections and Wiring RS-232/422/485 Device Port Wiring SpecificationsICSNet RJ-45 Signals RJ-45 Pinout Information EIA/TIA 568 BICSHub OUT Port Connections and Wiring Relay Port Connections and WiringICSHub OUT Pinouts and Signals Relay ConnectionsPort Wiring Specifications NI-2000 Input/Output I/O Port Connections and WiringPort Wiring Specifications NI-4000 and NI-3000 IR/Serial Port Connections and Wiring NetLinx Control Card Slot Connector NI-4000 onlyIR/Serial Connector Wiring Specifications per Port Signal FunctionEthernet/RJ-45 Port Connections and Wiring Ethernet RJ-45 Pinouts and SignalsPin Signals Connections Pairing Color Ethernet LEDsPort type Description Standard Port # Ethernet Ports Used By the Integrated ControllerEthernet Port Descriptions Page It’s Your World Take Control