HMS AnyBus-X AB7607 User Manual Download Page 1

 

AB7607 User manual

AnyBus-X

Ethernet to DeviceNet Gateway

User Manual

Part No

.

 

AB7607

Rev 1.11

HMS Industrial Networks
Pilefeltsgatan 93-95
SE-302 50 Halmstad
Sweden

Phone +46 (0) 35 17 29 00
Web www.anybus.com

Summary of Contents for AnyBus-X AB7607

Page 1: ...607 User manual AnyBus X Ethernet to DeviceNet Gateway User Manual Part No AB7607 Rev 1 11 HMS Industrial Networks Pilefeltsgatan 93 95 SE 302 50 Halmstad Sweden Phone 46 0 35 17 29 00 Web www anybus...

Page 2: ...Installation 2 1 Installation and Operation Requirements 2 1 Power and Network Connections 2 2 Connecting Power 2 3 Connecting DeviceNet 2 4 Connecting to Ethernet 2 4 Configuration 3 1 Anybus X Confi...

Page 3: ...IP Interface 6 1 Product Features 6 1 CIP Objects 6 1 CIP Messaging 6 2 Assembly Objects and Connections 6 4 Notes About Using ControlLogix I O Connections 6 9 CIP Bridging 6 10 Modbus TCP Interface...

Page 4: ...4 Status and Diagnostics 10 1 Anybus X LEDs 10 1 Diagnostic Web Pages 10 4 Status Assembly 10 7 Specifications 11 1 Environmental Specifications 11 1 EMC Directive Compliance 11 1 Electrical Specifica...

Page 5: ...t may appear in this document There are many applications of the Anybus X module Those responsible for the use of this device must satisfy themselves that all necessary steps have been taken to verify...

Page 6: ...elated Documentation Document Name Author Web Page DeviceNet Specification ODVA www odva org EtherNet IP Specification ControlNet International LTD www odva org Modbus TCP Schneider Automation www mod...

Page 7: ...IP interface that supports IT protocols such as SMTP FTP HTTP and con trol protocols such as EtherNet IP and Modbus TCP Examples of Anybus X Ethernet to DeviceNet applications Anybus X can be used as...

Page 8: ...o be read through the other network interface The Anybus X appears as a single device on either network using standard proto col mechanisms No special or extended protocol features are required of the...

Page 9: ...MAC ID Configuration Recovery can be configured for slave devices so that a newly replaced slave can be configured to the same settings of the device it replaces Combined with Automatic Address Recov...

Page 10: ...232 port and Anybus X Configuration Tool Email client capability The Anybus X can only connect to mail servers that do not require a username password to access A mail server such as that used by many...

Page 11: ...ware updates RS232 null modem cable pins 2 and 3 swapped from the PC to the Any bus X module DIN rail to mount the Anybus X Required Software DeviceNet configuration software such as RSNetWorx for Dev...

Page 12: ...r more details on the connectors There is an 8 position dip switch on the end of the module that can be used to select a portion of a default IP address that may be used to permit an intranet con nect...

Page 13: ...rning Explosion Hazard Substitution of components may impair suitabil ity for Class 1 Division 2 Warning Explosion Hazard When in hazardous locations turn off power before replacing or wiring modules...

Page 14: ...er and Network Connections The power and network connections to the Anybus X are made on the end of the module Figure 2 1 indicates the location of each connector Figure 2 1 Anybus X Power and Network...

Page 15: ...ated on the end of the module The female terminal block connector is provided with the Anybus X Connections to be made are illustrated in Figure 2 2 The Anybus X requires 24 volts DC power The module...

Page 16: ...nation See the DeviceNet Specification for specific rules on DeviceNet connections and termination For information on setting the DeviceNet network configuration MAC ID baud rate etc see DeviceNet Net...

Page 17: ...over a standard RS 232 serial link using the PC serial port BWConfig is compatible with Microsoft Windows 95 98 NT 2000 and XP Installing the Tool Install BWConfig from the CD by running Setup exe wh...

Page 18: ...orts If a module is found the status area of the tool will be updated to show the module type and status of the module that was located If a module is not connected to the PC or is powered off when th...

Page 19: ...ation 3 3 2005 HMS Industrial Networks AB7607 User manual Configuration Tool User Interface The Anybus X Configuration Tool s user interface is shown in Figure 3 1 Figure 3 1 Configuration Tool User I...

Page 20: ...y saved configuration Save File Save the current configuration to a file Refresh Device Status Refresh the module identity and status infor mation This will update the current status information shown...

Page 21: ...S Industrial Networks AB7607 User manual Flash Update Perform a field upgrade of the Anybus X module s firmware Note Care should be taken when upgrading firmware an incomplete update could cause irrep...

Page 22: ...erver is available the module will revert to the last saved IP configuration On or Off IP Address The IP address the module will use on the Eth ernet network If DHCP is enabled and a DHCP server is fo...

Page 23: ...such a case a Web Browser such as Microsoft s Internet Explorer can be used to access the Anybus X s web page which allows changing the IP Address Subnet mask and GateWay address settings Note A non...

Page 24: ...IP switch do NOT correspond to bit locations in the address value In fact they are reversed i e bit 0 is set by switch 8 Setting the IP Address Using DHCP BootP When DHCP BootP is enabled and a DHCP o...

Page 25: ...ability is disabled unless all switches are ON On a PC connected to the Anybus X on Ethernet bring up an MS DOS window and type arp s IP address MAC address The arp s command will store the IP and MAC...

Page 26: ...l Networks AB7607 User manual Arp Ping Example The following commands will set the IP address of a Anybus X with MAC address 00 30 11 02 00 5E to 65 106 34 252 arp s 65 106 34 252 00 30 11 02 00 5e pi...

Page 27: ...er manual Setting the IP Address Using the Web Page The ethernet addresses can also be configured using the Status and Settings web page resident on the Anybus X The Status and Settings web page appea...

Page 28: ...sed to reset the Anybus X from the web browser The Scanner Mode will display RESETTING while the module resets and comes back online The web page will be refreshed after the module has booted Note If...

Page 29: ...on Initialization Sequence Start DIPSwitch 0 No Yes IP 192 168 1 n Sub 255 255 255 0 NoGateway Valid Configuration File Yes No DHCP Enabled Yes No Useconfiguration fromfile DHCP Config Received Yes Us...

Page 30: ...ceNet network The MAC address factory default is 63 0 63 Baud Rate The baud rate of the DeviceNet network The baud rate factory default is 125K 125K 250K 500K Auto Baud Enable or disable automatic bau...

Page 31: ...editing function of these tools See DeviceNet Network Configuration on page 4 1 for details on setting the DeviceNet network configuration using these tools EDS File Each device on a DeviceNet networ...

Page 32: ...or Modbus TCP scanner The Input and Output table formats should be planned and documented to ensure the Ethernet scanner is working with the correct data from the DeviceNet network I O Size Limitation...

Page 33: ...ired when using RSNetworx DeviceNet Network Configuration The configuration of the DeviceNet network interface involves using a DeviceNet node commissioning tool to set the Anybus X s MAC ID and baud...

Page 34: ...this is the first time RSNetWorx has been used with a Anybus X the Anybus X s icon should indicate Unrecognizable Device Step 3 Register the Anybus X EDS file in RSNetWorx RSNetWorx requires an electr...

Page 35: ...rnet scanner in Idle or Program mode Step 5 Set the DeviceNet MAC ID and Baud Rate Select the Tools menu option and pull down menu Select the Node Commissioning option Another screen appears Click on...

Page 36: ...s set to 3 Instance set to 1 Attribute set to 64h To the left of the Object Class section is one titled Service Code There s a text box with a pull down selection titled Description Pull down the sele...

Page 37: ...re the check box titled Val ues in Decimal is NOT checked At the top right is an Object Address with 3 text boxes Set the values in these boxes as follows Class set to 3 Instance set to 1 Attribute se...

Page 38: ...and click on it A Driver Dialog box appears Click on 7262 Serial RS232 DeviceNet Tool Adapter to highlight it and click Ok A screen to configure the RS 232 communications between the Adapter and the...

Page 39: ...in Idle mode and is controlled by the EtherNet IP scan ner through the output command register Make sure that the module is in Idle mode by verifying that the Anybus X Status LED is flashing green the...

Page 40: ...d Click on Upload The parameter values will be read from the device Put the cursor Autobaud parameter value Click to highlight it and then click again to get a menu From this menu select Enable or Dis...

Page 41: ...ion to be uploaded from the network Double click on the Anybus X icon to bring up the module description screen Several tabs appear on the top of the screen Click the Scanlist tab The screen shows 2 c...

Page 42: ...s the format of the output data that will be sent to the Anybus X from the EtherNet IP scanner See I O Mapping on page 3 10 Click the Apply button and Yes to download the scanlist to the Anybus X The...

Page 43: ...t to the scan list A screen displaying the I O configuration for the device will be displayed click Ok Click the Input tab A screen is displayed for mapping the input data Select the device whose inpu...

Page 44: ...tches on the IP Address Configuration DIP switch to the ON position Turn the power ON Open an MS DOS window on the PC Type arp s IP address MAC address Substitute MAC address with the MAC address of y...

Page 45: ...indicating a connection Example Reply from 65 106 34 252 Bytes 32 Time 271ms TTL 30 Type arp d IP address Example arp d 65 106 34 252 The Anybus X module will now adopt the IP address that was specif...

Page 46: ...ype telnet IP address Substitute IP address with the IP address you are using for the module Don t include the or characters Example telnet 65 106 35 252 You will be prompted for a username enter admi...

Page 47: ...Don t close this window yet If you are not in the root directory make sure you are Step 3 Create and Upload a Web Page Open a text editor to create a text file Type the following into the new file in...

Page 48: ...Page Open a web browser window on the PC Type HTTP IP address hello htm in the URL field Substitute IP address with the IP address you are using for the module Don t include the or characters The web...

Page 49: ...igured using a DeviceNet configuration tool such as RSNet Worx for DeviceNet or NetTool DN The tool will access the module over the DeviceNet network The Anybus X supports a Scanner Configuration and...

Page 50: ...inates the need to re establish an explicit connection should the Anybus X need to send configuration data or serve as a proxy Scan Cycles The Anybus X employs a scan cycle for producing poll and stro...

Page 51: ...ions in the input and output tables I O Table Byte Swapping The Anybus X provides an I O byte swapping option If the option is enabled the data in the I O tables is byte swapped on 16 bit boundaries T...

Page 52: ...mode of the Anybus X is controlled through the command registers at the front of the output data from the EtherNet IP scanner See Output Assem bly on page 6 6 The module powers up in Idle mode The mo...

Page 53: ...MAC ID 63 2 An identical device is added to the network at MAC ID 63 3 The master verifies that the new device at 63 is exactly the same kind as the slave that was lost 4 The master changes the new d...

Page 54: ...multaneous access by the Ethernet and DeviceNet interfaces There is no synchronization between the 2 network interfaces When an I O connection with a slave requires that output data be sent to the sla...

Page 55: ...such requests A Scanner device would generate these requests The Anybus X sup ports Message Server and Message Client functionality This means it can act as a target and originator for messaging CIP O...

Page 56: ...can be sent as Connected or Unconnected With Connected Messaging device resources are reserved in advance of data transfer and are dedicated and always available Unconnected messaging provides a means...

Page 57: ...e DeviceNet slaves is collected in the Input Table IN of the Anybus X and becomes the EtherNet IP Input I O to the EtherNet IP scanner EtherNet IP Output data from the scanner is stored in the Anybus...

Page 58: ...hen connecting to the input and output assemblies can be set according to the size of the I O data tables configured in the DeviceNet scanner and the status and command words in the I O assemblies see...

Page 59: ...nput data table will be used the remaining space will be filled with 0 The status register is a bit string with the following bit definitions Byte Offset Size in Bytes Description 0 4 Status register...

Page 60: ...Run Idle register at the front of the output data The actual output data transferred in the I O connection includes this extra 4 bytes at the front of the output assembly described above The Command r...

Page 61: ...X was powered up 4 8 64 bit Bit string Faulted Node Table Indicates which DeviceNet slaves are faulted Each bit represents the status of the slave at the corresponding MAC ID 12 8 64 bit Bit string Au...

Page 62: ...crolling MAC ID The scrolling address and status fields scroll through the address and status of all DeviceNet slaves that are faulted This scrolling includes the Anybus X scanner itself If there are...

Page 63: ...utput data and the application has not control over its use The System Run Mode bit is set according to the Run Program mode of the controller The ControlLogix applica tion sees byte 4 as the beginnin...

Page 64: ...e Unconnected Send or Forward Open services of the Connection Manager Object are used The the MAC ID of the destination DeviceNet node along with a network port address must be used in the Unconnected...

Page 65: ...ule can handle 8 simultaneous connections Supported Commands The following Modbus TCP commands are supported by the Anybus X Function Code Function Name Class Affects Address Method 1 Read Coils 1 IN...

Page 66: ...request that was received The following exception codes will be used by the Anybus X Exception Code Name Description 01 Illegal Func tion The module does not support the function code in the query 02...

Page 67: ...h 001h 0010h 0011h 0012h 0013h 0014h 0015h 0016h 001Eh 001Fh 0FDh 0FD0h 0FD1h 0FD2h 0FD3h 0FD4h 0FD5h 0FD6h 0FDEh 0FDFh Table 7 3 Input Addressing Word Bit Address 400h 4000h 4001h 4002h 4003h 4004h 4...

Page 68: ...rd Addressing Examples To reference the first word of the Input Table use address 000h To reference the 10th word of the Input Table use address 009h To reference the first word of the Output Table us...

Page 69: ...he size configured for the output data table will be used the remaining space will be ignored The Run Idle register is a bit string with the following bit definitions Byte Offset Size in Bytes Descrip...

Page 70: ...Mode Used in conjunction with the Sys tem Run Mode bit in the Run Idle register to deter mine the run mode of the Both bits must be set for the to be in Run mode otherwise the module will be in Idle m...

Page 71: ...tocol values are transmitted least significant byte first Hence all data in the I O tables is assumed by the DeviceNet nodes to be stored as little endian Care should be taken to make sure that the Mo...

Page 72: ...nt users can have access to different files and directories The file system is accessi ble via FTP Telnet and HTTP File System Conventions Case Sensitivity The file system is case sensitive This means...

Page 73: ...connect to the module see ip_accs cfg on page 8 8 Normal mode The Anybus X contains a default admin password ad_pswd cfg file so when the module is first powered it operates in normal mode See Default...

Page 74: ...ccess to the entire system Administration Mode At power up the Anybus X contains a default admin password file See Default User Accounts on page 9 1 A user can login as an administrator by using the u...

Page 75: ...users ethcfg cfg Ethernet settings IP etc ip_access cfg IP Addresses of allowed clients telwel cfg Telnet welcome message onoffln cfg ON OFF line configuration ad_pswd cfg Admin password file email_1...

Page 76: ...d on the Anybus X when first pow ered pswd user web web styles user pswd The following files are also on the Anybus X pswd ad_pswd cfg telwel cfg ethcfg cfg index htm user pswd sys_pswd cfg These file...

Page 77: ...d The virtual file system contains the following files index htm config htm configform htm store htm logo gif configuration gif boarder bg gif boarder_m_bg gif The Anybus X contains an index htm file...

Page 78: ...ess 10 10 12 212 Subnet mask Subnet mask 255 255 255 0 Gateway address Gateway address 0 0 0 0 SMTP address SMTP address This must be configured in 0 0 0 0 order to send emails DHCP BOOTP DHCP BootP O...

Page 79: ...ds to be restarted for changes in this file to have affect ip_accs cfg It is possible to configure which IP addresses and what protocols that are allowed to connect to the module This information is s...

Page 80: ...o access the FTP and Telnet servers The Modbus TCP and EtherNet IP servers will accept connections from any IP address The contents of this file can be redi rected by placing the line File path on the...

Page 81: ...this line is optional 3 16 23 Selects what Modbus commands must be received during the timeout period If the keyword ALL is given the ON OFF line functionality will trigger on all Modbus commands The...

Page 82: ...fg The files shall be located in user pswd and pswd respectively These directories are protected from web browser access The file format is the following User1 password1 User2 password2 UserN password...

Page 83: ...or the ad_pswd cfg and sys_pswd cfg files except that the optional parameter Auth Name can be added The value of this parameter will be presented in the login window as the Realm If it is not given th...

Page 84: ...g this file It shall contain the new welcome message in ASCII form The contents of this file can be redirected by placing the line File path on the first row and a file path on the second Example File...

Page 85: ...email_10 cfg and placed in the folders email and user email respectively If the SMTP server is not configured the email will not be sent See ethcfg cfg on page 8 7 If the SMTP server requires usernam...

Page 86: ...e Value to compare with source value Mask a hexadeci mal 0xN or decimal value A logical AND is performed on the source data using this Mask before com paring with the Match Value Match Operand How the...

Page 87: ...ple Register IN 0x0003 byte A byte is read from the Input area at location 3 Register match 0x20 0x7F Mask Input byte with 0x7F if result greater than 0x20 send email To support your_company com From...

Page 88: ...iles are located in web styles index htm Re Direct Page The index htm file replaces the virtual file index htm and provides an entry screen with a link to the Anybus X s Home page in the web subdirect...

Page 89: ...age providing a status table of the possible 63 DeviceNet nodes with an indication for each node in the Any bus X s scanlist of whether the Anybus X and node are communicating web AutoVerifyTbl htm In...

Page 90: ...configured to report selected information via Email using the Email client Default User Accounts The Anybus X contains two user accounts on initial power up One account is for Administration mode use...

Page 91: ...e Admin User The admin user has unrestricted access to the file system The Telnet Server Through a Telnet client the user can access the file system using a command line interface similar to MS DOS No...

Page 92: ...normal mode This command has no affect in administration mode help Usage help general diagnostic filesystem General commands help Help with menus version Display version information exit Exit station...

Page 93: ...al Diagnostic Commands The following commands can be viewed by the command help diagnostic arps Usage arps Display ARP stats and table iface Usage iface Display net interface stats sockets Usage socke...

Page 94: ...st be surrounded by quotes It is also possible to use rela tive pathnames using and dir Usage dir path Lists the contents of a directory If no path is given the content of the current directory is lis...

Page 95: ...del Usage del path filename Deletes a file ren Usage ren path old name path new name Renames a file or directory move Usage move source path source file destination path This command moves a file or d...

Page 96: ...ndustrial Networks AB7607 User manual type Usage type path filename Types the contents of a file mkfile Usage mkfile path filename Creates an empty file append Usage append path filename The line to a...

Page 97: ...les The module contains a set of virtual files that can be used when building a web page for configuration of network parameters These virtual files can be overwrit ten not erased by placing files wit...

Page 98: ...ible to configure which IP addresses are allowed to connect to the web sever ip_accs cfg on page 8 8 SSI Functionality SSI functionality makes it possible to make web pages interact such as changing t...

Page 99: ...Gateway address Syntax exec cmd_argument DisplayGateway DisplayDhcpState This function returns whether DHCP BootP is enabled or disabled Syntax exec cmd_argument DisplayDhcpState Output when ON Output...

Page 100: ...m with new IP settings to it Accepted fields in form SetIp SetSubnet SetGateway SetEmailServer SetDhcpState value on or off Default output Invalid IP address Invalid Subnet mask Invalid Gateway addres...

Page 101: ...ard C function printf Syntax exec cmd_argument printf String to write Arg1 Arg2 ArgN Like the standard C function printf the String to write for this SSI function contains two types of objects Ordinar...

Page 102: ...least this wide and wider if necessary If the converted argument has fewer characters than the field width it will be padded on the left or right if left adjustment has been requested to make up the f...

Page 103: ...s from the string are printed until a 0 is reached or until the number of characters indi cated by the precision have been printed f Long Decimal notation of the form m dddddde xx or m ddddddE xx wher...

Page 104: ...set Reads a string char byte from position offset in the IN area InReadFloat offset Reads a floating point float value from position offset in the IN area OutReadSByte offset Reads a signed byte from...

Page 105: ...viceNet network DeviceNet is a little endian protocol values are transmitted least significant byte first Hence all data in the I O tables is assumed by the DeviceNet nodes to be stored as little endi...

Page 106: ...string to write in case of an error Character Input Data and Argument Type d Decimal number byte short i Number byte short The number may be in octal leading 0 zero or hexadecimal leading 0x or 0X o O...

Page 107: ...endian protocol values are transmitted least significant byte first Hence all data in the I O tables is assumed by the DeviceNet nodes to be stored as little endian The web server operates in a big en...

Page 108: ...n gets the text from an object and stores it in the OUT area Syntax exec cmd arbgument GetText ObjName OutWriteString offset n offset specifies the offset from the beginning of the OUT area n optional...

Page 109: ...Failure Failed to open filename SaveToFile This SSI function saves the contents of a passed form to a file The passed name value pair will be written to the file File name separated by the Separator...

Page 110: ...rings specified in this file instead of the default strings The file has the following format StoreEtnConfig Success String to use on success Invalid IP String to use when the IP address is invalid In...

Page 111: ...second row Temporary SSI Output change The SSI output for the next called SSI function can be changed with the SSI func tion SsiOutput The next called SSI function will use the output according to thi...

Page 112: ...ss It is possi ble to have 10 user defined and 10 admin defined emails triggered on different events These shall be placed in directories user email for user configurable emails and email for non user...

Page 113: ...that when uploaded to the module displays in hex the second byte of data from the IN able and the third byte of data of the OUT table using the SSI printf command html head title Ethernet to DeviceNet...

Page 114: ...ng red and green for an extended period of time count the number of red and green flashes and call technical support Figure 10 1 Anybus X LEDs State Summary Description Flashing Green Idle Module is i...

Page 115: ...1 slave device has timed out Red Green Alternate Flashing Self Test A self test of the module is in progress Table 10 2 DeviceNet Network Status LED States State Summary Description Flashing Green In...

Page 116: ...ernet Module Status LED State Summary Description Off No Power Not powered Solid Green Normal The module is operating correctly Flashing Green Standby The module has not been initialized Solid Red Unr...

Page 117: ...If a node is Idle the page will display Idle next to the node s MAC ID Note that only nodes which are configured as slaves to the Anybus X and the Anybus X itself are updated on this page State Summar...

Page 118: ...scan list the page will display Invalid next to the node s MAC ID Note that only nodes which are configured as slaves to the Anybus X are updated on this page Node Status Web Page The Node Status page...

Page 119: ...uring slave connection initialization 84 Slave connection initialization in progress 85 Incorrect data size received on connection 86 Device went into Idle mode 87 Shared master has not made connectio...

Page 120: ...ssembly object instance that is accessible from Ether Net IP both explicitly and using an I O connection The status assembly contains current status and diagnostic information pertaining to the Anybus...

Page 121: ...ouncil Directive 89 336 EC Electromagnetic Compatibility EMC by applying the following standards in whole or in part documented in a technical construction file EN50081 2 EMC Generic Emission Standard...

Page 122: ...works AB7607 User manual Mechanical Specifications Mechanical Rating IP20 NEMA 1 Dimensions I O Data Sizes Input Maximum 508 bytes Input Output Maximum 504 bytes Output Status 128 bytes of Status data...

Page 123: ...5 HMS Industrial Networks AB7607 User manual Connectors Power Use Phoenix connector part number MSTB 2 5 2 ST 5 08 ABGY Figure 12 1 Power Connector Pin Connection 1 24 VDC 2 24 VDC Common Table 12 1 P...

Page 124: ...nectors 12 2 2005 HMS Industrial Networks AB7607 User manual DeviceNet Use Phoenix connector part number MSTB 2 5 5 ST 5 08 ABGYAU Pin Signal 1 V 2 CAN_L 3 Shield 4 CAN_H 5 V Table 12 2 DeviceNet Pino...

Page 125: ...Connectors 12 3 2005 HMS Industrial Networks AB7607 User manual Ethernet RJ45 Pin Signal 1 TD 2 TD 3 RD 4 Termination 5 Termination 6 RD 7 Termination 8 Termination Table 12 3 RJ45 Pinout...

Page 126: ...Connectors 12 4 2005 HMS Industrial Networks AB7607 User manual Auxiliary RS 232 9 Pin D Subminiature Pin Signal 1 NC 2 Receive 3 Transmit 4 NC 5 NC 6 NC 7 NC 8 NC 9 NC Table 12 4 RS232 9 Pin...

Page 127: ...SIGN MERCHANTIBILITY FITNESS FOR A PARTICULAR PURPOSE TITLE AND NONINFRINGMENT THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY PROVIDED IN THIS AGR...

Page 128: ...Anybus X technical support at 46 0 35 17 29 00 You can obtain technical assistance by email at support anybus com You can also obtain technical assistance and download documentation and firm ware upd...

Reviews: