background image

AN-X2-MOD-MAS Page

 37 

 

 

Offset 

Description 

Average update time, average of last 32 updates 

Reserved 

Minimum update time since last reset of statistics 

Reserved 

Maximum update time since last reset of statistics 

Reserved 

Reserved 

Reserved 

Reserved 

Reserved 

 

The units for the times are 0.1 milliseconds. A value of 87 means 8.7 ms. 

To map the statistics for a given connection, include a line with the keyword ConnStatsn, 
where n is the connection number, from 0 to 15, in the input section of a connection. 

If you omit the offset, the line must start with a comma. 

Examples: 

,ConnStats2 

40, ConnStats2 ; offset 40 

To clear the connection statistics, set bit 0 in word 0 of the output data for connection 15.  
This clears the diagnostic counters and the connection statistics.  

You can also clear the diagnostic counters and connection statistics separately from the 
web interface. 

Other Parameters 

The following options affect the overall operation of the AN-X. 

LongInp 

800 series drops send inputs only when the data on the drop changes. 

To force drops to send all inputs on every scan, include a line that contains just the 
keyword LongInp 

 

LedModeDebug 

There are two modes of operation for the NET or NS LED.  Refer to page 37 for details. 

 

Summary of Contents for AN-X2-MOD-MAS

Page 1: ...AN X2 MOD MAS Modicon S908 Remote I O Scanner Module User Manual ...

Page 2: ...nts 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 WARNING Identifies information about practices or circumstances that can lead to personal injur...

Page 3: ......

Page 4: ...Cabling 11 CE Installations 11 QUICK START 12 ETHERNET CONFIGURATION 13 Ethernet Configuration 13 DHCP 15 Static IP Address 15 Hostname 15 Firmware 15 Submitting the Configuration 15 Reconfiguring an AN X from an Unknown State 16 The Configuration File 16 If the link local address is not accessible 17 CONFIGURING THE AN X2 MOD MAS S908 NETWORK 20 Auto Configuration 20 Manual Configuration 22 Confi...

Page 5: ...Sending and Retrieving Configurations 38 Sample Ethernet Configuration File 38 SCANNING I O 40 Program Run 40 Required Connections 40 ControlLogix Alias Tags 40 Using the ControlLogix Log 42 Redundancy 42 ControlLogix Ethernet Configuration File 42 Aliases 44 Criteria for Switching between AN X Modules 44 Switchover 44 Other factors to consider 45 LEDs 45 USING THE WEB INTERFACE 46 Automation Netw...

Page 6: ... 56 Hostname 56 Firmware Type 57 Submitting the Configuration 57 Archive Configuration 57 Update AN X Firmware 58 Restart AN X Module 59 Troubleshooting Menu 59 TROUBLESHOOTING 60 LEDs 60 Ethernet LEDs 60 SYS or MS LED 60 Railroading SYS or MS and NET or NS LEDs 61 MS and NS LEDs Runtime 61 Fatal Errors 62 UPDATING THE FIRMWARE 63 SPECIFICATIONS 64 SUPPORT 65 WARRANTY 66 ...

Page 7: ...p to 32 drops The module supports scheduled connections with a ControlLogix processor over Ethernet so the ControlLogix processor can read inputs from the Modicon network and write outputs The AN X MOD MAS module has a web interface for configuring the module for monitoring logs and diagnostics and for performing administrative functions You can communicate with the module using any standard web b...

Page 8: ... to the S908 remote I O network 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 ...

Page 9: ...n remove the card and edit the file config txt Refer to page 16 for details Reinsert the card in the slot at the back of the AN X2 with the pins facing up 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 AN X2 Modes of Operation There are two AN X2 modes of operat...

Page 10: ...ower consumption is 150 mA 12VDC or 75 mA 24VDC The part number for the power connector is Phoenix MSTB 2 5 3 ST 5 08 S908 Cabling and Termination Refer to the Modicon Remote I O Cable System Planning and Installation Guide 890 USE 101 00 Version 3 0 for detailed information on cabling and installation The module has a standard F connector for connection to the S908 remote I O network The hardware...

Page 11: ... to ground is required use an F connector grounding block 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 between a computer and AN X use a crossover cable CE Installations If you are installing the AN X2 in a location which requires CE install t...

Page 12: ...work 10 3 Use the web interface to autoconfigure the AN X from the attached Modicon network 20 4 Configure the AN X in RSLogix 5000 27 5 Scan I O read inputs and write outputs 40 6 Use the web interface to create aliases for RSLogix 5000 40 7 Import the aliases into RSLogix 5000 40 8 Use the aliases to access the Modicon I O 9 Create your control application using the aliases ...

Page 13: ...address tp the AN X 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 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 IMPORTANT If you are connecting AN X to an existing Ethernet network con...

Page 14: ...Page 14 AN X2 MOD MAS May 2016 The AN X2 Configuration page appears At the top the screen shows the serial number and MAC address of the AN X2 being configured Check either DHCP or Static ...

Page 15: ...the gateway address on the network Hostname Enter a Hostname 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 30 characters long and should contain only alphanumeric characters no hyphens or underscores TIP When you configure the AN X in RSLogix 5000 use this same name for the emulated ENBT See...

Page 16: ...hernet 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 text file config txt on the microSD card When you perform the Administration AN X Configurat...

Page 17: ...P address IP LOCAL Hostname ANX2Mod Firmware AN X2 MOD MAS Example DHCP IP DHCP Hostname ANX2Mod Firmware AN X2 MOD MAS Example static IP address IP 192 168 1 14 NetMask 255 255 255 0 DefGtwy 192 168 1 1 HostName ANX2Mod Firmware AN X2 MOD MAS 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 t...

Page 18: ... 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 ...

Page 19: ...puter that is to communicate with the AN X2 Repeat the route print command and confirm that the table now has an entry similar to the one shown Now try pinging the AN X2 at 169 254 42 84 You should now be able to access it using a browser to set the desired Ethernet configuration When you add a route in Windows and you want it to be persistent use the p option route p add 169 254 0 0 mask 255 255 ...

Page 20: ... editor and send it to the AN X2 MOD MAS You can use autoconfiguration to build an initial configuration file transfer the file to your computer edit the file to add features then perform a manual configuration with the modified file Auto Configuration To perform an autoconfiguration in the web interface first select Automation Network Modicon S908 I O Network Configuration Click the Auto configur...

Page 21: ...Default 3 Rack 1 Slot 1 Type CPS_114_xx Addr d2s1 Inp 00 Out 00 AC PS 115 230V 10A Slot 2 Type CRP_93x_00 Addr d2s2 Inp 00 Out 00 RIO HEAD S908 Slot 3 Type DDI_353_00 Addr d2s3 Inp 04 Out 00 DC IN 24V 4x8 Sink Slot 4 Type DDO_353_00 Addr d2s4 Inp 00 Out 04 DC OUT 24V 4x8 CfgLen 2 0x0000 0x0000 Slot 5 Type ACO_020_00 Addr d2s5 Inp 00 Out 08 AN OUT 4CH CURR CfgLen 6 0x8001 0x5555 0x0000 0x0000 0x000...

Page 22: ... 25 Drop 2 O 12 I 22 MS 6 HT 3 The lower pane shows the corresponding ControlLogix configuration created by the autoconfiguration Manual Configuration Manual configuration is useful when the Modicon network is not attached to the AN X or when you need something other than the default configuration Create the configuration file using a text editor and save it as a comma separated variable CSV file ...

Page 23: ... drops to be scanned on the S908 network Begin a drop definition with a line that consists of the keyword Drop followed by an equals sign and then the drop number from 1 to 32 There should be no spaces before or after the equals sign Example Drop 7 End the drop definition with a line with just the keyword EndDrop Between the Drop and EndDrop lines enter the rack and slot definitions for the drop B...

Page 24: ...g a line after the slot definition that contains the length of the parameter data in words and the parameter data itself Example Slot 6 Type ACO_020_00 CfgLen 6 0x8001 0x5555 0x0000 0x0000 0x0000 0x0000 The leading 0x indicates a hexadecimal number Some Quantum discrete output modules for example the DRA 840 00 can be configured to either set their outputs to the last value or set their outputs to...

Page 25: ...ld time for a drop add a line immediately after the drop definition that consists of the keyword HoldTime an equals sign and the value There should be no spaces before or after the equals sign Example Drop 1 HoldTime 3 Sending and Retrieving Configurations To transfer an S908 configuration file to the AN X2 MOD MAS first select Automation Network Modicon S908 I O Network Configuration in the web i...

Page 26: ...UT B804 EndDrop Drop 2 HoldTime 3 Drop Hold Time x100ms Default 3 Rack 1 Slot 1 Type CPS_114_xx Addr d2s1 Inp 00 Out 00 AC PS 115 230V 10A Slot 2 Type CRP_93x_00 Addr d2s2 Inp 00 Out 00 RIO HEAD S908 Slot 3 Type DDI_353_00 Addr d2s3 Inp 04 Out 00 DC IN 24V 4x8 Sink Slot 4 Type DDO_353_00 Addr d2s4 Inp 00 Out 04 DC OUT 24V 4x8 CfgLen 2 0x0000 0x0000 Slot 5 Type ACO_020_00 Addr d2s5 Inp 00 Out 08 AN...

Page 27: ...maintaining each connection You map the inputs and outputs for the Modicon I O modules on the S908 network to these scheduled connections AN X can create the mappings automatically or you can create a mapping configuration manually You can also have AN X create the mapping file automatically then edit the file to better suit your application For example in order to make the most efficient use of t...

Page 28: ...e page 15 Set the Revision to 1 Set Electronic Keying to Disable Keying Set the Rack Connection to None Set the Time Sync Connection to None Set the chassis size to 17 Set the Slot to 16 Set the IP address to match the AN X module Record the Name as it is used to create aliases to access the data Click OK to accept the module ...

Page 29: ... the web interface to determine which connections are in use In RSLogix 5000 right click on the backplane and select New Module From the Other category select 1756 MODULE and click OK Set the Name and Description as desired Set the Comm Format to Data INT Set the other parameters as shown Set the Slot to 0 for connection 0 1 for connection 1 and so on 3 Set the RPI for each connection ...

Page 30: ...Mapping I O Data You map Modicon input and output data to the ControlLogix scheduled data by creating a comma separated variable text file that defines the mappings The file consists of sections for each scheduled connection Within each scheduled connection there are definitions for the input and output data for that connection that refer to the Modicon module drop rack and slot where the data is ...

Page 31: ...es each controlling a different Modicon network both networks could contain modules with the same drop and slot address Using a different ClxPrefix in the configuration file for each AN X MOD MAS makes the tags for the two modules distinct The ClxPrefix consists of a line with the keyword ClxPrefix followed by a comma and the prefix text Example ClxPrefix MOD_ Scheduled Connection Data Each schedu...

Page 32: ...xample To associate ControlLogix offset 27 with the Modicon module at address drop 4 rack 2 slot 4 and assign it tagname tag1 27 d4r2s4 tag1 Example To map the Modicon module at address drop 14 rack 1 slot 3 to the next available ControlLogix location and assign it tagname tag2 d14r1s3 tag2 or since the rack number is 1 you can also use d14s3 tag2 Example Simple Configuration File ClxName AnxModMa...

Page 33: ...ssors with exclusive owner connections to other AN X slots will also update If the exclusive owner connection to slot 0 stops AN X stops all communication with the S908 network WARNING The ScanModProg option is included for debugging since it allows inputs to update in the ControlLogix It is NOT recommened for normal operation For maximum compatibility with Modicon hardware it should not be used i...

Page 34: ...rs To map the diagnostic counters include a line with the keyword DiagCtrs in the input section of a connection This maps all ten diagnostic counters they cannot be mapped individually If you omit the offset the line must start with a comma Examples DiagCtrs 10 DiagCtrs offset 10 To clear the diagnostic counters set bit 0 in word 0 of the output data for connection 15 This clears the diagnostic co...

Page 35: ...line must start with a comma Examples DropErr 10 DropErr offset 10 TIP Map the drop error table to the first two words of input data of each connection If the connection to the AN X module is lost the ControlLogix sets the first 2 words of the connection to FFFF hexadecimal If your program is monitoring the drop error table it will see the error bit as set Module Health Bits Each Modicon drop retu...

Page 36: ...L 17H 18L 18H 19L 19H 20L 20H 21L 21H 22L 22H 23L 23H Offset 4 24L 24H 25L 25H 26L 26H 27L 27H 28L 28H 29L 29H 30L 30H 31L 31H Offset To map the module status data for a given Quantum drop include a line with the keyword dnModSts where n is the drop number from 1 to 32 and the length of the module status data in 16 bit words in the input section of a connection The length must be large enough to i...

Page 37: ... If you omit the offset the line must start with a comma Examples ConnStats2 40 ConnStats2 offset 40 To clear the connection statistics set bit 0 in word 0 of the output data for connection 15 This clears the diagnostic counters and the connection statistics You can also clear the diagnostic counters and connection statistics separately from the web interface Other Parameters The following options...

Page 38: ...r computer Sample Ethernet Configuration File The following is a file generated by AN X during an autoconfiguration QTS AN X2 MOD RIO Scan Configuration Utility Copyright c 2005 Quest Technical Solutions Auto Config Ethernet IP File Ver4 1 13 ScanModProg RedundEna MOD_A_ Enable Redundant configuration and specify Redund Prefix LongInp Force drops to send all inputs on every scan LedModeDebug Not O...

Page 39: ...nto ClxSlot 15 ClxSlot 15 DataOutput ClxBaseTag Inputs to ControlLogix 0 DiagCtl Len 1 Set Bit 0 to clear diagnostic counters DataInput ClxBaseTag Inputs to ControlLogix 0 DiagCtrs Len 10 S908 Diagnostic Counters 10 ScanSts Len 5 S908 Scan Status 15 d1ModHlth Len 5 20 d2ModHlth Len 5 Module Status Byte for Quantum Only 25 d2ModSts 3 ControlLogix Connection Statistics 30 ConnStats0 Len 10 40 ConnSt...

Page 40: ...mmunication with the S908 network WARNING The ScanModProg option is included for debugging since it allows inputs to update in the ControlLogix It is NOT recommened for normal operation For maximum compatibility with Modicon hardware it should not be used in normal operation Required Connections All ControlLogix connections that have I O data mapped to them must be configured and running without e...

Page 41: ...gs and import the tag file Tag Format AN X builds the tags from the ControlLogix configuration Each tag is a ControlLogix alias For example ALIAS MOD_d05s4_Out B804 AnxMod 0 O Data 0 In this example the tag name is MOD_d05s4_Out The name is made up of the ClxPrefix and the tagname from the ControlLogix configuration file If there is more than one word of data for the module AN X appends an undersc...

Page 42: ...kup takes over The backup AN X constantly monitors the S908 network When it becomes the primary it has the current state of inputs drop status etc Each ControlLogix processor has access to current I O data from the S908 network The backup AN X listens to the S908 network when it is told to go online as a scanner It waits for 10 ms of silence on the network before it takes over It does not start sc...

Page 43: ... for elements that are unique to each AN X module such as diagnostics RedundCtl Map RedundCtl to the output data for the connection to slot 0 in the AN X RedundCtl consists of a single 16 bit word Only bit 0 is used To set an AN X to act as the scanner set bit 0 to 1 To set an AN X to act as a backup set bit 0 to 0 If the configuration file contains RedundEna you must map RedundCtl ScanSts ScanSts...

Page 44: ...ssor maintains connections to both AN X modules It can monitor data on both AN X modules and can switch between them based on diagnostic counters drop error table module health bits Switchover To switch between AN X modules 1 Set RedundCtl on the backup AN X to 1 The backup AN X will not go online while it ses the primary AN X as master on the network 2 Set RedundCtl on the primary AN X to 0 The b...

Page 45: ...ents the mapped data may become larger than the maximum for a connection especially for large I O networks or for networks with many analog modules It may be necessary to change some of the mappings Also when you add elements the offsets in the comments generated by the autoconfiguration will no longer be correct Make sure the mappings in the ControlLogix configurations in both AN X modules are th...

Page 46: ...ters Configure the Ethernet settings and select firmware Archive the AN X configuration Update the AN X firmware Restart the AN X View AN X logs It also contains contact information for support To use the web interface you must know the IP address of the AN X To access the web interface start your web browser and type the AN X IP address where you normally enter web addresses in the browser The le...

Page 47: ...ost browsers you can reload a page while overriding the cache For example you can use Ctrl F5 in Firefox or Internet Explorer or Shift F5 in Google Chrome Automation Network Modicon S908 I O Network Configuration Select Automation Network Configure RIO to Enet IP to autoconfigure the AN X or to send a configuration file to the AN X To manually configure the AN X first create a configuration file R...

Page 48: ...owse button to select the file Click the Send File to AN X button to send the file to the AN X AN X parses the file and displays either the configuration if it has been successful or a message that indicates the source of the error if it fails View Configuration Files Select Automation Network View Configuration Files to view or save the S908 remote I O configuration file the ControlLogix configur...

Page 49: ...AN X2 MOD MAS Page 49 ...

Page 50: ...r The upper portion of the page shows in detail the contents of each drop First it shows a summary for the drop the total number of bytes of input data output data and Quantum status data Click on the arrow next to Rack Slot to display the contents of each occupied rack and slot the module type and a description of the module taken from the AN X internal database ...

Page 51: ...t are the contents of each connection the ControlLogix starting address and length of each mapping the corresponding alias and the module type mapped to that location From this page you can also click on the link to view the current main configuration file or right click on the link right click save link as link to save the current configuration file to your computer ...

Page 52: ...ywhere in the table To clear either set of counters use the corresponding Clear Counters link After clearing the counters refresh the counters S908 Remote I O Diagnostic Counters Counter Description TX PACKETS Count of transmitted packets GOOD RX PACKETS Count of good received packets DROP ERRORS Shows drops in error Data is displayed in hex low digit for drops 1 4 and so on RX CRC ERRORS Count of...

Page 53: ...protocol SCAN COUNT Running count of I O scans SCAN INIT Running count of drops being ininiatized SCAN TIME Current scan time units of 100 microseconds SCAN MAX Maximum scan time in the last 6 5 seconds Ethernet IP UDP Statistics The Ethernet IP Statistics consist of two portions Global counters Statistics for each connection The Global Counters consist of Counter Description TX Frames Count of tr...

Page 54: ...r Description Connection number 0 to 15 Status Active or Idle Rx Timeout The receive timeout calculated from the RPI Rx Average The average of the last 32 update times in ms Rx Minimum The minimum update time since the last counter reset in ms Rx Maximum The maximum update time since the last counter reset in ms ...

Page 55: ...rds informational messages during startup and normal operation View All Logs Use View All Logs to list and view all the AN X logs To view a log file click on the file name Administration Menu The Administration Menu is used to set the AN X IP address and to view and edit files on AN X AN X IP Configuration You can change the AN X IP configuration from the web interface This requires that you know ...

Page 56: ... does not find a DHCP server it reverts to the default link local address 169 254 42 84 and repeatedly flashes the SYS LED 3 times red followed by a pause Static IP Address To select a static IP address enter the IP address for the AN X the netmask for the AN X the default gateway for your network You must enter a valid default gateway address even if there is no device at the gateway address on t...

Page 57: ...quired 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 Archive Configuration You can archive all the current AN X configuration files and log files from the web interface The archive file is a standard gzip compressed tar archive It intended for technical support only Select Administration Archive ...

Page 58: ...Update Firmware button to transfer the file WARNING It is essential that you do not disrupt power while updating firmware especially maintenance firmware to the AN X2 or while the AN X2 is restarting following a firmware update Interrupting power at some points in the update process could render the AN X inoperative and it will have to be returned to the factory for reinitialization AN X displays ...

Page 59: ...der to run the updated firmware Restart AN X Module Use the Restart AN X Module command to restart the AN X module for example after changing Ethernet parameters or after updating firmware Troubleshooting Menu The troubleshooting menu contains information that is specific to an automation network as well as support information ...

Page 60: ...ons and errors Errors or status indication in boot mode cause the LED to flash yellow Otherwise the LED flashes red The SYS or MS LED should be used in conjunction with the logs to locate the cause of problems In the following red 3 means three red flashes followed by a pause and so on SYS or MS LED State Possible cause Red 3 DHCP configuration failed Yellow 2 microSD card not present Yellow 3 AN ...

Page 61: ...mode was the mode used in earlier versions of the firmware To set debug mode enter a line withjust the keyword LedModeDebug in the ControlLogix configuration file When you autoconfigure the AN X it enables debug mode in the file it creates Standard Mode The MS and NS LEDs are used by the AN X operating system and software to indicate the state of operations and errors In standard mode the MS and N...

Page 62: ...NET or NS LED shows the status of I O communication Color Meaning Flashing or solid red Network error Yellow No configured Modicon I O Green All configured drops are responding Some modules may be in error Fatal Errors AN X2 monitors its operation for impossible conditions and generates a fatal error if it detects one It generates a fatal error code on the SYS or MS LED by flashing 8 bits followed...

Page 63: ...g The web page displays the update progress at the bottom left of the page You must restart the AN X2 to run the firmware that you transferred WARNING It is essential that you do not disrupt power while updating firmware especially maintenance firmware to the AN X2 or while the AN X2 is restarting following a firmware update Interrupting power at some points in the update process could render the ...

Page 64: ...etween Ethernet and Modicon S908Remote I O network Maximum Power Consumption 150 mA 12 VDC or 75 mA 24 VDC Maximum Power dissipation 1 8W Environmental Conditions Operational Temperature 0 50 C 32 122 F Storage Temperature 40 to 85 C 40 to 185 F Relative Humidity 5 95 without condensation ...

Page 65: ...724 2080 support AP prosoft technology com Europe Middle East Africa Languages Spoken French English 33 0 5 34 36 87 20 support EMEA prosoft technology com North America Languages Spoken English Spanish 1 661 716 5100 support prosoft technology com Latin America Brasil Languages Spoken Portuguese English 55 11 5083 3776 support brazil prosoft technology com Latin America Spanish Speaking Countries...

Page 66: ...ch original identification marks have been removed or altered This Limited Warranty also will not apply to interconnecting cables or wires consumables nor to any damage resulting from battery leakage In all cases Quest Technical Solutions responsibility and liability under this warranty shall be limited to the cost of the equipment The purchaser must obtain shipping instructions for the prepaid re...

Reviews: