Page 2 AN-X-DCSLOG January 2008
Because of the variety of uses for the products described in this publication, those
responsible for the application and use of these products must satisfy themselves that all
necessary steps have been taken to assure that each application and use meets all
performance and safety requirements, including any applicable laws, regulations, codes
and standards. In no event will Quest Technical Solutions be responsible or liable for
indirect or consequential damage resulting from the use or application of these products.
Any illustrations, charts, sample programs, and layout examples shown in this publication
are intended solely for purposes of example. Since there are many variables and
requirements associated with any particular installation, Quest Technical Solutions does
not assume responsibility or liability (to include intellectual property liability) for actual
use based upon the examples shown in this publication.
Throughout this manual we use notes to make you aware of safety considerations.
Identifies information about practices or circumstances that can lead to
personal injury or death, property damage, or economic loss.
These warnings help to:
• identify a hazard
• avoid the hazard
• recognize the consequences
Identifies information that is especially important for successful
application and understanding of the product.
Identifies information that explains the best way to use the
AN-X-DCSLOG
Microsoft is a registered trademark of Microsoft Corporation.
Windows, Windows XP, Windows Vista and Windows 7 are trademarks of Microsoft Corporation.
ControlLogix, RSLinx and RSLogix 5000 are trademarks of the Allen-Bradley Company, Inc.
AN-X-DCSLOG MODULE OVERVIEW 2
Hardware Features 3
Package Contents 3
Other Requirements 3
Modes of Operation 3
INSTALLATION 5
Prevent Electrostatic Discharge 5
Power 5
Cabling and Termination 5
Ethernet Cabling 6
Software Installation 6
BASIC CONFIGURATION 7
Ethernet Configuration 7
Reconfiguring an AN-X from an Unknown State 11
LOGGING DATA 12
Logger Configuration File 12
Tag Definition File 13
Running the Log Service 14
Logged Data Files 14
The Application Log 15
Using AN-X-DCSLOG with InSQL 15
Importing Tags from AutoMax Programming Software 16
ACCESSING AUTOMAX DATA ON THE AN-X-DCSLOG 18
Page 4 AN-X-DCSLOG January 2008
USING ANXINIT 22
AnxInit Log 22
Locating Available AN-X Modules 23
Selecting an AN-X 24
Set AN-X IP Configuration 25
Restart an AN-X 26
AN-X Info 26
Read Kernel Parameters 27
Run Config Mode 27
Update AN-X Flash 27
Update Firmware 28
Firmware Update Wizard 28
Update Firmware Command 31
Patch Firmware 32
USING THE WEB INTERFACE 34
Log Files 34
System Error Log 34
System Info Log 34
View All Logs 34
Administration Menu 34
TROUBLESHOOTING 35
LEDs 35
Ethernet LEDs 35
SYS LED 35
NET LED – Network Status 36
UPDATING THE FIRMWARE 37
Reading Version Numbers 37
SPECIFICATIONS 38
SUPPORT 39
AN-X-DCSLOG Module Overview
The AN-X-DCSLOG data logging module captures frames on an AutoMax DCS
network, extracts data changes, and logs the data that has changed from the previous
scan, along with timestamps to millisecond precision, to comma separated variable
(CSV) files, for import into trending and database software.
The module passively captures all network frames. It does not occupy a drop on the
network or affect existing network traffic in any way. It discards any frames with bad
status.
This approach means that the data is time stamped at the same time as it is sent on
DCSNet, not at some later sampled time, and that there is no added overhead on DCSNet
or on the AutoMax to obtain the data.
You select which data (by drop, register and optionally bit) you want to log, in a comma
separated variable file.
The Windows logger utility, AnxDcsLog.exe, transfers the data captured by AN-X to the
host computer over Ethernet. The Windows utility can obtain log data from up to 4 ANX-DCSLOG modules at the same time
The Windows logger utility runs as a Windows service. It writes a new file each minute.
The filename includes the date and time.
The AN-X-DCSLOG module also supports unscheduled messaging. It maps DCSNet
data to PLC-5 integer files N100-N155, one file per drop. Any OPC or DDE server or
PLC or computer capable of sending PCCC unscheduled messages over Ethernet can
read the current DCSNet data from the AN-X-DCSLOG module.
AN-X-DCSLOG Page 3
The module firmware can be updated over Ethernet using the Windows utility supplied.
Refer to page 37 for details.
Hardware Features
The module has:
• LEDs to indicate the status of the connection to the Ethernet, its
own internal state, and the state of the connection to the DCS
network
• an Ethernet connector
• a 9-pin D-shell connector to connect to the AutoMax network
• a power connector
Package Contents
• AN-X-DCSLOG module
• CD containing software and documentation
Other Requirements
To transfer data over Ethernet requires:
• 100 Mbit/second Ethernet network and hardware
• Ethernet network should uses switches, not hubs
Modes of Operation
There are three AN-X modes of operation:
• Boot mode. The AN-X is running its low level startup firmware.
Page 4 AN-X-DCSLOG January 2008
• Configuration mode. This is the mode when you are updating the firmware
in the AN-X.
• Production mode. This is the normal runtime mode of operation.
AN-X-DCSLOG Page 5
Installation
Prevent Electrostatic Discharge
The module is sensitive to electrostatic discharge.
Electrostatic discharge can damage integrated circuits or
semiconductors. Follow these guidelines when you handle the module:
• Touch a grounded object to discharge static potential
• Do not touch the connector pins
Power
AN-X requires a DC power input of anywhere from 12 to 24 VDC.
Left to right the pins on the power connector are chassis ground, negative voltage and
positive voltage.
The chassis ground should be connected.
Power consumption internally is 300 mA @ 12VDC or 150 mA @ 24VDC.
The part number for the power connector is Phoenix MSTB 2.5/3-ST-5.08
Cabling and Termination
Use a standard drop cable and passive tap (M/N 57C380) to connect the module to the
coaxial network cable. The drop cable is a multi-conductor cable with 9-pin D-shell
connectors at each end. Connect one end to the connector on the module and the other
end to the passive tap.
The passive tap has two BNC connectors for connection to the coaxial cables and
terminating loads.
The network coaxial cable must be terminated with 75 ohm terminating loads attached to
the taps at the physical ends of the network. There should be two and only two
terminators on the network.
The cable must be RG-59/U.
Page 6 AN-X-DCSLOG January 2008
Ethernet Cabling
AN-X has a standard RJ-45 connector for connecting to Ethernet.
If you are connecting AN-X to an existing network through a router or switch, use a
standard Ethernet cable.
If you are connecting directly between a computer and AN-X, use a crossover cable.
Software Installation
You must uninstall any previous version of the software before you can install a new
version. Use the Windows Control Panel Add and Remove Programs to remove the old
version.
Insert the CD supplied with the AN-X module and run the program setup.exe on the CD.
AN-X-DCSLOG Page 7
Basic Configuration
The AN-X-DCSLOG module captures data from a Reliance AutoMax DCSnet network
and passes that data to a computer over Ethernet.
Before you can use the AN-X-DCSLOG, you must configure its network properties on
Ethernet.
No configuration is required on the AutoMax DCS network since the module is not active
on the network.
Ethernet Configuration
AN-X can be configured to use a static (unchanging) IP address or it can be configured to
obtain its IP address from a DHCP server.
Unless you have control of the DHCP server, in most applications you will want to
configure AN-X to use a static IP address. Otherwise the DHCP server may assign a
different IP address each time AN-X powers up, and any software that accesses the ANX module would have to be reconfigured.
AN-X is shipped with DHCP enabled. If it finds a DHCP server on the network, the
DHCP server assigns it an IP address. You can use the utility AnxInit to find the IP
address that the DHCP server has assigned. Select Utilities/Locate All AN-X Modules
and AnxInit will locate the AN-X and display its IP address.
If AN-X does not find a DHCP server within about three minutes of starting up, it reverts
to a temporary static IP address of 192.168.0.41 If AN-X is using this temporary IP
address, it repeatedly flashes the SYS LED three times followed by a pause.
Page 8 AN-X-DCSLOG January 2008
Use this temporary IP address only for initial setup of AN-X. AN-X will
not function for its intended purpose at the temporary IP address.
If you are using multiple AN-X modules, configure one at a time, especially if there is no
DHCP server on the network, since they will all revert to the same temporary IP address
when they fail to find a DHCP server.
If you are connecting AN-X to an existing Ethernet network, consult the
network administrator to obtain information about how you should
configure AN-X and to obtain a static IP address for AN-X.
The AN-X must be on the local Ethernet when you set its IP address.
You configure the Ethernet properties using the Windows utility AnxInit supplied with
AN-X.
Use the Configuration/AN-X IP Settings command to start the AN-X IP configuration
wizard, which takes you step by step through the IP configuration process.
Step 1
In step 1, you identify the AN-X you are configuring.
1. Select the Ethernet adapter that’s connected to the AN-X. In most cases there will be
just one Ethernet adapter in the computer. The AN-X must be on the same subnet as the
computer.
AN-X-DCSLOG Page 9
2. Enter the MAC address of the AN-X you are configuring. This is printed on the AN-X
label. It consists of six pairs of hexadecimal digits, separated by hyphens. In the
example above, it’s 00-0c-1a-00-00-09.
If the AN-X is already online, you can obtain its MAC address using the Utilities/Locate
All AN-X Modules command.
3. Enter the IP address you intend the AN-X to use.
Step 2
In step 2, you choose a method of restarting AN-X to put it in boot mode.
The preferred method is to cycle power on the AN-X. Select the first option on the
screen and click the Next >> button.
The second method, useful if the AN-X in not easily accessible, is to send it a command
over Ethernet. The AN-X must be powered on and completely running for this method to
work. For example, if this is the first time you are configuring a new AN-X, allow
sufficient time for it to acquire an IP address from a DHCP server or to time out and use
its default IP address (about 3 minutes). Select the second option on the screen and click
the Next >> button.
Step 3:
Wait for AN-X to enter boot mode. While AnxInit is waiting, the Next>> button will be
disabled. When AN-X is in boot mode, the Next>> button will be enabled.
Page 10 AN-X-DCSLOG January 2008
If the AN-X does not enter boot mode within about 10 seconds, return to the previous
screens and check the entries.
The AN-X TCP/IP Configuration dialog appears.
Enter a Host Name for the AN-X. This name is used internally by AN-X and may be
used to identify the AN-X if you have a DNS server on your network. The name can be
from 1 to 31 characters long.