ProSoft Technology AN-X2-GENI User Manual

AN-X2-GENI AN-X-GENI/B Genius I/O Communication Module
Page ii AN-X2-GENI (AN-X-GENI/B) May 2013
WARNING!
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
IMPORTANT!
Identifies information that is especially important for successful application and understanding of the product.
TIP
Identifies information that explains the best way to use the AN-X2-GENI gateway
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.
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.
MODULE OVERVIEW 1
Hardware Features 2 Package Contents 2 Identifying the AN-X2 versus the Original AN-X 3 Comparisons with the Original AN-X 3 Using the MicroSD Card 3 AN-X2 Modes of Operation 4
INSTALLATION 5
Prevent Electrostatic Discharge 5 Power 5 Genius Cabling and Termination 5 Ethernet Cabling 6 Software Installation 6 CE Installations 6
QUICK START 8
ETHERNET CONFIGURATION 9
Initial Ethernet Configuration 9
DHCP 11 Static IP Address 11 Hostname 11 Firmware 11 Submitting the Configuration 11
Reconfiguring an AN-X from an Unknown State 12 The Configuration File 12
AN-X2-GENI (AN-X-GENI/B) Page iii
If the link-local address is not accessible… 14
GENIUS NETWORK CONFIGURATION 16
Setting the Bus Address and Baud Rate 16 Configuring the Genius Network 16
Autoconfiguration 17
Manual Configuration 18 Genius Configuration File Format 18 Viewing the Current Configuration 20 Saving the Current Configuration 20
EXCHANGING SCHEDULED DATA WITH A CONTROLLOGIX 21
Mapping I/O Data 21
Global Data 23
Other Mappable Data 25
Diagnostic Counters 26 Block Error Table 26 Block Fault Table 27 Connection Diagnostics 27 Connection Statistics 28 Connection 15 Mappings 28 Resetting Connection Statistics 28 Example Configuration File 29
Viewing the Current Configuration 30 Saving the Current Configuration 31 Configuring the AN-X Module in RSLogix 5000 31 ControlLogix Aliases 34 Using the ControlLogix Log 35 Using Ghost Mode 36 Accessing Global Data from HMIs 37
Page iv AN-X2-GENI (AN-X-GENI/B) May 2013
USING THE WEB INTERFACE 39
Automation Network 40
Baud Rate and Serial Bus Address 40 Genius Network 40
Configure ControlLogix Support 41 View Configuration Files 42 View Active Configuration 43 Log Files 45
Genius I/O Fault Log 45 ControlLogix Log 46 System Info Log 46 View All Logs 46
Administration Menu 46
AN-X Configuration 46 Archive Configuration 47 Update AN-X Firmware 48 Restart AN-X Module 50
Troubleshooting Menu 51
TROUBLESHOOTING 52
LEDs 52
Ethernet LEDs 52 MS and NS LEDs: Startup 52 MS and NS LEDs: Runtime 53 Fatal Errors 54
UPDATING THE FIRMWARE 55
SPECIFICATIONS 56
SUPPORT 57
WARRANTY 58
Module Overview
The AN-X2-GENI (AN-X-GENI/B) communications module connects a ControlLogix PLC or other device to a Genius I/O network.
The module supports scheduled connections with a ControlLogix processor, over Ethernet, so the ControlLogix processor can read inputs from the Genius network and write outputs.
The AN-X module acts as a scanner on the Genius network. It supports up to 31 Genius blocks.
The AN-X2-GENI module has a web interface for configuration, for monitoring logs, and for performing other administrative functions. You can communicate with the module using any standard web browser such as Internet Explorer.
The module firmware can be updated over Ethernet using the web interface. Refer to page 55 for details.
Page 2 AN-X2-GENI (AN-X-GENI/B) May 2013
The module has:
LEDs to indicate the status of the connection to the Ethernet (100 and Link/Act)
a LED to indicate the module’s internal state (SYS or MS)
a LED to indicate the state of communications on the Genius network (NET or NS)
an Ethernet connector
a power connector
a connector to connect to the Genius network
Hardware Features
A watchdog timer is implemented in the module’s hardware. If the firmware does not kick the watchdog within the timeout period the watchdog times out and places the module into a safe fatal failure state.
A jabber inhibit timer is implemented in the module’s hardware. If the network
transmitter is on longer than 150% of the longest network frame time, the transmitter is forced off and the module is placed into a safe fatal failure state.
Package Contents
AN-X2-GENI module
CD containing software and documentation
microSD to SD card adapter
rubber feet for desktop use
AN-X2-GENI (AN-X-GENI/B) Page 3
WARNING!
Do not remove the card while the AN-X2 is powered on!
WARNING!
If you remove the card to edit the configuration file, push the card in straight or the card might fall inside the case and you will have to disassemble the AN-X2 to retrieve it .
Identifying the AN-X2 versus the Original AN-X
The label on the bottom toward the front says AN-X-GENI/B. Note: AN-X2-GENI and AN-X-GENI/B refer to the same module.
There is a slot at the back for the microSD card. When initially powered up:
AN-X2 railroads (alternates) SYS (or MS) and NET (or NS) LEDs green as
it starts up
without the Ethernet cable attached, the Ethernet 10/100 (upper) LED is on
for AN-X2 (both Ethernet LEDs are off for the original AN-X)
Comparisons with the Original AN-X
AN-X2 modules have a microSD card for storage of firmware and configuration data. You no longer need AnxInit; everything can be done from the web interface or by editing
files on the microSD card. Operation is simplified, there are production and maintenance modes only. The AN-X2 requires firmware version 4 and above. The AN-X2 uses the same hardware interface to automation networks. There are no differences for applications once Ethernet and firmware have been
configured.
Using the MicroSD Card
The AN-X2 microSD card stores configuration data and firmware. The are no restrictions on the size or speed of the card. The format must be FAT-16 or
FAT-32. An adapter is provided so you can insert the microSD card in an SD slot in your
computer. The card must be present while the AN-X2 is running.
If the AN-X2 is inaccessible from Ethernet because of its settings, you can remove the card and edit the file config.txt. Refer to page 12 for details.
Insert the card in the slot at the back of the AN-X2, with the pins facing up.
Page 4 AN-X2-GENI (AN-X-GENI/B) May 2013
AN-X2 Modes of Operation
There are two AN-X2 modes of operation:
Maintenance mode. The AN-X2 runs the maintenance firmware at startup.
It performs diagnostics (memory tests, etc), and copies any changes from the microSD card. If there are no errors, it starts the AN-X2 in production mode.
Production mode. This is the normal runtime mode of operation.
Prevent Electrostatic Discharge
WARNING!
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
The module is sensitive to electrostatic discharge.
Power
AN-X requires DC power input of anywhere from 12 to 24 VDC
AN-X2-GENI (AN-X-GENI/B) Page 5
Installation
Left to right the pins on the power connector are chassis ground, negative voltage and positive voltage. Pin 1 is closest to the Ethernet connector.
The chassis ground should be connected. Power consumption internally is 200 mA @ 12VDC or 100 mA @ 24VDC. The part number for the power connector is Phoenix MSTB 2.5/3-ST-5.08
Genius Cabling and Termination
Refer to Genius I/O System and Communications User’s Manual, GEK-90486F-1 for detailed information on Genius cabling and installation.
The module has a 5-pin Phoenix connector for connection to the Genius I/O network. The part number for the Genius bus connector is MSTB 2.5/5-ST-5.08
Page 6 AN-X2-GENI (AN-X-GENI/B) May 2013
Pin
Assignment
1
Not used
2
Shield out
3
Shield in
4
Serial 2
5
Serial 1
WARNING!
Set the baud rate and serial bus address for the AN-X2-GENI module before connecting it to the Genius network.
Ensure that the physical ends of the Genius I/O network are properly terminated. The AN-X module does not have any internal termination.
Ethernet Cabling
AN-X has a standard RJ-45 connector for connecting to Ethernet. If you are connecting to the AN-X through a router or switch, use a standard Ethernet
cable. If you are connecting directly to the AN-X module, use a crossover cable.
Software Installation
There is no required software installation for the AN-X2-GENI. All configuration can be done using the web interface.
CE Installations
If you are installing the AN-X2 in a location which requires CE, install the following ferrites or their equivalents on the cables:
Steward 28A3851-0A2 two passes on serial cable 2 Steward 28A2025-0A0 on Ethernet cable
Steward 28A2024-0A0 two passes on power cable
AN-X2-GENI (AN-X-GENI/B) Page 7
Page 8 AN-X2-GENI (AN-X-GENI/B) May 2013
Step
See page
1
Power up the AN-X, connect it to Ethernet and assign it an IP address
8
2
(Not needed for existing installations) Use the Genius hand-held monitor to assign serial bus addresses to Genius devices and perform any other necessary configuration.
3
Use the AN-X web interface to set the baud rate and serial bus address for the AN-X2-GENI
16
4
Connect AN-X to the Genius network
5
5
Use the AN-X web interface to autoconfigure the Genius network and ControlLogix configuration
16
6
Configure the AN-X in RSLogix 5000
31
7
Use the web interface to obtain aliases for RSLogix 5000
34
8
Import the aliases into RSLogix 5000
35
9
Use the aliases to access data
Quick Start
Before you can use the AN-X2-GENI, you must configure its network properties on
IMPORTANT!
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 or to obtain a static IP address for AN-X.
TIP
The AN-X2 must be on the same subnet as the computer to use the link-local IP address. It cannot be connected through a router.
Ethernet.
Initial Ethernet Configuration
AN-X can be configured:
to use a static (unchanging) IP address to obtain its IP address from a DHCP server to use the fixed link-local address 169.254.42.84
AN-X modules are shipped with the link-local address 169.254.42.84. Unless you have control of the DHCP server, in most applications you will assign the
AN-X 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 AN-X module would have to be reconfigured.
AN-X2-GENI (AN-X-GENI/B) Page 9
Ethernet Configuration
If you are using multiple AN-X modules, connect and configure one at a time, since initially they will all be set to the same link-local IP address.
You configure the Ethernet properties using the web interface. Start a web browser and enter the address 169.254.42.84
Select Administration/AN-X Configuration.
Page 10 AN-X2-GENI (AN-X-GENI/B) May 2013
The AN-X2 Configuration page appears.
At the top the screen shows the serial number and MAC address of the AN-X being configured.
Check either DHCP or Static.
DHCP
If the AN-X2 finds a DHCP server on the network, it obtains an IP address and other network parameters (netmask and default gateway) from the DHCP server.
To find the address assigned, you have to look at the DHCP server log. When you submit the changes, if the AN-X2 does not find a DHCP server, it reverts to
the default link local address 169.254.42.84 and repeatedly flashes the SYS (or MS) LED 3 times red followed by a pause.
Static IP Address
If you select static IP address, enter:
You must enter a valid default gateway address even if there is no device at the gateway address on the network.
AN-X2-GENI (AN-X-GENI/B) Page 11
the IP address for the AN-X.
the netmask for the AN-X
the default gateway for your network.
Hostname
Enter a Hostname for the AN-X2. 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 30 characters long.
The hostname asigned is also used as the default ClxName when you autoconfigure.
Firmware
Select the firmware the AN-X is to load from the list provided. AN-X builds the list from the firmware files on the microSD card that are compatible with the AN-X hardware.
The firmware file for Genius operation is AN-X2-GENI-MAS.v4.x.x.qtf
Submitting the Configuration
Once you have entered all required parameters, click SUBMIT to write the configuration to the file config.txt on the microSD card. The changes do not take effect until the AN-X restarts.
The following page appears when you click SUBMIT.
Page 12 AN-X2-GENI (AN-X-GENI/B) May 2013
Click Continue to restart the AN-X2, then wait until the AN-X has completely restarted before continuing.
If you have changed the IP address, you will have to enter the new IP address in the browser’s address field.
Reconfiguring an AN-X from an Unknown State
It sometimes happens that an AN-X has been previously configured with an IP address that causes it to be inaccessible on the current Ethernet network or the IP address is unknown.
Remove the microSD card and edit the file config.txt using a text editor such as Windows Notepad to set the AN-X2 to the desired configuration.
The Configuration File
The Ethernet configuration and the name of the production firmware file to load are stored in the file config.txt on the microSD card.
The file config.txt is a text file that contains the Ethernet configuration and the name of the firmware file to load.
When you perform the Administration/AN-X Configuration command from the web interface, it writes the results to config.txt.
AN-X2-GENI (AN-X-GENI/B) Page 13
Keyword
Possible Values
IP
LOCAL DHCP static IP address
Netmask
Ethernet netmask, used only if IP is a static IP address
DefGtwy
default gateway, used only if IP is a static IP address
Hostname
Ethernet host name, from 1 to 30 characters
Firmware
Firmware file to run at startup, must be present on microSD card
Each line consists of a keyword followed by a colon and then a value. Example:
IP: 192.168.1.12
Anything after a semicolon on a line is treated as a comment.
If you edit the file and AN-X2 finds an error during startup, it flashes an error code on the SYS (or MS) LED, see page 54.
Example config.txt files
Example: Link- Local IP address
IP: LOCAL
Hostname: ANX2Geni
Firmware: AN-X2-GENI-MAS
Example: DHCP
IP: DHCP
Hostname: ANX2Geni
Firmware: AN-X2-GENI-MAS
Example: static IP address
IP: 192.168.1.14
NetMask: 255.255.255.0
DefGtwy: 192.168.1.1
HostName: ANX2Geni
Firmware: AN-X2-GENI-MAS
Page 14 AN-X2-GENI (AN-X-GENI/B) May 2013
If the link-local address is not accessible…
Addresses 169.254.1.0 to 169.254.254.255 are reserved for use on a local network. AN-X2 modules are shipped set to the address 169.254.42.84 for initial configuration. This address is almost always accessible from a computer on the same local Ethernet as the AN-X.
If you cannot access the AN-X2 at address 169.254.42.84 using a web browser, open a command prompt window and type
route print
The routing table appears
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 18 8b c5 9d f7 ...... Broadcom 440x 10/100 Integrated Controller -
Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.10.0.1 10.10.0.20 20
10.10.0.0 255.255.255.0 10.10.0.20 10.10.0.20 20
10.10.0.20 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.10.0.20 10.10.0.20 20
64.215.255.122 255.255.255.255 10.10.0.1 10.10.0.20 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
169.254.0.0 255.255.0.0 10.10.0.20 10.10.0.20 20
224.0.0.0 240.0.0.0 10.10.0.20 10.10.0.20 20
255.255.255.255 255.255.255.255 10.10.0.20 10.10.0.20 1
Default Gateway: 10.10.0.1
===========================================================================
Persistent Routes:
None
If there is no entry in the network destination column that starts with 169.254.0.0 (highlighted above), add a route using
Loading...
+ 44 hidden pages