controllogix user manual automax dcsnet and automax...

66
Rockwell Automation ControlLogix AutoMax DCSNet and AutoMax Remote I/O Communication Interface Module (Cat. No. 56AMXN) User Manual

Upload: others

Post on 27-Jun-2020

25 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Rockwell Automation

ControlLogixAutoMax DCSNet andAutoMax Remote I/OCommunication InterfaceModule

(Cat. No. 56AMXN)

User Manual

Page 2: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 2 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Important User Information

Solid state equipment has operational characteristics differing from thoseof electromechanical equipment. “Safety Guidelines for the Application,Installation and Maintenance of Solid State Controls” (Publication SGI-1.1) describes some important differences between solid state equipmentand hard–wired electromechanical devices. Because of this difference,and also because of the wide variety of uses for solid state equipment, allpersons responsible for applying this equipment must satisfy themselvesthat each intended application of this equipment is acceptable.

In no event will Rockwell Automation be responsible or liable forindirect or consequential damages resulting from the use or applicationof this equipment.

The examples and diagrams in this manual are included solely forillustrative purposes. Because of the many variables and requirementsassociated with any particular installation, Rockwell Automation cannotassume responsibility or liability for actual use based on the examplesand diagrams.

Rockwell Automation assumes no patent liability with respect to use ofinformation, circuits, equipment, or software described in this manual.

Reproduction of the contents of this manual, in whole or in part, withoutwritten permission of Rockwell Automation is prohibited.

Throughout this manual we use notes to make you aware of safetyconsiderations.

Identifies information about practices or circumstances that can lead topersonal injury or death, property damage, or economic loss.

Attentions help you:

• identify a hazard

• avoid the hazard

• recognize the consequences

Important: Identifies information that is especially important forsuccessful application and understanding of the product.

Microsoft is a registered trademark of Microsoft Corporation.

Windows, Windows 95 and Windows NT are trademarks of Microsoft Corporation.

ControlLogix and Data Highway Plus are trademarks of the Allen-Bradley Company, Inc.

Page 3: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

56AMXN AUTOMAX DCSNET/RE RIO MODULE 6

Overview 6

Mapping and Accessing DCS Data 7DCS Register Architecture 9

Hardware Features 10

Other Requirements 10

INSTALLATION 11

Prevent Electrostatic Discharge 11

Set the Switches 11

Prepare the Chassis for Module Installation 12Determine Module Slot Location 12Insert the Module in the Chassis 12

Cabling and Termination 13

Software Installation 14

QUICK START 15

DCS Master 15

DCS Slave 15

Remote I/O Master 16

CONFIGURING THE MODULE IN RSLOGIX 5000 17

Using the Configuration Signature 18

Importing Tags 19

Configuring Input-Only Connections 19

USING THE DCS CONFIGURATION PROGRAM 22

Overview 22Drop Data Registers 23Drop 0 Registers 23

Page 4: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 4 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Dragging and Dropping 24Deleting Mappings 25

Configuring a DCS Master 25Setting the Module Properties 25Adding Drops 26Deleting Drops 26Mapping the Data 27

Configuring a DCS Slave 27Setting the Module Properties 27Adding Drops 28Deleting Drops 28Mapping the Data 28

DCS Bridging 29

The Configuration Signature 31

Exporting Tags 31

USING THE 56AMXN AS A REMOTE I/O MASTER 33

The Configuration Program 33

Procedure 33

AutoConfiguring from the Network 34

Uploading a Configuration from the 56AMXN 34

The Network Tree 34

Remote I/O Tags 36

The Configuration Signature 36

USING THE MSG INSTRUCTION TO ACCESS DATA ON THE MODULE 37

DCS Data Object 37Instance Level Services 39

USING DDE/OPC TO ACCESS DCS DATA ON THE MODULE 50

USING THE MONITOR PROGRAM 51

Monitoring DCS Registers 52

Monitoring CLX Registers 53

Page 5: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Monitor Diagnostics 54

The Debug Log 56

The Copy Table 57

Fatal Errors 57

TROUBLESHOOTING 58

LEDs 58NET LED – DCS/RIO Network Status 58CLX LED – ControlBus Status 58OK LED – Module Health 59

4-Character Display 59

Using 56AmxnMon for Troubleshooting 60

Reading Diagnostic Counters into the ControlLogix Program 61

Using RSLogix 5000 to Diagnose Problems 61General Tab 61Connection Tab 61Module Info Tab 62Backplane Tab 62

UPDATING THE FIRMWARE 63

SPECIFICATIONS 64

SUPPORT 65

Page 6: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

56AMXN AutoMax DCSNet/RE RIO Module

Overview

This document is a user guide for the 56AMXN module, which allows aRockwell Automation ControlLogix backplane to communicate with anAutoMax DCS network or an AutoMax Remote I/O network. Themodule can act as a DCS master, a DCS slave or a remote I/O master.

As a DCS master, the module:

• Scans up to 55 slave drops

• Transmits 8 words of broadcast data every 2.8 ms.

• Maintains standard DCS diagnostic counters

• Supports up to 248 words of master output and broadcast datamapped into the ControlLogix scheduled output area

• Supports up to 250 words each of master input and diagnostic data(500 words total), mapped into each of the ControlLogix scheduledinput and status areas

• Allows access to unmapped input, output and diagnostic data usingthe ControlLogix MSG function or using PCCC messages fromRSLinx and other HMIs

As a DCS slave, the module:

• Acts as any drop from 1 to 55, with drop depth from 1 to 55, with 32words of input data and 32 words of output data per drop

• Receives 8 words of broadcast data from the master every 2.8 ms.

• Monitors the input and output data on others drops on the network

• Maintains standard DCS diagnostic counters

• Supports up to 248 words of slave input data from the module to themaster, mapped into the ControlLogix scheduled output area

• Supports master output data, input and output data on monitoreddrops, 8 words of broadcast data, and diagnostic counter datamapped into the ControlLogix scheduled input and status data areas.It supports up to 250 words mapped into each area.

As a Remote I/O master, the module:

• Scans up to 7 drops

• Supports up to 248 words of scheduled output data and 250 words ofscheduled input data

• Maintains diagnostic counters

Page 7: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 7

Publication number 56AMXN-UM001A-EN-P August 2001

As either a DCS master or slave, the module supports bridging, whichmeans that it can obtain its transmit data for any drop from another56AMXN module in the rack. Refer to Chapter 5 for details.

You can use a DDE or OPC server, such as RSLinx, capable of accessingthe ControlLogix backplane, to access the DCS data directly on the56AMXN. The module "emulates" PLC-5 integer files 100-155. Eachfile corresponds to a DCS drop.

The module supports ControlLogix scheduled data RPIs from 0.2 to 750ms.

A watchdog timer is implemented in the module’s hardware. If thefirmware does not kick the watchdog within the timeout period thewatchdog bites and places the module into a safe fatal failure state.

A jabber inhibit timer is implemented in the module’s hardware. If thenetwork transmitter is on longer than 150% of the longest network frametime, the transmitter is forced off and the module is placed into a safefatal failure state.

The module firmware can be updated using ControlFlash.

Mapping and Accessing DCS Data

ControlLogix modules that use the generic profile are limited to 248words of scheduled output data, 250 words of scheduled input data and250 words of scheduled status input data. On a DCS network, there canbe up to 55 drops with 32 words of data from the master to each slaveand 32 words of data from each slave to the master. Potentially therecould be up to 55 * 32 = 1760 words in each direction, much more thanthan can fit into the module’s scheduled data areas.

The 56AMXN has access to all the data on the DCS network. You usethe configuration tool (56AmxnDcsCfg) provided to map time criticaldata into the ControlLogix scheduled data areas. You can select whichregisters on a drop you wish to map to scheduled data; you do not haveto map all the registers on a drop.

You map data that the module writes into the scheduled output area. Forexample, if the module is a DCS master, you can map any of registers32-63 for each drop, as well as the global broadcast data, into theControlLogix scheduled output data for the module. If the module is aDCS slave, you can map registers 0-31 for the module’s own activedrops (as set by the drop number and drop depth) into the ControlLogixscheduled output data for the module. The maximum amount ofscheduled output data you can map is 248 words.

You map data that the module receives into the ControlLogix scheduledinput and scheduled status input data areas for the module. For example,if the module is a DCS master, you can map registers 0-31 for each drop,as well as the module’s drop 0 registers, into the input and status inputareas. If the module is a DCS slave, you can map registers 32-63 on the

Page 8: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 8 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

module’s active drops, registers 0-63 on monitored drops, the globalbroadcast data from the master, and the module’s drop 0 registers, intothe scheduled input and scheduled status input areas for the module. Themaximum amount of scheduled input data you can map is 250 words; themaximum amount of scheduled status input data you can map is 250words (500 words total).

The data mapping is stored in flash memory on the 56AMXN module.

You can also read and write any DCS data on the module using MSGinstructions in the ControlLogix program. If you use MSG instructionsto read or write data that is also mapped as scheduled data, anythingwritten by the MSG instruction will be overwritten when the scheduleddata updates.

WARNING!!

It is essential that the control program on the ControlLogix matches theaddresses in the mapping configuration on the 56AMXN. Otherwise thecontrol program may inadvertently write to the wrong DCS networkregisters. If you change the data mappings on the 56AMXN, make surethat the control program is using the correct addresses.

We strongly recommend that you use the Configuration Signaturefeature of the 56AMXN to keep the ControlLogix control program andthe 56AMXN mapping configuration synchronized.

Refer to page 18 for information on using the Configuration Signature.

Page 9: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 9

Publication number 56AMXN-UM001A-EN-P Aug

DCS Register Architecture

The following diagram shows how the DCS registers and ControlLogixregisters are related

Drop 0

Drop 1

Drop 55

Diag counters

Broadcast

Registers 0-31

Registers 32-63

Registers 0-31

Registers 0-31

Registers 0-31

Registers 32-63

Registers 32-63

Registers 32-63

Drop 2

You use56AmxnDcsCfg toconfigure which data istransferred betweenthe CLX data areasand the DCS dataareas using scheduledtransfers.

You can monitordata in both areasusing 56AmxnMon

CLX Data Areas DCS Data Areas

56AMXN Register Architecture

OutputsModule

Transmit

Data

InputsModule

Receive

Data

StatusModule

Receive

Data

ConfigurationConfiguration

Signature

To/from

DCSNet

To/from

CLX

ust 2001

Page 10: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 10 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Hardware Features

The following diagram shows the features of the module.

NET OKCLX

DCSNet / RE RIO

XXXX

Network

The module has:

• A label to indicate that it is a scanner for AutoMax DCS and remoteI/O

• A 4-character scrolling display (XXXX)

• 3 LEDs, labelled NET, CLX, and OK, to indicate the status of thenetwork, the connection to the ControlLogix processor, and its owninternal state

• a 9-pin D-shell connector to connect to the DCS or remote I/Onetwork

• switches at the top of the module to set the mode of operation andthe drop number and drop depth

The module hardware consists of:

• Processor – 100MHz IDT MIPS

• FLASH memory - 1Mbyte (512Kx16)

• Local RAM - 1Mbyte (256Kx32) 50Mhz synchronous SRAM

• Shared RAM - 512Kbyte (128Kx32) 20ns asynchronous SRAM

Other Requirements

To use the configuration or monitor programs, you require RSLinx OEM or above. You cannot useRSLinx Lite.

Page 11: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 11

Publication number 56AMXN-UM001A-EN-P August 2001

Installation

Prevent Electrostatic Discharge

The module is sensitive to electrostatic discharge.

ATTENTION: Electrostatic discharge can damage integrated circuitsor semiconductors if you touch backplane connector pins. Follow theseguidelines when you handle the module:

• Touch a grounded object to discharge static potential

• Wear an approved wrist-strap grounding device

• Do not touch the backplane connector or connector pins

• Do not touch circuit components inside the module

• If available, use a static-safe work station

• When not in use, keep the module in its static-shield packaging

Set the Switches

The module’s mode of operation depends on the settings of the rotaryswitches at the top of the module. Before you install the module in therack, set the switches as shown in the table.

Drop

MSD

Drop

LSD

Depth

MSD

Depth

LSD

AutoMax Network Operation

0 0 0 0 DCS Master

X X Y Y DCS Slave Drop XX (1-55), Depth

YY (1-55)

0 0 0 1 RIO Master

Table 1 56AMXN Switch Settings

Any other settings are invalid and result in the module going into“Thumbwheel test” mode. In thumbwheel test mode, the display showsthe current switch settings. It doesn’t go out of thumbwheel test modeuntil you turn off the power and set the switches to valid numbers.

In thumbwheel test mode, the 56AMXN initially displays “Thumb TestMode” on the 4-character display, displays the switch settings for 5seconds, then resumes displaying “Thumb Test Mode”

For DCS slave operation, if the drop number and drop depth areindividually valid but the combination results in invalid drop numbers(for example, drop number 55, drop depth 2), the module displays an

Page 12: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 12 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

error message on the 4-character display but does not enter Thumbwheeltest mode.

Prepare the Chassis for Module Installation

Before you install the module, you must install and connect aControlLogix chassis and power supply. To install these products, referto the installation instructions you received with them.

Determine Module Slot Location

This example shows chassis slot numbering in a 4-slot chassis. Slot 0 isthe first slot and is always located to the right of the power supply. Youcan use any size ControlLogix chassis and install the module in any slot.

You can use multiple modules in the same chassis.

Insert the Module in the Chassis

This module is designed to be installed or removed while chassis poweris applied.

ATTENTION: When you insert or remove a module while backplanepower is on, an electrical arc may occur. An electrical arc can causepersonal injury or property damage by:

• sending an erroneous signal to your system’s actuators causingunintended machine motion or loss of process control.

• causing an explosion in a hazardous environment.

Repeated electrical arcing causes excessive wear to contacts on both themodule and its mating connector. Worn contacts may create electricalresistance that can affect module operation.

Page 13: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 13

Publication number 56AMXN-UM001A-EN-P August 2001

Cabling and Termination

Use drop cable (612574-36R) and passive tap (M/N 57C380) to connectthe module to the coaxial network cable. This cable turns down and hasa ferrite to reduce EMI. This cable must be used in CE applications. Youcan also use drop cable 612403-036R but it points up.

The drop cable is a 3-foot long multiconductor cable with 9-pin D-shellconnectors at each end. Connect one end to the connector on the moduleand the other end to the passive tap.

The passive tap has two BNC connectors for connection to the coaxialcables and terminating loads.

Page 14: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 14 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

The network coaxial cable must be terminated with 75 ohm terminatingloads attached to the taps at the physical ends of the network. Thereshould be two and only two terminators on the network.

For DCS, the network cable can be RG-59/U or RG-11/U. For remoteI/O, the cable must be RG-59/U.

Software Installation

You must delete any previous version of the software before you caninstall a new version. Use the Windows Control Panel Add and RemovePrograms to remove the old version.

RSLinx should be installed before you install the 56AMXN software.The 56AMXN software requires RSLinx OEM or Professional; it doesnot not work with RSLinx Lite.

Insert the CD with the module software and run the program setup.exeon the CD.

Messages about DTL32.DLL when you install or run the programsindicate problems with the RSLinx installation. Confirm that you arehave RSLinx OEM or RSLinx Professional (not RSLinx Lite) installed.

Page 15: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 15

Publication number 56AMXN-UM001A-EN-P August 2001

Quick StartThe following sections provide a brief summary of the steps necessary toget the module running in each of the possible modes.

DCS Master

1. Set the module switches and install the module in the ControlLogixrack.

2. Run the 56AmxnDcsCfg program.

3. Right click on the root of the network tree and select Edit 56AMXNfrom the menu.

4. Set the Module Name.

5. Set the Drop Address to 0. You cannot set the Drop Depth if the dropnumber is 0.

6. Click OK.

7. Add the drops you would like to be available for mapping.

8. If the module is connected to the DCS network, you can right clickon the root of the network tree and select Browse DCS-NET fromthe menu. This command examines the network active drop list andadds any drops present to the network tree.

9. If the module is not connected to the DCS network, for each dropyou wish to add, right click on the root of the network tree and selectthe Add Node command. Give the drop a name and enter its dropnumber and drop depth. Click OK to accept each drop.

10. Map the data. Drag individual registers or entire groups of registersfrom the network tree to the mapping area on the right side of thescreen. When you drop the registers in the mapping area, theconfiguration program shows the ControlLogix registers the datagets mapped to.

11. Download the configuration to the module. Right click on the56AMXN module and select the Configure 56AMXN command.

12. Create a new project in RSLogix 5000 and configure the module.Remember to enter the Configuration Signature. Download theprogram to the processor.

13. (Optional) Export tags from the module configuration program andimport them into RSLogix 5000.

DCS Slave

1. Set the module switches and install the module in the ControlLogixrack.

2. Run the 56AmxnDcsCfg program.

Page 16: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 16 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

3. Right click on the root of the network tree and select Edit 56AMXNfrom the menu. Set the Module Name. Set the Drop Address andDrop Depth to match the switch settings on the module. Click OK. Ifyou are going to monitor the data on other drops on the network, addthose drops to the network tree.

4. If the module is connected to the network, you can right click on theroot of the network tree and select Browse DCS-NET from themenu. This command examines the network active drop list and addsany drops present to the network tree.

5. If the module is not connected to the network, for each drop youwish to add, right click on the root of the network tree and select theAdd Node command. Give the drop a name and enter its dropnumber and drop depth. Click OK.

6. Map the data. Drag individual registers or entire groups of registersfrom the network tree to the mapping area on the right side of thescreen. The configuration program shows the ControlLogix registersthe data gets mapped to.

7. Download the configuration to the module. Right click on the56AMXN module and select the Configure 56AMXN command.

8. Create a new project in RSLogix 5000 and configure the module.Remember to enter the Configuration Signature. Download theprogram to the processor.

9. (Optional) Export tags from the module configuration program andimport them into RSLogix 5000.

Remote I/O Master

1. Set the module switches and install the module in the ControlLogixrack.

2. Connect the module to the remote I/O network.

3. Run the 56AmxnRioCfg program and connect to the module usingRSLinx.

4. Do an Actions/Auto Config command to read the networkconfiguration and store it on the 56AMXN.

5. Do a File/Export Tags to export the tags to a CSV file.

6. Run RSLogix 5000 and configure the module. Remember to enterthe Configuration Signature.

7. Import the tags you exported from 56AmxnRioCfg into RSLogix5000.

8. You can now write your ladder logic using the tags you imported,download the program, etc.

Page 17: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 17

Publication number 56AMXN-UM001A-EN-P August 2001

Configuring the Module in RSLogix 5000You configure the module in RSLogix 5000 to set the module type, howmuch scheduled data to transfer and how often to transfer it.

To configure the module in RSLogix 5000, you must be offline.

1. If you are creating a new project, select File/New to create a newproject, give the processor a name, and enter the slot it occupies inthe ControlLogix rack.

2. Right click on I/O configuration and select New Module…

3. Select a module of Type 1756-MODULE, Description Generic 1756Module from the list and Click OK. RSLogix 5000 displays theModule Properties – Local dialog box.

Figure 1 Module Properties Dialog 1

4. Assign the module a Name and optionally a Description.

5. Set the Comm Format to Data – INT – with Status.

6. Set the Slot to match the slot number of the module in the chassis.

7. The Input Assembly Instance should be 1. The size should be largeenough to allow all the data to be passed (or larger). The maximumsize is 250 words. The minimum size is determined by the largestoffset assigned to input data.

8. The Output Assembly Instance should be 2. The size should be largeenough to allow all the data to be passed (or larger). The maximum

Page 18: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 18 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

size is 248 words. The minimum size is determined by the largestoffset assigned to output data.

9. The Configuration Assembly Instance should be 4. The size shouldbe the 4.

10. The Status Input Assembly Instance should be 5. The size should belarge enough to allow all the data to be passed (or larger). Themaximum size is 250 words. For DCS operation, the minimum sizeis determined by the largest offset assigned to status data. ForRemote I/O master operation, set the size to 1.

11. The Status Output Assembly Instance should be 6. You cannot setthe size.

12. Click Next > to display the second Module Properties – Local dialogbox

Figure 2 Module Properties Dialog 2

Connection Parameters

13. Next you set the module RPI. This is how often the module’sscheduled data is updated in the processor. The value can rangefrom 0.2 to 750 ms. The default is 5 ms.

14. Click Finish >> to complete the module configuration.

Using the Configuration Signature

Both the DCS and Remote I/O configuration programs compute aconfiguration signature that is a CRC based on the current I/Oconfiguration. The purpose of the configuration signature is to ensure

Page 19: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 19

Publication number 56AMXN-UM001A-EN-P August 2001

that the DCS mapping table or remote I/O configuration stored in flashmemory on the 56AMXN is the correct one. Otherwise, yourControlLogix program may be reading from or writing to incorrectlocations.

You enter the configuration signature from the configuration program inthe module configuration data area (Local:slot#:C:Data[0] toLocal:slot#:C:Data[3]) in RSLogix 5000 to ensure that the I/Oconfiguration on which the ControlLogix program is based matches theconfiguration on the module.

If the Configuration Signature in the RSLogix 5000 program doesn'tmatch the configuration signature on the module, the module returns akey segment mismatch error to the ControlLogix when the ControlLogixprocessor tries to open a connection to the module.

If the connection is already open and you change the ConfigurationSignature in the ControlLogix Configuration data area, it has no effectuntil the connection is closed and reopened, for example, by cyclingpower, or by removing and reinserting the module.

You can disable Configuration Signature checking by entering FF FF FFFF in the configuration data for the module in RSLogix 5000.

Refer to page 31 (DCS) or 36 (remote I/O) for information on obtainingthe value to use for the configuration signature.

Importing Tags

1. To import the tags exported from either the DCS or Remote I/Oconfiguration programs,select Tools/Import Tags…

2. Type or browse in the file name.

3. Make sure Overwrite existing tag with imported tag and Create tag ifit doesn’t exist are both checked.

4. Click Import and RSLogix 5000 imports the tags.

5. Double click on Controller Tags in the Controller Organizer tree toview the tags.

Configuring Input-Only Connections

In a ControlLogix system, multiple processors can receive inputs from amodule. Only one processor can control the outputs. To configure aninput-only connection to the module:

Right click on I/O configuration and select New Module…

Page 20: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 20 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Select a module of Type 1756-MODULE, Description Generic 1756Module from the list and Click OK. RSLogix 5000 displays the ModuleProperties – Local dialog box.

Figure 3 Module Properties 1

1. Assign the module a Name and optionally a Description.

2. Set the Comm Format to Input Data – INT – With Status

3. Set the Slot to match the slot number of the 56AMXN module in thechassis.

4. The Input Assembly Instance should be 1. The size should be largeenough to allow all the data to be passed (or larger). The maximumsize is 250 words. The minimum size is determined by the largestoffset assigned to input data.

5. The Output Assembly Instance should be 3. You cannot set the size.

6. The Configuration Assembly Instance should be 4. The size shouldbe the 4.

7. The Status Input Assembly Instance should be 5. The size should belarge enough to allow all the data to be passed (or larger). Themaximum size is 250 words. For DCS operation, the minimum sizeis determined by the largest offset assigned to status data. ForRemote I/O master operation, set the size to 1.

8. The Status Output Assembly Instance should be 6. You cannot setthe size.

9. Click Next > to display the second Module Properties – Local dialogbox.

Page 21: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 21

Publication number 56AMXN-UM001A-EN-P August 2001

Figure 4 Module Properties 2

Connection Parameters

1. Next you set the module RPI. This is how often the module’sscheduled data is updated in the processor. The value can rangefrom 0.2 to 750 ms. The default is 5 ms.

2. Click Finish >> to complete the module configuration.

3. All connections to the module must have the same lengths and RPIs.

Page 22: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 22 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Using the DCS Configuration ProgramControlLogix modules that use the generic profile are limited to 248words of scheduled output data and 250 words each of scheduled inputand status data. On a DCS network, there can be up to 55 drops with 32words of data from the master to each slave and 32 words of data fromeach slave to the master. Potentially there could be up to 55 * 32 = 1760words in each direction, much more than than can fit into the module’sscheduled data areas.

The program 56AmxnDcsCfg is supplied with the 56AMXN module tomap network data into the scheduled data the module transfers to theControlLogix processor for either DCS master or DCS slave operation.

You then download the configuration to the module using RSLinx.

If you require more DCS data than can be accommodated in thescheduled data areas, there are two possible solutions:

• Use MSG instructions to transfer some of the data between theprocessor and the module. This transfer is slower than usingscheduled data but may be fast enough for the application. Refer tothe chapter Using the MSG Instruction to Access Data on theModule for detailed information.

• Use more than one 56AMXN module.

Overview

Figure 5 56AmxnDcsCfg

Page 23: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 23

Publication number 56AMXN-UM001A-EN-P August 2001

The left side of the 56AmxnDcsCfg screen is the network tree. Itrepresents the 56AMXN module, the broadcast data registers and globalstatus registers associated with the module, the other nodes on thenetwork, and the data registers associated with them.

The right side of the screen is the data mapping area. You drag individualregisters or entire groups of registers from the network tree to themapping area to map those registers into the ControlLogix.

The mapping area consists of three tabs:

• ControlBus input data

• ControlBus output data

• ControlBus status data

The data you can map into each area depends on whether the module isconfigured as a master or as a slave.

ControlLogix output data is always the data the module transmits. If themodule is a DCS master, the ControlLogix output data is used for thedata the module sends to drops in registers 32-63, or for broadcast data.If the module is a DCS slave, the ControlLogix output data is the data themodule sends to the master in registers 0-31 for one of its active drops.

You cannot map DCS registers to more than one ControlLogix register,in the same or in a different ControlLogix data area. For example, youcannot map one of the global status registers to the input area and mapthe same register to the status area.

Drop Data Registers

On a DCS network, each drop has 64 data registers. Registers 0-31contain the data from the slave to the master. Registers 32-63 contain thedata from the master to the slave.

Drop 0 Registers

Drop 0 registers contain information that relates to the module itself.

Broadcast Data Registers

The master on a DCS network transmits 8 words of broadcast data to allslaves every 2.8 ms. This data is found in registers 32-39 of drop 0.

The broadcast data registers are shown on the network tree in56AmxnDcsCfg.

Global Status Registers

The global status registers can be mapped into the input or status areas.They may provide useful information on the operation of the network.

Registers 4-7 contain the active drop table. The module sets bits toindicate which drops are active on the network.

Page 24: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 24 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

The table shows how bit 0 in the Active drop table is handled by the56AMXN in each mode.

Master Slave

Bits for slave drops are set.

Bit 0 is set.

Disconnect the network, bit 0remains set, all others go to 0.

Bits for its own active drops and formonitored drops are set.

Bit 0 is set if it is being scanned by amaster.

Disconnect the network, all bits goto 0.

Register 12 contains the 56AMXN drop number. In the DCS master,register 12 always contains 0.

Register 20 contains the 56AMXN drop depth. In the DCS master,register 20 always contains 0.

Register 14 contains a running count of messages received.

Register 15 contains receive timeouts. This counter increments when themodule is ready to receive but no message arrives.

Register 16 contains CRC errors. This counter increments when themodule receives a packet with a bad CRC.

Register 17 contains overrun errors. This counter increments when themodule receives a packet that is longer than 272 bytes.

Register 18 contains abort errors. This counter increments when themodule starts to receive a packet but the packet is never completed.

Register 19 contains a running count of messages transmitted.

The global status registers are shown on the network tree in56AmxnDcsCfg.

Dragging and Dropping

You can drag individual registers or entire drops/groups at one time tothe mapping area.

If you drag a single register and:

• Drop it on a selected entry, the selected entry gets replaced

• Drop it on an empty area, it gets added at the end

• Drop it in an invalid area, nothing happens, the drop just fails

If you drag an entire drop or all the broadcast data or all the diagnosticcounters and:

Page 25: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 25

Publication number 56AMXN-UM001A-EN-P August 2001

• Drop on an empty part of the mapping area, they get added to the endof the mapping table

• Drop on an existing selected mapping, the drop fails and you get anerror message

• Drop in an empty selected slot where a mapping previously existed,56AmxnDcsCfg attempts to fit as many of the group into the emptyspace as possible. If the entire group doesn’t fit, it drops as many aspossible and displays a message to say that not all the group could bemapped.

• Drop in an empty unselected slot where a mapping previouslyexisted, they get added at the end of the mapping table.

When you add mappings, there can be a maximum of 16 mappings perdrop per area (input, output or status). If you exceed this limnit,56AmxnDcsCfg gives you an error when you try to download theconfiguration to the 56AMXN. You must reorganize the mappings sothat they are more contiguous.

Deleting Mappings

To delete a mapping or group of mappings, select them and press Delete.You can use the Ctrl and Shift keys to select multiple mappings.

Addresses of remaining mappings are left unchanged.

Configuring a DCS Master

Setting the Module Properties

You use the Edit 56AMXN command to set the drop number and dropdepth for the 56AMXN module in the current configuration. You canalso assign the module a name.

Right click on the root of the Network tree and select Edit 56AMXN.The 56AMXN Properties dialog appears.

Figure 6 Module Properties Dialog – DCS Master

Page 26: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 26 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Set the drop number to 0 to configure the module as a DCS master. If thedrop number is 0, you cannot set the drop depth. If you change the dropnumber, all mappings will be deleted.

The Edit 56AMXN dialog box also displays the Configuration Signature.Refer to page 31 for further information on the Configuration Signature.

Adding Drops

To map data on the drops the module scans, you must first add thosedrops to the network tree. There are two ways to add drops to the tree.

If the module is online with the DCS network, right click on the root ofthe network tree and select Browse DCS-NET from the menu. Theconfiguration program adds any drops in the active drop list to thenetwork tree.

If the module is not online with the DCS network, you must add thedrops manually. Right click on the root of the network tree and selectAdd Node from the menu.

Figure 7 Add Drop Dialog

Enter a name (up to 40 characters long), the drop number and the dropdepth. If the drop number is greater than 1, the name will be applied toall the drops added.

56AmxnDcsCfg checks for overlaps when you add drops.

Deleting Drops

To delete a drop from the network tree, right click on the drop and selectDelete from the menu. Deleting a drop removes any mappings you havecreated for that drop.

Page 27: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 27

Publication number 56AMXN-UM001A-EN-P August 2001

Mapping the Data

You map the DCS network data by dragging individual registers orgroups of registers from the network tree to the mapping area.

If the module is a DCS master, the following table shows where eachdata type can be mapped.

Data Type ControlLogix Area

Broadcast data

Drop registers 32-63

Outputs

Global status registers

Drop registers 0-31

Inputs or Status

Table 2 DCS Master Data Mappings

Configuring a DCS Slave

Setting the Module Properties

You use the Edit 56AMXN command to set the drop number and dropdepth for the 56AMXN module in the current configuration. You canalso assign the module a name.

Right click on the root of the Network tree and select Edit 56AMXN.The 56AMXN Properties dialog appears.

Figure 8 Module Properties Dialog - DCS Slave

Set the drop number and drop depth to match the switch seetings on themodule. If you change the drop number, all mappings will be deleted.

The Edit 56AMXN dialog box also displays the Configuration Signature.Refer to page 31 for further information on the Configuration Signature.

Page 28: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 28 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Adding Drops

When you configure the module as a DCS slave, its own active drops areautomatically added to the network tree.

To map data on other monitored drops on the network, you must first addthose drops to the network tree. There are two ways to add drops to thetree.

If the module is online with the DCS network, right click on the root ofthe network tree and select Browse DCS-NET from the menu. Theconfiguration program adds any drops in the active drop list to thenetwork tree.

If the module is not online with the DCS network, you must add thedrops manually. Right click on the root of the network tree and selectAdd Node from the menu.

Figure 9 Add Drop Dialog

Enter a name (up to 40 characters long), the drop number and the dropdepth. If the drop number is greater than 1, the name will be applied toall the drops added.

Deleting Drops

To delete a drop from the network tree, right click on the drop and selectDelete from the menu. Deleting a drop removes any mappings you havecreated for that drop.

Mapping the Data

You map the DCS network data by dragging individual registers orgroups of registers from the network tree to the mapping area.

If the module is a DCS slave, the following table shows where data typecan be mapped.

Page 29: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 29

Publication number 56AMXN-UM001A-EN-P August 2001

Data Type ControlLogix Area

Drop registers 0-31 on the module's activedrops

Outputs

Broadcast data

Global status registers

Drop registers 32-63 on any drops

Drop registers 0-31 on monitored drops

Inputs or Status

Table 3 DCS Slave Data Mappings

Active drops are the module’s own drops when it is configured as a DCSslave. For example, if the drop number is 5 and the drop depth is 3,drops 5, 6, and 7 are active drops. Any other drops on the network aremonitored drops.

DCS Bridging

Normally the 56AMXN module gets the data it transmits for any dropfrom the ControlLogix output registers mapped to that drop. This is truewhether the module is a DCS master or DCS slave.

The 56AMXN module also supports another method of obtaining thedata it transmits. This method is called bridging. A bridged node obtainsits transmit data for a drop from another 56AMXN module (andtherefore usually from another AutoMax DCS network). The modulefrom which it obtains the data is called the source module.

Figure 10 DCS Bridging

In the diagram, the module in slot 9 is bridged to the module in slot 4. Itobtains data from Network 1 and transmits in on Network 2.

The data can come from DCS registers from a drop on the sourcemodule, or it can come from 32 consecutive ControlLogix registers on

Page 30: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 30 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

the source module. The advantage of using the ControlLogix registers isthat the data can come from anywhere on the source network, using theDCS configuration program to map the data.

You can use bridging whether the module is a DCS master or a DCSslave.

The modules must be in the same rack.

Here’s how it works… When the module is updating the drop before thebridged drop, it sends a message to the source module for the data. Thereply comes back in time for the module to send out the data when itupdates the bridged drop. If the data was just about to be updated on thesource, the worst case data update time is the scan time on the sourcemodule’s network + 3 ms.

To configure a drop as a bridged drop, right click on the drop in thenetwork tree and select Properties. The Network Node Properties dialogbox opens.

For the Type, select either:

• DCS_REG to obtain the data from the source module's DCS registers

• CLX_REG to obtain the data from the source module's ControlLogixregisters

If you choose DCS_REG, you then select:

• the CLX slot the bridged-to module resides in, 0-16

• the drop number of the data to be collected, 0-55

• the starting register, 00 or 32

Page 31: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 31

Publication number 56AMXN-UM001A-EN-P August 2001

If you choose CLX_REG, you then select:

• the CLX slot the bridged-to module resides in, 0-16

• the data area from which the data is to be obtained, either INPUT orSTATUS

• the starting register, 00-224, in steps of 32

The Configuration Signature

For DCS networks, the Configuration Signature for the currentconfiguration is displayed in the Edit 56AMXN dialog box. To view it,right click on the root of the network tree and select Edit 56AMXN.

The configuration signature displayed is updated whenever the datamappings change.

If you change anything in the configuration and you are using theConfiguration Signature, you must update the Configuration Signature inthe Configuration data in RSLogix 5000. Refer to page 18 forinformation on how to do this.

Exporting Tags

To export tags from 56AmxnDcsCfg, select File/Export Tag File. Youmust first select the slot the module occupies, either by typing it in or byusing RSLinx to browse it in.

Next enter the filename where the tags will be stored. This file will haveextension CSV. The file is a comma-separated text file that can beimported into RSLogix 5000.

Click Save to save the exported tag file.

The format of each record is:

TYPE always "ALIAS"

SCOPE "", defaults to controller scope

NAME the name created by 56AmxnDcsCfg

DESCRIPTION always "" (blank)

DATATYPE "", defaults to INT

SPECIFIER the ControlLogix address for the data

Table 4 DCS Tag Format

Some examples...

ALIAS,"","AmxDcsIn_15_Drop00_Reg19","","","Local:15:I.Data[10]"

Page 32: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 32 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

ALIAS,"","AmxDcsIn_15_Drop00_Reg20","","","Local:15:I.Data[11]"

ALIAS,"","AmxDcsOut_15_Global_Broadcast_Reg32","","","Local:15:O.Data[0]"

ALIAS,"","AmxDcsOut_15_Global_Broadcast_Reg33","","","Local:15:O.Data[1]"

The name starts with “AmxDcsIn” or “AmxDcsOut” to indicate the register type. This is followed by theControlLogix slot number. Next is the data origin, either “Global_Broadcast”, “

Page 33: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 33

Publication number 56AMXN-UM001A-EN-P August 2001

Using the 56AMXN as a Remote I/O MasterAs a Remote I/O master, the module:

• Scans up to 7 drops

• Supports up to 248 words of scheduled output data and 250 words ofscheduled input data

• Maintains diagnostic counters

You configure the module using the utility provided. It reads the onlinenetwork and stores the network configuration in flash memory on the56AMXN.

When you subsequently run the module, if the online networkconfiguration does not match the configuration in flash, the moduledisplays an error message on the 4-character display and does not bringthe mismatched drops online.

If the network changes, you must rerun the configuration program andstore the new configuration in flash.

The Configuration Program

You use 56AmxnRioCfg to configure the 56AMXN ControlLogixAutoMax module as an AutoMax Remote I/O master. 56AmxnRioCfg isan online configuration tool. The 56AMXN module must be connectedto the Remote I/O network to configure the module.

56AmxnRioCfg reads the network configuration and stores it to flashmemory on the module. It also generates a tag file that you import intoRSLogix 5000 to access the data.

Remote I/O operation assumes that all the data on the remote I/Onetwork is data you want. Therefore there is no mapping procedure;56AmxnRioCfg assigns locations in ControlLogix memory for all themodules it finds on the remote I/O network. If there is too much data tofit into 248 words of outputs data and 250 words of input data, you mustsplit the network and use more than one 56AMXN module.

56AmxnRioCfg communicates with the module using RSLinx. Youmust have RSLinx OEM or above; you cannot use RSLinx Lite.

When you run the program, it first displays an RSWho window. Expandthe tree to find the path to the 56AMXN module you wish to configure.

Procedure

1. Start 56AmxnRioCfg.

2. Select the path to the 56AMXN module in the RSWho window.

3. Select Actions/Auto Config command to read the networkconfiguration and store it on the 56AMXN.

Page 34: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 34 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

4. Select File/Export Tags to export the tags to a CSV file.

5. Run RSLogix 5000 and configure the module.

6. Import the tags you exported from 56AmxnRioCfg into RSLogix5000.

7. Enter the Configuration Signature in the configuration data for themodule in RSLogix 5000.

8. You can now write your ladder logic using the tags you imported,download the program, etc.

AutoConfiguring from the Network

When you perform an autoconfiguration, the module reads the contentsof the network currently connected and stores it in flash memory on themodule and displays it on the screen.

If the network changes, you must do an Autoconfiguration with the newnetwork so that the configuration in flash matches the network.Otherwise, the module will not be able to bring mismatched dropsonline.

Uploading a Configuration from the 56AMXN

To upload the configuration from a running 56AMXN module in remoteI/O master mode, run 56AmxnRioCfg and select Actions/Upload Config.56AmxnRioCfg displays the network tree for the network.

The Network Tree

After you autoconfigure or upload from the module, 56AmxnRioCfgdisplays a tree structure that shows the drops on the network.

Page 35: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 35

Publication number 56AMXN-UM001A-EN-P August 2001

Figure 11 56AmxnRioCfg

The tree is divided into three main areas:

• The Configuration Signature

• ControlLogix Inputs

• ControlLogix Outputs

You can expand each area to show its contents.

The interpretation of the numbers shown after the tree elements dependson what type of element it is.

For Inputs and Outputs, the number indicates the number of registers ofeach type.

For Drops, the pair of numbers indicates the starting ControlLogix offsetand number of registers for that drop.

For Slots, the number indicates the starting ControlLogix offset for thedata for the slot.

For Registers, the number indicates the ControlLogix offset for the datafor the register.

Page 36: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 36 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Remote I/O Tags

The tag file 56AmxnRioCfg creates consists of aliases to data locations.The format of the alias name indicates the location of the data on theremote I/O network. The format of each record is:

TYPE,SCOPE,NAME,DESCRIPTION,DATATYPE,SPECIFIER where

TYPE Always "ALIAS"

SCOPE "", defaults to controller scope

NAME the name created by 56AmxnRioCfg

DESCRIPTION Always "" (blank)

DATATYPE "", defaults to INT

SPECIFIER the ControlLogix address for the data

Table 5 Remote I/O Tag Format

The format of the name is AmxRioIn_CLXslot_Drop_Slot_Register forinput data or AmxRioOut_CLXslot_Drop_Slot_Register for output data.

Some examples...

ALIAS,"","AmxRioIn_16_06_03_022","","","Local:16:I.Data[88]"

ALIAS,"","AmxRioIn_16_06_03_023","","","Local:16:I.Data[89]"

ALIAS,"","AmxRioOut_16_01_04_16","","","Local:16:O.Data[0]"

ALIAS,"","AmxRioOut_16_01_04_17","","","Local:16:O.Data[1]"

The tag file is a comma-separated variable (CSV) text file. You can editthe file to change the names or add descriptions before you import thefile into RSLogix 5000. Just remember that if the network changes, youwill have to export and edit a new file.

The advantage of using aliases in yor program is that if the networkchanges and 56AmxnRioCfg assigns new addresses in the ControlLogixmemory, you just have to export the tags for the new network, importthem into RSLogix 5000and your program will use the correct address.

The Configuration Signature

For Remote I/O master operation, the Configuration Signature isdisplayed in the network tree.

Refer to page 18 for information on entering the Configuration Signaturein RSLogix 5000.

Page 37: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 37

Publication number 56AMXN-UM001A-EN-P August 2001

Using the MSG Instruction to Access Data on theModule

You can use ControlLogix MSG instructions to access data in variousobjects on the 56AMXN module.

For example, although there are limits on the amount of DCS data youcan map as scheduled data, you can access any data on the DCS networkusing MSG instructions to the custom DCS data object.

To use a MSG command, you create a tag of type MESSAGE to act as acontrol for the MSG instruction and source and destination tags for theMSG data. You must also enter the path to the 56AMXN module.

Figure 12 MSG Block Format

The tables in the following sections list the values you unter in the MSGtags to perform the various operations.

DCS Data Object

The 56AMXN module implements a custom DCS Data Object that givesyou access to all the data on the module. You can use MSG instructionsto access the data for any drop connected to the 56AMXN module, not

Page 38: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 38 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

just the drops that have their data mapped into the scheduled data areasof the ControlLogix processor.

The following tables show the attributes, instances and servicessupported by the DCS Data Object on the 56AMXN. The combinationof service, instance, and attribute makes it possible to read or write thedata on any DCS drop.

There are instructions that read and write the data on single drops andinstructions that read and write data on multiple drops.

Note that these instructions allow you to write to areas of the networkmemory map that AutoMax would not allow.

If you read or write data that is also mapped into the scheduled data, thedata read or written with the MSG instruction will be overwritten whenthe scheduled data updates. Use scheduled mappings for time criticaldata and MSG instructions for the rest.

Refer to the ControlLogix documentation for general information on theobject model used in ControlLogix processors.

Instances

The instance is used to distinguish between registers 0-31 and registers32-63. For example, if the MSG is performing a write, it can write toonly one group of registers or the other, depending on whether it is aDCS master or DCS slave.

Instance Description

1 Registers 0-31

2 Registers 32-63

Table 6 DCS Data Object Instances

Attributes

Attributes are used to select the drop the MSG is reading from or writingto.

Attribute Description

1-55 Selects the drop number. Note that you enter theattribute in hex in RSLogix 5000

Table 7 DCS Data Object Instance Attributes

Instance Services

The DCS Data Object supports the following the following services,which are described in more detail in the sections which follow.

Page 39: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 39

Publication number 56AMXN-UM001A-EN-P August 2001

Service(hex)

Description Function

03h Get Attribute List Get the data for up to 7 drops

04h Set Attribute List Set the data for up to 7 drops

0eh Get Attribute Single Get the data for a single drop

10h Set Attribute Single Set the data for a single drop

32h DCS Register Raw Write Write a block of data to theDCS registers on the 56AMXN

33h DCS Register Raw Read Read a block of data from theDCS registers on the 56AMXN

36h Write Multiple Drops Set the data for up to 7 drops

37h Read Multiple Drops Get the data for up to 7 drops

Table 8 DCS Data Object Instance Services

Instance Level Services

You use instance level services to read and write register data on DCSdrops. Which data you can write depends on whether the module is aDCS master or slave.

Get Attribute Single, Service Code 0Eh

Note: for best performance, we recommend you use the Read MultipleDrops command (page 46), especially if you are reading the data formore than one drop.

To read the instance level attributes for a single attribute (drop), enter thefollowing parameters in the MSG block tags:

Message type CIP generic

Service code 0Eh

Class name C4h

Instancename

1 for registers 0-31

2 for registers 32-63

Attributename

Corresponds to the drop number, range 0-55. Note thatyou enter the attribute in hex in RSLogix 5000

Source Enter source tag (doesn't matter but must be entered)

Num ofelements

0

Page 40: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 40 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Destination Enter the destination tag name, must be large enoughto hold the data, make it an integer array of size atleast 32 integers

Table 9 DCS Data Object Instance Level Get Attribute Single Parameters

This command can be used to read the DCS data for any drop, includingdrop 0. You enter the drop number as the attribute, and use the instanceto select whether you want to read registers 0-31 or 32-63.

The command returns the data in 32 consecutive integers in thedestination tag.

Set Attribute Single, Service Code 10h

Note: for best performance, we recommend you use the Write MultipleDrops command (page 48), especially if you are writing the data formore than one drop.

To set the instance level attributes for a single attribute (drop), enter thefollowing parameters in the MSG block tags:

Message type CIP generic

Service code 10h

Class name C4h

Instancename

1 for registers 0-31

2 for registers 32-63

Attributename

Corresponds to the drop number, range 0-55. Note thatyou enter the attribute in hex in RSLogix 5000

Source Enter source tag, make it an integer array of size atleast 32 integers

Num ofelements

64 (bytes), but see below for attribute 0

Destination Enter the destination tag name, it doesn’t matter but itmust be entered.

Table 10 DCS Data Object Instance Level Set Attribute Single Parameters

This command can be used to write the DCS data for any drop, includingdrop 0. You enter the drop number as the attribute, and use the instanceto select whether you want to write to registers 0-31 or 32-63. Normallyyou would write to registers 0-31 as a DCS slave and to registers 32-63as a DCS master.

The length for attribute 0 is a special case.

Page 41: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 41

Publication number 56AMXN-UM001A-EN-P August 2001

For instance 1, the size must be 12 (6 words). The command writes toregisters 14-19, the diagnostic counters. For example, you could use thiscommand to clear diagnostic counters.

For instance 2, the size must be 16 (8 words). The command writes tothe broadcast registers (32-39). Normally you would do this only as aDCS master.

If you write to a register that is also mapped as scheduled data, the valueswritten by the MSG instruction will be overwritten when the scheduleddata updates.

Get Attribute List, Service Code 3

Get Attribute List is a standard ControlNet service that lets you readmore than one attribute (drop) with a single message. The 56AMXNalso supports a custom service, Read Multiple Drops (see page 46) thatperforms the same function but which has a parameter format that makesit easier to locate DCS network data.

We recommend that applications use Read Multiple Drops rather thanGet Attribute List.

To use Get Attribute List to read the instance level attributes for morethan one attribute (drop), enter the following parameters in the MSGblock tags:

Message type CIP generic

Service code 3

Class name C4h

Instancename

1 for registers 0-31

2 for registers 32-63

Attributename

leave blank

Source Enter the source tag name

Num ofelements

2 + Num of attributes (drops) * 2

Destination Enter destination tag name

Table 11 DCS Data Object Instance Level Get Attribute List Parameters

In the source file, the data consists of:

# of attributes

First Attribute #

Second attribute #

Page 42: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 42 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

And so on.

The reply consists of:

# of attributes

First Attr #

Status for first attribute

Data[32] for first attribute

Second Attr #

Status for second attribute

Data[32] for second attribute

and so on.

The attribute status reflects the status of the drop in the active drop list.The value if the drop status bit for this drop is 0 (not present) or 1 if thedrop status bit for this drop is 1 (present).

The number of attributes whose data you can read at one time is limitedby the maximum message length of approximately 500 bytes, whichcorresponds to a maximum of 7 attributes (drops).

Example

For example, to read registers 0-31 on drops 1, 4 and 7, we would set upa MSG block with the following parameters:

Message type CIP generic

Service code 3

Class name C4h

Instancename

1

Attributename

Leave blank

Source Source tag name

Num ofelements

2 + 3 * 2 = 8

Destination Destination tag name

Table 12 Get Attribute List Example

In the source tag, an array of at least 4 integers, we would enter:

3 (number of attributes)

Page 43: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 43

Publication number 56AMXN-UM001A-EN-P August 2001

1 (first attribute)

4 (second attribute)

7 (third attribute)

The reply written to the destination tag would consist of:

3 (number of attributes)

1 (status of first attribute, drop 1)

32 integers of data for drop 1

1 (status of second attribute, drop 4)

32 integers of data for drop 4

1 (status of third attribute, drop 7)

32 integers of data for drop 7

Set Attribute List, Service Code 4

Set Attribute List is a standard ControlNet service that lets you read writethe data for more than one attribute (drop) with a single message. The56AMXN also supports a custom service, Write Multiple Drops (seepage 48) that performs the same function but which has a parameterformat that makes it easier to locate DCS network data.

We recommend that applications use Write Multiple Drops rather thanSet Attribute List.

To use Set Attribute List to write the instance level attributes for morethan one attribute (drop), enter the following parameters in the MSGblock tags:

Message type CIP generic

Service code 4

Class name C4h

Instancename

1 for registers 0-31

2 for registers 32-63

Attributename

leave blank

Source enter source tag name

Num ofelements

2 + [number of attributes] * 66, see table below

Destination enter destination tag name, it doesn’t matter but it must

Page 44: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 44 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

be entered.

Table 13 DCS Data Object Instance Level Set Attribute List Parameters

Message format in the source file

# of attributes

First Attribute #

Data[32]

Second attribute #

Data[32]

etc

Number of Attributes Length Element number for Attrnumber

1 68 1

2 134 34

3 200 67

4 266 100

5 332 133

6 398 166

7 464 199

Table 14 Set Attribute List - Length and Location

If one of the attributes in the list is 0, the values in the table don’t apply.Attribute 0 is a special case for lengths.

For instance 1, the size must be 12 (6 words). The command writes toregisters 14-19, the diagnostic counters. For example, you could use thiscommand to clear diagnostic counters.

For instance 2, the size must be 16 (8 words). The command writes tothe broadcast registers (32-39). Normally you would do this only as aDCS master.

The maximum message size limits the number of attributes you can writein a single message to 7.

Page 45: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 45

Publication number 56AMXN-UM001A-EN-P August 2001

DCS Raw Write, Service Code 32h

The DCS raw write command can be used to write a block of data to theDCS data area on the module. You tell it the starting offset and the datalength and it writes the data. This is a very powerful command, use itcarefully!

Enter the following parameters in the MSG block tags:

Message type CIP generic

Service code 32h

Class name C4h

Instancename

1

Attributename

Leave blank

Source Enter source tag

Num ofelements

2 + length of data in words * 2, max 480 (max datalength = 239)

Destination Enter destination tag name, not used but must beentered

Table 15 DCS Data Object DCS Raw Write Parameters

In the source file

First word offset in words = drop * 64 + register, range is 0 to 55 *64 + 63 = 3583

Remainingwords

Data[…]

The module checks that the offset in in range and that the combination ofoffset and length is in range. If this is not true, it returns an error.

DCS Raw Read, Service Code 33h

The DCS raw read command can be used to read a block of data from theDCS data area on the module. You tell it the starting offset and the datalength and it reads the data.

Enter the following parameters in the MSG block tags:

Page 46: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 46 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Message type CIP generic

Service code 33h

Class name C4h

Instancename

1

Attributename

Leave blank

Source Enter source tag name

Num ofelements

4 (offset + length)

Destination Enter destination tag name, must be large enough tohold the data

Table 16 DCS Data Object DCS Raw Read Parameters

In the source file

First word offset in words = drop * 64 + register, range is 0 to 55 *64 + 63 = 3583

Second word Length in words, 1 to 230

Read Multiple Drops, Service Code 37h

This command is similar in purpose to Get Attribute List, except that thelayout of the data is more intuitive and makes it easier to locate the datafor a specific drop and register. The format for Get Attribute List is setby the ControlNet specification and can’t be changed.

Read Multiple Drops does not support drop 0.

Enter the following parameters in the MSG block tags:

Message type CIP generic

Service code 37h

Class name C4h

Instancename

1 for registers 0-31 (master or slave)

2 for registers 32-63 (master or slave)

Attributename

leave blank

Page 47: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 47

Publication number 56AMXN-UM001A-EN-P August 2001

Source enter source tag name

Num ofelements

2 + Number of drops * 2

Destination enter destination tag name

Message format in the source file

# of drop

First drop #

Second drop #

Last drop #

The Reply data consists of

Data for the first drop, 32 words

Data for the second drop, 32 words

Data for the last drop, 32 words

up to a maximum of 7 drops

Number ofdrops

Minimum destinationsize, INTs

1 32

2 64

3 96

4 128

5 160

6 192

7 224

If you create an array organized as Data[number of drops][32] to hold thereturned data, it makes it very easy to locate the data for each drop andregister.

Page 48: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 48 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Write Multiple Drops, Service Code 36h

This command is similar in purpose to Set Attribute List, except that thelayout of the data is more intuitive and makes it easier to locate the datafor a specific drop and register. The format for Set Attribute List is setby the ControlNet specification and can’t be changed.

If you write data that is also mapped as scheduled data, the data youwrite will be overwritten when the next scheduled data update occurs.

Enter the following parameters in the MSG block tags:

Message type CIP generic

Service code 36h

Class name C4h

Instancename

1 for registers 0-31 (slave)

2 for registers 32-63 (master)

Attributename

leave blank

Source enter source tag name

Num ofelements

2 + [number of drops] * 66, see table below

Destination enter destination tag name, not used but must beentered

Message format in the source file:

Data for the first drop in the list, 32 words

Data for the second drop in the list, 32 words

Data for the first drop in the list, 32 words

# of drops

First Drop #

Second drop #

Last drop #

with up to 7 attributes and data arrays

Note that Write Multiple Drops does not support drop 0

Drops Num of Elements

Page 49: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 49

Publication number 56AMXN-UM001A-EN-P August 2001

1 68

2 134

3 200

4 266

5 332

6 398

7 464

Nothing is written to the destination tag.

If you create a source tag as an array of dimensions Data[number ofdrops + 1][32], it makes it very easy to locate the data for each drop andregister.

Remember that if you change the number of drops you are writing, youmust change the Num of elements in the MSG instruction and also thelocation in the array where you write the number of drops and the dropnumbers.

Example

An application writes data for drops 1, 4, and 7.

Create a source array of name and size Data[4][32]. In Data [4][0] toData[4][3] write the values 3, 1, 4, 7 (number of drops, and the dropnumbers). Put the data for drop 1 in Data[0][0] to Data[0][31], the datafor drop 4 in Data[1][0] to Data[1][31], and the data for drop 7 inData[2][0] to Data[2][31].

Create a MSG instruction using the service code, class, instance andattribute described above. For the source, enter the tag name Data. Forthe Num of Elements, enter 200 (from the table, we’re writing 3 drops).Enter a tagname for the destination. Finally, on the Connection tab, typeor browse the path to the 56AMXN module.

Page 50: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 50 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Using DDE/OPC to Access DCS Data on the ModuleYou can use a DDE or OPC server, such as RSLinx or any other HMIcapable of accessing the ControlLogix backplane, to access the DCS datadirectly on the 56AMXN. The module "emulates" PLC-5 integer files100-155. Each file corresponds to a DCS drop. If you create tags toaccess N102, for example, N102:0 to N102:63 represent Drop 2's DCSregisters.

The 56AMXN supports Word Range read/write, Typed read/write,Read/Modify/Write, and PLC-3 Bit Write messages, with both logicalASCII and logical binary addressing.

1. To configure a topic in RSLinx to access data on the 56AMXN:

2. Create a new topic. From the main menu select DDE/OPC/TopicConfiguration. Click New and give the topic a name.

3. For the Data source, browse the path to the 56AMXN module andclick Apply.

4. On the Data Collection tab, set the Processor Type to PLC-5. CheckPolled Messages and select an appropriate update rate. Leaveeverything else unchecked. Click Apply

5. You do not need to set anything on the Advanced Communicationtab.

6. Click Done to complete the topic configuration.

You should now be able to access datausing any client capable ofcommunicating with RSLinx.

If you write to a register that is also mapped to ControlLogix scheduleddata or MSG blocks, the value you write will be overwritten when thenext scheduled data update occurs.

Page 51: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 51

Publication number 56AMXN-UM001A-EN-P August 2001

Using the Monitor Program56AmxnMon is a program that lets you monitor the operation of the56AMXN ControlLogix AutoMax module and perform maintenanceoperations.

56AmxnMon displays:

• the DCS active station list

• the standard DCS diagnostic counters

• ControlLogix backplane diagnostic counters

• raw DCS registers for any drop

• raw ControlLogix input, output and status data

In addition, it can be used to:

• display the debug log, which consists of messages from the firmwarerunning on the module

• clear the debug log

• copy the contents of the debug log to the clipboard for use by anotherapplication. This is often useful for technical support

• dump the contents of the copy (mapping) table to a text file for useby technical support

• clear fatal errors and dump the fatal error log to a file for use bytechnical support

Page 52: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 52 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Monitoring DCS Registers

Select Monitor/DcsRegs to monitor the AutoMax DCS registers on anydrop.

Figure 13 DCS Register Display

Use the Drop listbox to select the drop number to display.

For drops 1-55, registers 0-31 contain the data from the slave to themaster. Registers 32-63 contain the data from the master to the slave.

WARNING! If you change values in the DCS registers, the values onthe module will change. Consider the consequences of changing data onthe DCS network.

You can use 56AmxnMon to change values in DCS registers. Beforeyou can do this, you must check Allow Edits. You will be asked toconfirm this. If you change values for data that is mapped intoControlLogix scheduled data, the value you write will be overwrittenwhen the next scheduled data update occurs.

Page 53: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 53

Publication number 56AMXN-UM001A-EN-P August 2001

By default the register contents are shown in decimal. Uncheck Decimalto display the register contents in hexadecimal.

DCS registers apply only to DCS master and slave operation. If youattempt to monitor DCS registers when the module is configured forremote I/O operation, 56AmxnMon returns an error.

Monitoring CLX Registers

Select Monitor/ClxRegs to display the scheduled data the module isexchanging with the ControlLogix processor in the ControlLogix Input,Output and Status tables.

You can use this command to monitor the ControlLogix data in bothDCS and Remote I/O operation.

Figure 14 CLX Register Display

Select Inputs, Outputs or Status from the Area listbox.

Each area contains 256 registers. The dialog displays 100 registers at atime. Select which group of 100 registers you want using the Ofs list box.

Each column displays 10 consecutive registers.

By default the contents of the registers are shown in decimal. You candisplay the contents in hexadecimal by unchecking the Decimalcheckbox.

Page 54: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 54 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

WARNING! If you change values in the CLX registers, the values onthe module will change. Consider the consequences of changing the data.

You can use 56AmxnMon to change values in CLX registers. Beforeyou can do this, you must check Allow Edits. You will be asked toconfirm this. If you change values for data that is mapped intoControlLogix scheduled data, the value you write will be overwrittenwhen the next scheduled data update occurs.

Monitor Diagnostics

Select Monitor/Diagnostics to display:

• AutoMax Diagnostic counters

• ControlLogix Backplane Diagnostic Counters

• The Active Drop List

Figure 15 Diagnostic Information Display

AutoMax Diagnostic Counters

The AutoMax Diagnostic Counters include:

• Msg Trans, counts packets successfully transmitted by the module

• Msg Recv, counts packets successfully received by the module

Page 55: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 55

Publication number 56AMXN-UM001A-EN-P August 2001

• Recv Timeouts, applies only when the module is the DCS master.They occur when a reply packet isn't received within the timeoutperiod.

• CRC Errors, counts packets received with CRC errors

• OverRun Errors, counts packets received that are longer than 272bytes

• Abort Errors, increments when the module starts to receive a packetbut the packet is never completed, for whatever reason

AutoMax Diagnostic counters apply to both DCS and Remote I/Ooperation.

ControlLogix Backplane Diagnostic Counters

The ControlLogix Backplane Counters include:

Counter Description

Bad MulticastCRC

the number of multicast receive CRC errors since thelast power-on or reset

Mcast CRCError Threshold

the threshold for entering fault state due to multicastCRC errors, can be set in RSLogix 5000

Rx Bad CRC the number of directed receiver CRC errors since thelast power on or reset

Rx Rx BusTimeout

the number of receiver bus timeouts since the lastpower on or reset

Tx Bad CRC the number of transmitter bus timeouts since the lastpower on or reset

Tx Bus Timeout the number of transmit bus timeouts since the lastpower on or reset

Tx Retry Limit number of times to retry a frame if a transmit erroroccurs

ICP Status current status of the ICP object on the module

Slot the module's rack and slot address

Rack Revision revision of the primary rack

Rack SerialNumber

serial number of the primary rack

Rack Slot Count number of slots in the primary rack

Table 17 Backplane Diagnostic Counters

AutoMax Diagnostic counters apply to both DCS and Remote I/Ooperation.

Page 56: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 56 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Active Drop List

The Active Drop List shows which DCS drops are active on the network.

For Remote I/O operation, only drops 1-7 are valid.

The Debug Log

The firmware on the module sends trace messages that indicate itsinternal state of operation and show any minor errors it encounters.These messages are often useful for determining why connections haveerrors or for technical support.

To display these messages, select View/Monitor Debug Log. Themessages will be displayed in the main 56AmxnMon window.

To clear the log, select Monitor/Clear Debug Log.

To copy the contents of the Debug Log to the Windows clipboard so thatthey can be pasted into another application, select Edit/Selct All andCopy.

Figure 16 Debug Log

Page 57: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 57

Publication number 56AMXN-UM001A-EN-P August 2001

The Copy Table

When you configure the 56AMXN module as a DCS master or slave,you create mappings that map DCS data to ControlLogix scheduled I/Odata. You then download these mappings to the 56AMXN module.

To diagnose some technical support issues, it may be useful to retrievethese mappings (the copy table) from the module. To do this, run56AmxnMon and select Utils/Dump Copy Table. It prompts you for thefile to store the copy table in.

The copy table applies only to DCS operation. If the module isconfigured as a remote I/O master and you try to dump the copy table,56AmxnMon gives you an error message.

Fatal Errors

Fatal errors occur when the firmware on the module encounters anunexpected condition. The module stops scanning, turns all three LEDsred, displays the fatal error number on the 4-character display, and storesa fatal error log that indicates the cause of the fatal error.

To clear the fatal error and capture the fatal error log:

1. Cycle power on the module. The 4-character display should show"FatalErrorCapture required".

2. Run 56AmxnMon and select the Utils/Fatal Error Capture menuitem.

3. Store the fatal error log to a file. This also clears the fatal error on themodule.

Contact technical support. Provide them with the fatal error log, whichwill help diagnose the cause of the problem.

Page 58: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 58 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Troubleshooting

LEDs

The 56AMXN module has three LEDs that indicate the state of thenetwork connection, the connection to the ControlLogix processor, andthe overall module health. These LEDs can be used in conjunction withthe 4-character scrolling display and the monitor program 56AmxnMonto determine the cause of the problem.

NET LED – DCS/RIO Network Status

The NET LED indicates the status of the network connection. It is greenif the network status is good. If it is red, the following table showspossible causes.

OperatingMode

Meaning

DCS Slave Red if no master is heard or Active or Monitored dropsgo offline (1 sec)

DCS Master Red if no Drops are found or if a Drop goes offline (1sec)

RIO Master Red if not all drops in configuration are active, or ifextra drops are found or any other configurationmismatch exists

Table 18 NET LED

CLX LED – ControlBus Status

The CLX LED indicates the status of communication with theControlLogix processor.

Color Meaning

Red The module has returned an error, received an error orrefused a connection from the backplane. Start56AmxnMon and display the debug log to determinethe cause.

Yellow No errors, but no activity

Green An active connection is open or Bridging is active orDCS registers are being accessed

Table 19 CLX LED

Page 59: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 59

Publication number 56AMXN-UM001A-EN-P August 2001

OK LED – Module Health

A bicolor OK LED indicates module health. A red LED indicates thatmodule startup diagnostics have failed or a major module fault such aswatchdog bite or jabber inhibit has occurred. Green indicates that thecard has passed all power-up diagnostics and is functioning normally.This LED is red during powerup.

If all three LEDs are solid red and the 4-character display showssomething like M#66, this indicates that a fatal error has occurred. Referto page 57 for information on clearing fatal errors. If a fatal error occurs,clear the fatal error, save the file and contact Technical Support.

4-Character Display

The following messages may be displayed on the 4-character scrollingdisplay.

Message Description

56AMXN Ver x.xx.xx The module’s firmware version, displayed atpowerup.

Error: Heard AnotherDCS Master

The module is configured as a DCS masterand has heard another DCS master on thenetwork.

DCS Master The module is a DCS master. Displayedduring normal operation.

Drop xx OffLine DCS drop xx has gone offline.

DCS Slave InvalidDepth 0

The drop number switches are set for a dropnumber from 1 to 55 but the drop depthswitches are set to 0.

DCS SlaveDrop+Depth 'xx' TooHigh

The combination of drop number and dropdepth results in invalid drop numbers (>55).Check the switch settings.

DCS Slave Drop=xxDepth=xx Waiting...

The module is configured as a DCS slave withthe drop number and depth displayed, but isnot currently being scanned by a DCS master.

Error: HeardDuplicate DCS SlaveDrop xx

The module is configured as a DCS slave andhas heard a drop on the network with a dropnumber that overlaps one of its active drops.

DCS Slave Drop=xxDepth=xx

The module is configured as a DCS slave, withthe drop number and drop depth shown.Displayed during normal operation.

Page 60: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 60 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

Message Description

Drop xx Timeout DCS drop xx has timed out.

Mon Drop xx Timeout Monitored DCS drop xx has timed out.

DCS FLASH ConfigInvalid

The module is configured as a DCS master orslave and the configuration in FLASH memoryis invalid. Run 56AmxnDcsCfg, create aconfiguration, and download it to the module.

Firmware Update... The firmware on the module is being updated.

Error: Heard AnotherRIO Master

The module is configured as a Remote I/Omaster and has heard another Remote I/Omaster active on the network.

RIO Master The module is configured as a Remote I/Omaster. Displayed during normal operation.

Drop x ConfigMismatch

The configuration for remote I/O drop x in Flashmemory on the module doesn’t match the dropon the network.

Drop x OffLine Remote I/O drop x is offline.

RIO FLASH ConfigInvalid

The module is configured as a Remote I/Omaster and the configuration in FLASHmemory is invalid. Run 56AmxnRioCfg andconfigure the module.

Thumb Test Mode The module is in thumbwheel test mode. Referto page 11 for more information.

Table 20 4-Character Display

Messages are displayed twice, immediately after the error occurs. To seethe message again, cycle power. To determine the cause of the problem,run 56AmxnMon and display the Debug Log.

Using 56AmxnMon for Troubleshooting

The program 56AmxnMon, described in detail in chapter 0, can be usedto troubleshoot the 56AMXN module.

If the ControlLogix processor has problems connecting to the module, itshows a yellow triangle above the module, but it does not give anydetailed explanation as to why the connection failed. Run 56AmxnMonand display the Debug Log. It will show the connection attempt and thereason the 56AMXN rejected it.

If a network error occurs, information will be logged to the Debug Log.

Page 61: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 61

Publication number 56AMXN-UM001A-EN-P August 2001

You can use 56AmxnMon to display the active drop list and thediagnostic counters for both DCS and RIO network communication, andfor the backplane communication with the ControlLogix processor.

To troubleshoot problems with DCS data, you can use 56AmxnMon toview the raw DCS data coming in to the module from the network, aswell as the scheduled input, output, and status input data being sent to theControlLogix processor.

Reading Diagnostic Counters into the ControlLogix Program

You can use a MSG instruction to read the AutoMax diagnostic countersinto your ControlLogix program.

Use an instance level get attribute single to read data from instance 1,attribute 0 of the DCS Data object. Refer to page 39 for information onhow to do this.

Using RSLogix 5000 to Diagnose Problems

You display the Module Properties dialog by right clicking on themodule while online with RSLogix 5000. This may help diagnosingsome problems, especially connection errors.

The following information is based on version 7.00 of RSLogix 5000.

General Tab

The Type should be 1756-MODULE Generic 1756 Module.

The Vendor should be Allen-Bradley.

The name is whatever you set when you configured the module. Youcan edit the name online, although doing so breaks and remakes theconnection.

The description is whatever you set when you configured the module.You can edit the Description online, although doing so breaks andremakes the connection.

Comm Format, Slot and Connection Parameter should match what youset when you configured the module.

Connection Tab

The Inhibit Module checkbox inhibits the module. It should not bechecked for normal operation.

The Major Fault on Controller if Connection Fails While in Run Modecheckbox causes the module to fault the processor if the connectionbetween the ControlLogix processor and the module fails.

If there are any problems connecting to the 56AMXN module, there willbe an error message in the module fault area.

Page 62: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 62 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

If the error indicates that there is a key signature mismatch, check thatthe Configuration Signature in the RSLogix 5000 program has thecorrect value, or is FF FF FF FF to disable Configuration Signaturechecking.

Module Info Tab

The vendor should be Allen-Bradley.

The Product Type should be Communications Adapter.

The Product Code should be 107.

The revision should be 1.1

The Serial number should match the serial number on the module.

The Product Name should be 56AMXN.

The Status section contains information about the connection status,including:

• Major fault

• Minor fault

• Internal state

• Configured

• Owned

• Module Identity (always says Mismatch)

The Refresh Button updates the information on the screen.

Backplane Tab

The ControlBus Status shows any backplane faults.

ControlBus Parameters

The Multicast CRC error threshold is fixed at 8.

The Transmit Retry Limit defaults to 45 but can be edited.

Chassis

The Chassis area contains information that relates to the chassis, not themodule. It contains the rack Revision, Serial Number, Size, and the56AMXN module slot number.

Error Counters

These refer to communications across the backplane. They should all be0.

The Status at the bottom of the screen indicates the status of theconnection to the module.

Page 63: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 63

Publication number 56AMXN-UM001A-EN-P August 2001

Updating the FirmwareThe card supports firmware and FPGA upgrade across the ControlLogixbackplane using the Rockwell ControlFlash utility.

Install the ControlFlash software from the 56AMXN distribution CD andrun it as you would to update any other ControlLogix module. Refer tothe ControlFlash documentation and help for detailed information onhow to use ControlFlash.

Page 64: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

Page 64 AutoMax DCSNet /RE RIO Module

Publication number 56AMXN-UM001A-EN-P August 2001

SpecificationsThe 56AMXN is a standard ControlLogix with the followingspecifications:

Parameter Specification

Module Location ControlLogix chassis

Function ControlLogix AutoMax DCS and Remote I/Omodule

Description Processor: 100MHz IDT MIPS

FLASH memory: 1Mbyte (512Kx16)

Local RAM: 1Mbyte (256Kx32) 50Mhzsynchronous SRAM

Shared RAM: 512Kbyte (128Kx32) 20nsasynchronous SRAM

Maximum BackplaneCurrent Load

650mA @ +5.1V dc and 75mA @ 24 V dcfrom I/O chassis backplane

Power dissipation 5W maximum

EnvironmentalConditions:

OperationalTemperature

0-60°C (32-140°F)

Storage Temperature –40 to 85°C (–40 to 185°F)

Relative Humidity 5-95% without condensation

Shock Unpackaged 30g operational

50g non-operational

Vibration Unpackaged 2g from 10-150Hz

Marked for all applicabledirectives

Agency Certification

(when product orpackaging is marked)

Listed Industrial ControlEquipment

Installation Manual Publication 56AMXN-QS001A-EN-P August2001

Page 65: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

AutoMax DCSNet/RE RIO Module Page 65

Publication number 56AMXN-UM001A-EN-P August 2001

Support

Local Drive Solutions

Contact Directory

New EnglandPh. 508.357.8431Fax 508.485.5059Boston MA

SoutheastPh. 770.277.0277Fax 770.682.6491Atlanta GA

Gulf CoastPh. 281.233.0300Fax 281.233.0101Houston TX

West CoastPh. 626.969.7647Fax 626.334.8320Los Angeles CA

EasternPh. 732.225.1360Fax 732.225.7833Edison NJ

CarolinasPh. 704.525.1455Fax 704.525.9025Charlotte NC

MidwestPh. 630.860.1090Fax 630.787.0309Chicago IL

St. Louis MOPh. 314.770.0168Fax 314.770.0268St. Louis MO

Ohio ValleyPh: 513.943.1145Fax 513.943.7438Cincinnati OH

Great LakesPh. 216.266.7894Fax 216.266.1895Cleveland OH

North CentralPh. 651.604.0540Fax 651.633.7181Minneapolis MN

Drive/Systems HeadquartersPh: 262.512.8636Fax 262.512.8573Mequon, WI

If you need to make a return, contact the nearest office to obtain a returnauthorization number.

Page 66: ControlLogix User Manual AutoMax DCSNet and AutoMax …legacy.vmrsoftware.com/Download/Manual56AMXNUser.pdfMapping and Accessing DCS Data ControlLogix modules that use the generic

www.rockwellautomation.com

Corporate HeadquartersRockwell Automation, 777 East Wisconsin Avenue, Suite 1400, Milwaukee, WI, 53202-5302 USA, Tel: (1) 414.212.5200, Fax: (1) 414.212.5201

Headquarters for Allen-Bradley Products, Rockwell Software Products and Global Manufacturing SolutionsAmericas: Rockwell Automation, 1201 South Second Street, Milwaukee, WI 53204-2496 USA, Tel: (1) 414.382.2000, Fax: (1) 414.382.4444Europe: Rockwell Automation SA/NV, Vorstlaan/Boulevard du Souverain 36-BP 3A/B, 1170 Brussels, Belgium, Tel: (32) 2 663 0600, Fax: (32) 2 663 0640Asia Pacific: Rockwell Automation, 27/F Citicorp Centre, 18 Whitfield Road, Causeway Bay, Hong Kong, Tel: (852) 2887 4788, Fax: (852) 2508 1846

Headquarters for Dodge and Reliance Electric ProductsAmericas: Rockwell Automation, 6040 Ponders Court, Greenville, SC 29615-4617 USA, Tel: (1) 864.297.4800, Fax: (1) 864.281.2433Europe: Rockwell Automation, Brühlstraße 22, D-74834 Elztal-Dallau, Germany, Tel: (49) 6261 9410, Fax: (49) 6261 1774Asia Pacific: Rockwell Automation, 55 Newton Road, #11-01/02 Revenue House, Singapore 307987, Tel: (65) 351 6723, Fax: (65) 355 1733

Publication 56AMXN-UM001A-EN-P – August, 2001Copyright © 2001 Rockwell Automation. All rights reserved. Printed in USA.