Home

Anybus® Communicator CAN EtherNet/IP

image

Contents

1. S Network CANopen 4 General 2 Communicator Subnetwork 250 kbit s Bus Off Action No Action 11 29 bit CAN Identifier 1 bit If the Control Status Word is enabled no Bus Off Action can be defined 5 Add Groups Right click on Subnetwork and add two groups to the navigation tree one for each device on the RE g gt 4 Subnetwork CAN network Temp Sensor Rename them e g Temp Sensor and Motor Re Motor 3 Network PROFIBUS DP V1 2 Communicator naming is essential to enable other users than the designer of the application to comfortably monitor and modify the application The CAN network is message based but using the group to structure the transactions will make it conceptually easier to build a configuration 6 Addt tions to Temp S x ransactions to Temp Sensor group 22 Network PROFIBUS DP V1 The temperature sensor needs to be initialized It 2 Communicator needs instructions during runtime and it will deliver 4 3 Subnetwork temperature data to the Communicator a Temp Sensor EEN 1 Initialize 1 A suitable transaction for an initialization is a quety on 2 Initialize 2 3 Cels Farenh A quety response transaction ensures an acknowl 4 Temperature edgement of a successful initialization In this exam Motor response transaction which is run once at start up ple the initialization is performed in two steps
2. License is also granted to make and use derivative works provided that such works are identified as derived from the RSA Data Security Inc MD5 Message Digest Algorithm in all material mentioning or referencing the derived work RSA Data Security Inc makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose It is provided as is without express or implied warranty of any kind These notices must be retained in any copies of any part of this documentation and or software
3. Subnetwork General Parameter Values Comment Bit Rate 20 kbit s Select CAN bit rate on the subnetwork 50 kbit s 100 kbit s 125 kbit s 200 kbit s 250 kbit s 500 kbit s 800 kbit s 1000 kbit s Bus Off Action No action Select what will happen to the CAN controller when the CAN network goes bus Automatic Reset off Available only when the Control Status Word is not used Please note that when enabling the Control Status Word this parameter will automatically be set to No Action 11 29 bit CAN 11 bit Select CAN identifier size on the subnetwork Identifier 29 bit If there are transactions configured when this parameter is changed the follow ing will happen a change from 11 bit to 29 bit identifier will cause the identifier to be padded with zeroes up to 29 bits keeping the 11 bits at the same location a change from 29 bit to 11 bit identifier will cause the upper 18 bits to be deleted and the lower 11 bits kept WARNING This may in some cases cause faulty CAN identifiers Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Chapter 9 9 Groups and Transactions 9 1 General The configuration of the Communicator is set up in groups each containing one or more transactions Please note that the groups do not represent a physical device on the CAN network They are a means for structuring the application and maintaining an overview of it The maximal number of groups is 128 A tra
4. Also instructions and information need to be sent to the sensor and data collected A produce transac tion sends information to the network and a con sume transaction will collect information Add two query response transactions and rename them Initialize 1 and Initialize 2 On each select Query and change Update Mode to Single Shot The transactions will be run once at startup to initialize the communication with the temperature sensor Leave the rest of the parameters at default values Add one Produce transaction to send information and instructions to the temperature sen sor Rename the transaction to Cels Farenh and set Update Mode to Cyclically Leave the rest of the parameters at default values Finally add one Consume transaction to collect the data cyclically from the temperature sen sor Rename the transaction to Temperature and set Update Mode to Cyclically Leave the rest of the parameters at default values Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 7 Add frames to the transactions Right click on Query in Tnit alize 1 and add a CAN frame Select the frame Set a unique CAN identifier to the frame The CAN identifier shall be recognized on the network by the temperature sensor Right click on the frame to define the components of the 8 byte data area in the frame see figure to the right Enter constant values whe
5. The format of these files are as follows Usernamel Passwordl Username2 Password2 Username3 Password3 Note 1 If no valid user accounts have been defined the gateway will grant admin level access to all us ers In such cases the FTP accepts any username password combination and the root directory will be N Note 2 The FTP server shares user accounts with the Telnet server C 3 2 FTP Connection Example Windows Explorer The built in FTP client in Windows Explorer can easily be used to access the file system as follows 1 Open the Windows Explorer by right clicking on the Start button and selecting Explore 2 In the address field type FTP lt user gt lt password gt lt addtess gt Substitute lt address gt with the IP address of the Anybus Communicator Substitute lt user gt with the username Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 59 Substitute lt password gt with the password 3 Press enter The Explorer will now attempt to connect to the gateway using the specified settings If successful the built in file system is displayed in the Explorer window Do e O x File Edit View Favorites Tools Help A Q Back Y J Z Search Folders 7 w Address ftp user password lt address gt E Go Name Size T Date Modified File and Folder Tasks x Make a new folder Publish this folder to the Web
6. This area can be written to by the higher level network how this data is represented on the higher level network will be described later in this chapter General Data This area can not be accessed from the higher level network but may be used for transfers be tween individual nodes on the subnetwork or as a general scratch pad for data The size of the General Data area is 1024 bytes How much of the area that is used for subnetwork communi cation is decided by the configuration Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 About the Anybus Communicator CAN 7 Memory Map When building the subnetwork configuration using the Anybus Configuration Manager the different ar eas described above ate mapped to the memory locations addresses specified below Input Data Output Data General Data 0x000 0x200 0x400 CAN network Write Only CAN network Read Only CAN network Read Write Fieldbus Read Only Fieldbus Write Only Fieldbus att Ox3FF rt Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 2 About the Module 2 1 External view A Status LEDs See also Status LEDs on page 10 Fieldbus Specific Connectors and Switches This connector is used to connect the Anybus Communicator CAN module to the EtherNet IP network They are described in Ethernet Connectors on page 11 USB connector This connect
7. Anybus Communicator CAN to collect data from a tempera tute sensor and to control and monitor a motor Fieldbus Control System e g a PLC 1 Start the Anybus Configuration Manager Communi cator CAN ACM 2 Choose industrial network The example is the same irrespective of industrial network but in an application it is important to choose network first as the ACM will show the amount of data that can be transferred Fieldbus Network PC configuration and monitoring Motor Temperature sensor CAN Network 3 Select Communicator 3 Network PROFIBUS DP V1 Communicator Subnetwork Enable the Control Status Word If the Control Status Word is to be used in a 7 General configuration it is recommended to enable it ControY Staas Word before adding any transactions to the configu Start up Operation Mode ration The Control Status Word is positioned Transaction Live List at the start of the memory and this may cause 4 Statistics address conflicts if any data objects have been Counters Disabled configured previously 4 Fatal Event For more information on the Control Status Action Stay in Safe State Word see page 18 Leave the rest of the parameters at default val ues Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Configuration Example 48 4 Select Subnetwork File Edit Tools Online ECKE
8. Coil amp Register Map The input and output data areas are mapped to coils and registers as follows Register Coil Memory Location in ABC Area Comments 1 1 16 0x000 0x001 Input Data area 2 17 32 0x002 0x003 3 33 48 0x004 0x005 4 49 64 0x006 0x007 255 4065 4080 Ox1FC 0x1FD 256 4081 4096 Ox1FE Ox1FF 257 4097 4112 23 ai reserved 1024 16369 16384 1025 16385 16400 0x200 0x201 Output Data area 1026 16401 16416 0x202 0x203 1027 16417 16432 0x204 0x205 1028 16433 16448 0x206 0x207 1279 20449 20464 0x3FC Ox3FD 1280 20465 20480 Ox3FE Ox3FF Note 1 The table above applies to all function codes Note 2 Coils are mapped MSB first i e coil 0 corresponds to bit 15 of register 0 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Chapter 6 6 Configuration 6 1 Configuring the Anybus Communicator CAN The configuration of the Anybus Communicator CAN is performed using the configuration tool Anybus Configuration Manager for Communicator CAN ACM The tool is included on the CD that accompanies the module and it is also available for download at www anybus com Chapters 7 to 11 in this manual describe the configuration tool and its features A configuration example is given in Ap pendix B on page 47 The USB connector at the bottom o
9. Ox 1FD 256 0x1FE Ox1FF Each register corresponds to two bytes in Holding Register Map The output data area is mapped to holding registers as follows Register Memory Location in the Communicator Comments 0x200 0x201 0x202 0x203 the output data area 0x204 0x205 0x206 0x207 0x208 0x209 OD o A V N gt 0x20A 0x20B 255 0x3FC OX3FD 256 Ox3FE OX3FF Each register corresponds to two bytes in Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 5 3 5 Anybus Addressing Mode Supported Function Codes Data Representation on EtherNet IP 23 The following function codes can be used in this mode Modbus Function Function Code Associated with Area s No of I Os or data points per command Read Coil 1 Input and Output Data Area 1 2000 bits Read Input Discretes 2 0x000 Ox3FF 1 2000 bits Read Holding Registers 3 1 125 registers Read Input Registers 4 1 125 registers Write Coil 5 Output Data Area 0x200 1 bit Write Single Register 6 0x3FF 1 register Force Multiple Coils 15 1 800 bits Force Multiple Registers 16 1 800 registers Mask Write Register 22 1 register Read Write Registers 23 Input and Output Data Area 125 registers read 100 registers write 0x000 Ox3FF
10. and enter the password under New SecondaryDNS 10 password When protected any chang es in the configuration requires that the user supplies a valid password Password IT Change password When done click Set The new IP con New password figuration will now be stored in the con Cancel figuration file ethcfg cfg Bens Primary DNS 10 10 Hostname Note that if TCP IP Settings has been enabled in the Anybus Configuration Manager any settings received via HICP will be lost in the event of a power loss or reset Anybus Communicator CAN Doc Rev 1 00 Doc Id SCM 1200 123 58 C 3 FTP Server C 3 1 General The built in FTP server provides a way to access the file system using a standard FTP client The following port numbers ate used for FTP communication e TCP port 20 FTP data port TCP port 21 FTP command port Security Levels The FTP server features two security levels admin and normal e Normal level users The root directory will be user e Admin level users The root directory will be V i e the user has unrestricted access to the file system User Accounts The user accounts ate stored in two files which are protected from web access e user pswd sys_pswd cfg This file holds the user accounts for normal level users e pswd ad_pswd cfg This file holds the user accounts for admin level users File Format
11. to that particular entry 3 Parameter Section This section holds a list of parameters or options related to the currently selected entry in the Navigation Section The parameter value may be specified either using a selection box or entering a value manually depending on parameter 4 Information Section This section presents information related to the parameter where the pointer is hovering Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Anybus Configuration Manager 26 7 1 1 Pull down Menus Some of these entries are available directly on the toolbar as well The toolbar icon is shown next to these entries File This menu features the following entries s New Create a new configuration e Open l Es Open a previously created configuration A configuration is saved with the file ex tension hcg e Save Save the current configuration ls e Save As Li Save the current configuration under a Ea new name Recent Files Displays a list of recently accessed configurations e Exit Close the Anybus Configuration Manager Edit This menu features the following entries e Undo Undo the most recent action Repeat to undo more actions e Redo Redo the most recent undo es Cut Remove selected group transaction CAN frame or object e Copy Copy selected group transaction CAN frame or object e Paste Paste previously copied group transaction CAN fr
12. using abcdef for 0x or ABCDEF for 0X u byte short decimal notation c byte short single character after conversion to unsigned char S char characters from the string are printed until a 0 is reached or until the number of characters indicated by the precision have been printed f float decimal notation of the form mmm ddd where the number of de is specified by the preci sion The default precision is 6 a precision of O suppresses the decimal point e E float decimal notation of the form m dddddd e xx or m ddddddE xx where the number of de specified by the precision The default precision is 6 a precision of 0 suppresses the decimal point g G float e or E is used if the exponent is less than 4 or greater than or equal to the precision oth erwise f is used Trailing zeros and trailing decimal point are not printed no argument is converted print a The arguments that can be passed to the SSI function printf are Argument Description InReadSByte offset Read a signed byte from position offset in the Input Data area InReadUByte offset Read an unsigned byte from position offset in the Input Data area InReadSWord offset Read a signed word from position offset in the Input Data area InReadUWord offset Read an unsigned word from position offset in the Input Data area InReadSLong offset Read a signed longword from position offset in the Input D
13. ASCII files which can be altered using a standard text editor such as the Notepad in Microsoft Windows Note that some of these files may also be altered by the Communicator itself e g when using SSI see Server Side Include SSI on page 68 The format of the system files are based on the concept of keys where each key can be assigned a value see example below Example Keyl value of keyl Key2 value of key2 The exact format of each system file is described in detail later in this document The contents of the above files can be redirected Example In this example the contents will be loaded from the file here cfg file path i put it over here cfg Note Any directory in the file system can be protected from web access by placing the file web accs cfg in the directory see Authorization on page 66 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 53 C 2 Basic Network Configuration C 2 1 General Information The Anybus Communicator offers two modes of operation regarding the network settings see below Which mode to use is determined by the TCP IP Settings parameter in Anybus Configuration Manag er see TCP IP Settings on page 33 e TCP IP Settings Enabled When operating in this mode the contents of the system file ethcfg cfg will be ignored com pletely causing the following behavior DNS services will not be available Dom
14. Communica tor identified by its serial number If the config uration is to be downloaded to another module using the same PC the process of selecting connection will have to be repeated for that specific module It is recommended to select a specific Communicator for the connection as this will diminish the risk of downloading the wrong configuration Connect Disconnect The Communicator is connected disconnected using this entry in the menu Download and Upload Configuration Selecting Download Configuration downloads the configuration to the Communicator Any configu ration previously present in the ACM will be overwritten Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Online 44 Selecting Upload Configuration will fetch the configuration in the connected Communicator to the Anybus Configuration Manager If the configuration is to be downloaded to another Communicator change the connection see Select Connection on page 43 Set Module Password A password can be set either for download ing a configuration uploading a configura tion or for both If the Password Type field is empty no pass word is available or the password is disabled Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Security Old Password New Password Retype Password Password Type Download Password Upload Password ee Doc ld SCM 1200 123 Appendix A A
15. Control Status Word or the Transaction Live List are going to be used it is recommended to enable these before any frames are added when building the configuration to avoid memory address collisions Statistics Parameter Comment Counters The receive counter and the transmit counter count successful CAN messages on the sub network If enabled the counters can be mapped to the input data area The first free address in the input data area is selected by default The counters can be disabled and enabled sepa rately Receive Counter Address Enter the address in the input data area where the receive counter shall be mapped The receive counter occupies 2 bytes Transmit Counter Address Enter the address in the input data area where the transmit counter shall be mapped The transmit counter occupies 2 bytes Fatal Eve nt The action in case of a fatal software event is decided by this parameter Parameter Values Comment Action Stay in Safe State The Communicator will be locked in the safe state Software Reset The software will be reset and the Communicator will be restarted automatically Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Select Subnetwork in the Navigation Section to gain access to the settings described in this section Basic Settings 32 8 3 Subnetwork Settings Network PROFIBUS DP V1 2 Communicator
16. DHCP server is found the network configuration can be accessed via HICP see Anybus IPconfig HICP on page 57 At subsequent startups the TCP IP settings will only be retrieved from a DHCP or BootP if TCP IP settings are disabled If no current settings are available the Communicator will halt and indicate an error on the on board status LEDs the network configuration may however still be accessed via HICP see Anybus IPconfig HICP on page 57 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Basic Settings 30 Settings specified in Anybus Configuration Manager The network settings can be configured in the Anybus Configuration Manager if TCP IP Settings are enabled 4 Network Network Type EtherNet IP z 4 Address TCP IP Settings Enabled IP Address 192 168 0 1 Subnet Mask 255 255 255 0 Gateway 0 0 0 0 Modbus Addressing Mode Disabled SA Note that in such cases the contents of the system file ethcfg cfg will be ignored completely causing the following behaviot DNS services will not be available Domain and Host name cannot be set Settings received from the network i e via HICP or DCP will be lost in the event of a power loss or reset This behavior will persist for as long as TCP IP Settings is enabled also if the module is restarted Le the settings will be valid after a restart Anybus Communicator CAN t
17. El Share this folder Other Places 2 3 My Documents 4 My Computer My Network Places Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 60 C 4 Telnet Server C 4 1 General The built in Telnet server provides a way to access the file system using a standard Telnet client The server communicates through TCP port 23 Security Levels Just like the FTP server the Telnet server features two security levels admin and normal e Normal level users The root directory will be user e Admin level users The root directory will be i e the user has unrestricted access to the file system User Accounts The Telnet server shares user accounts with the FTP server If no valid user accounts have been defined the gateway will grant admin level access to all users In such case no login is required and the root di rectory will be V For more information see User Accounts on page 58 C 4 2 General Commands admin e Syntax admin e Description Provided that the user can supply a valid admin username password combination this command provides admin access rights to normal level users exit e Syntax exit e Description This command closes the Telnet session help e Syntax help general diagnostic filesystem Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 61 Description If no argument is specified the
18. Initialize 2 a Cels Farenh S Y Temperature Y Initialize Y Motor Control dresses of the data objects in the frames to Motor Status Speed remove conflicts In Area 13 Bytes 244 Out Area 9 Bytes 244 re WWII Se DRRRRER 0220 0230 0240 0250 0260 0270 0280 0290 oan 0280 020 0200 D Used H collision H Produce Query T Consume Response H system 12 Download the configuration to the Communicator using the USB connection Remove the USB cable when finished A configuration can be saved at any time and opened at a later time for editing Once it is valid it can be downloaded to the Anybus Communicator CAN Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Appendix C C Advanced IT Functionality C 1 File System C 1 1 General General The Anybus Communicator features a built in file system which is used to store information such as web files network communication settings e mail messages etc Storage Areas The file system consists of the different storage areas Non volatile area approx 1 4 Mb This section is intended for static files such as web files configurations files etc Volatile area approx 1 Mb This area is intended for temporary storage data placed here will be lost in case of power loss or reset Conventions AP backslash is used as a path separator A path originates from the system root and as such must begin with a V A path mu
19. LEDs About the Module 10 The status LEDs on the front indicate the status of the module as shown in the table below Status LEDs 1 4 indicate the status of the EtherNet IP network and status LEDs 5 6 indicate the status of the CAN subnetwork and the device D State Status 1 Module Status Off No power Green Controlled by a scanner in Run state Flashing green Not configured or scanner in Idle state Flashing red Minor fault recoverable Red Major fault unrecoverable Flashing green red Self test in progress 2 Network Status Off No power or no IP address Green On line one or more connections estab lished CIP Class 1 or 3 Flashing green On line no connection established Flashing red One or more connections timed out CIP class 1 or 3 Red Duplicate IP address fatal error Flashing green red Self test in progress 3 4 Link activity 1 2 Off No link sensed on port 1 2 Flashing green Activity receiving transmitting Ethernet packets at 100 Mbit s Flashing yellow Activity receiving transmitting Ethernet packets at 10 Mbit s 5 CAN subnet Off Power off No CAN communication work status Green Running with no transaction error timeout Flashing red Transaction error timeout or subnetwork stopped Red Fatal error 6 Device status Off Power off Alternating red green Invalid or missing configuration Green Opera
20. Technical Specification A 1 Protective Earth PE Requirements The product must be connected to protective earth PE via the DIN rail connector in order to achieve proper EMC behavior HMS Industrial Networks does not guarantee proper EMC behavior unless these PE requirements are fulfilled A 2 Power Supply Supply Voltage The Communicator requires a regulated 24 V 10 DC power source Power Consumption The typical power consumption is 150 mA at 24 V A 3 Environmental Specification A 3 1 Temperature Operating 25 to 55 Celsius Test performed according to IEC 60068 2 1 and IEC 60068 2 2 Non Operating 40 to 85 degrees Celsius Test performed according to IEC 60068 2 1 and IEC 60068 2 2 A 3 2 Relative Humidity The product is designed for a relative humidity of 5 to 95 non condensing Test performed according to IEC 60068 2 30 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Technical Specification 46 A 4 EMC CE Compliance EMC compliance testing has been conducted according to the Electromagnetic Compatibility Directive 2004 108 EC For more information please consult the EMC compliance document see product sup port pages for Anybus Communicator CAN to CANopen slave at www anybus com Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Chapter B B Configuration Example This appendix gives an example of the configuration of an
21. University of California All rights reserved This code is derived from software contributed to Berkeley by Stephen Deering of Stanford University Redistribution and use in source and binary forms with or without modification are permitted provided that the following conditions are met e Redistributions of source code must retain the above copyright notice this list of conditions and the fol lowing disclaimer e Redistributions in binary form must reproduce the above copyright notice this list of conditions and the following disclaimer in the documentation and or other materials provided with the distribution Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS AS IS ANDANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED IN NO EVENT SHALL THE RE GENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE DATA OR PROFITS OR BUSINESS INTERRUPTION HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT INCLUDING NEGLIGENCE OR OTHERWISE ARISING IN ANY WAY OUT O
22. function call scanf Syntax lt exec cmd _argument scanf ObjName format Argl ArgN ErrVall ErrvalN gt ObjName The name of the object with the passed data string format Specifies how the passed string shall be formatted Arg1 ArgN Specifies where to write the data ErrVall ErrVaIN Optional specifies the value string to write in case of an error Character Input Argument Type d Decimal number byte short i Number byte short The number may be in octal leading O zero or hexadecimal leading 0x or 0X o Octal number with or without leading zero byte short u Unsinged decimal number unsigned byte unsigned short X Hexadecimal number with or without leading 0x or 0X byte short c Characters char The next input characters default 1 are placed at the indicated spot The normal skip over white space is suppressed to read the next non white space character use 1s S Character string not quoted char pointing to an array of characters large enough for the string and a terminating 0 that will be added elo Floating point number with optional sign optional decimal point and optional exponent float Liteal no assignment is made The conversion ch aracters d i o u and x may be preceded by letter ell to indicate that a pointer to long appears in the argument list rather than a byte or a short The a
23. it is recommended to finish the configuration using default addresses before starting to change any addresses A valid address range is always shown in the information section of the main win dow 7 1 Main Window The main window in the Anybus Configuration Manager ACM is divided into 4 sections as follows File Edit Tools Online Help GAG Ss 24 IAE 2 Network PROFIBUS DP V1 F mmen 2 Communicator BIR 250 kbi a Subnetwork iis 4 Group 1 Bus Off Action No Action See 11 29 bit CAN Identifier 11 bit 2 Transaction 2 4 E Transaction 3 a Query A CAN Frame 000 Response 11 29 bit CAN Identifier Select if the CAN identifier on the subnetwork shall be 11 bits CAN 2 04 or 29 bits CAN 2 08 If transactions exist in the transaction tree when this parameter is changed the following will happen 6 Change from 11 to 29 bit The 11 bit identifiers WWW kept and the IDs will be padded with zeros Change from 29 to 11 bit WARNING The higher bits will be deleted and only the lower 11 bits will be kept This may in some cases cause faulty CAN identifiers 1 Pull down Menus amp Toolbar The toolbar provides quick access to frequently used functions 2 Navigation Section This section is the main tool for building selecting and altering different levels of the subnetwork configuration On most entries right clicking will give access to the different selections related
24. network Read Write Fieldbus Read Only Fieldbus Write Only Fieldbus Ox7FF OX3FF Note The picture shows the maximum available data areas in the Communicator Not all fieldbuses can access all addresses in the input and output data areas please see section Data Exchange Model in chap ter 1 Through the control word it is possible to reset the CAN controller reboot the module and decide the start up mode of the Communicator Bit Name Description 15 3 Reserved 2 Reset CAN A transition from 0 to 1 resets the CAN controller used when the CAN interface is bus off 1 Reboot module A transition from 0 to 1 reboots the Communicator software reset 0 Operation mode This bit sets the start up operation mode of the Communicator 0 Idle No new data issued to the CAN network Data received from the CAN network is sent on the EtherNet IP network 1 Run Data is exchanged between the CAN network and EtherNet IP The status word holds status information from the CAN network Bit Name Description 15 6 Reserved 5 CAN overrun 0 OK 1 CAN reception overrun 4 Error passive 0 The CAN interface is NOT in error passive state 1 The CAN interface is in error passive state 3 Bus off 0 Bus running 1 Bus off 2 Reset CAN If set the CAN controller has been reset used when the CAN interface is bus off complete 1 Reserved 0 Oper
25. the Anybus Communicator package is the Anybus Configuration Manager a Win dows application which is used to supply the Communicator with a description of the subnetwork protocol No programming skills are required instead a visual protocol description system is used to specify the different parts of the CAN frames Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 About the Anybus Communicator CAN 6 1 2 2 Data Exchange Model Internally the data exchanged on the subnetwork and the data exchanged on the higher level network resides ABC Internal Memory in the same memoty L Input Det This means that in order to exchange data with the sub 509 ee network the higher level network simply reads and writes data to memoty locations specified using the Anybus Configuration Manager The very same mem oty locations can then be exchanged on the subnet 17 Output Data work 504 bytes The internal memory buffer is divided into three areas based on their function CAN Network PROFINET Network The Communicator supports a maximum of 1014 bytes for the input and output data up to 509 bytes as input data and 505 as output data General Data 1024 bytes e Input Data Up to 509 bytes This area can be read by the higher level net work how this data is represented on the higher level network will be described later in this chapter e Output Data Up to 505 bytes
26. used 0x1FF Ox3FF Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 0x400 Ox7FF General Data Cannot be accessed from EtherNet IP Doc ld SCM 1200 123 Data Representation on EtherNet IP 21 5 3 Modbus TCP 5 3 1 General The Modbus TCP protocol is an implementation of the standard Modbus protocol running on top of TCP IP The built in Modbus TCP server provides access to the input and output data areas via a sub set of the functions defined in the Modbus TCP specification The server supports up to 8 simultaneous connections and communicates over TCP port 502 For de tailed information regarding the Modbus TCP protocol consult the Open Modbus Specification 5 3 2 Addressing Modes The Anybus Communicator features two different modes of operation regarding the Modbus commu nication Modbus Addressing Mode Default In this mode the input and output data areas are mapped to different function codes Note that coil addressing is not possible in this mode See also Modbus Addressing Mode on page 22 Anybus Addressing Mode Compared to Modbus Addressing Mode this mode allows data to be addressed in a more flexible way Note however that several function codes can be used to access the same data in the Com municator While this may appear confusing at first it allows data to be manipulated in ways not possible in Modbus Addressing Mode e g it is possible to manipulate individual b
27. 11 bit identifier It is possible to have several frames in one transaction The first frame in a Consume or Response trans action must have a CAN identifier that does not appear in any other Consume or Response transaction Consecutive frames within a received transaction may have the same identifier on two conditions The first part of the data area in the frame is a byte word or Dword constant with a unique value compared to other frames with the same identifier within the transaction If any frame with another identifier is added to the transaction it must not break the sequence of frames with identical identifiers Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Configuration of CAN Frames 37 10 2 Produce Query CAN Frame The following objects and parameters are configurable in a CAN frame in a produce transaction or when used in the query part of a query response transaction To add objects to the 8 byte data area of the frame right click on CAN Frame Object Parameters Description Comment Data Data Length Bytes A data object can occupy 1 8 bytes default 1 Data Address Address in the data area where the object shall be mapped Default The first available position is used Swap Values Result original value 0102 0304 No Swapping default 0102 0304 Word Swap 0201 0403 Double Word Swap 0403 0201 Byte Constant Value 1 byte valid Constant value to be transmi
28. AN BEE 40 Address DIV innato jaa 41 A Ltpes e 41 Online Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Appendix A Technical Specification Protective Earth PE Requirements ee dni alada dada ees cicl n 45 Power EE 45 Environmental Specification sinini niea car EERE EENE 45 KE 45 A A RN 45 EMG GE Compliance nai idoneidad iii dada edad iaa 46 Chapter B Configuration Example Appendix C Advanced IT Functionality Pl EE 51 GONE AL sissy A EE 51 Pile System Ovr soiree oa aE a A ASA AAA ad 52 RA A EAT ANNE TRENT OR RRE REN AT RATON 52 Basic Network Configuration sste EES EE 53 General Im asia 53 Ethernet Configuration Fale Cetho AL ic o ti iii sa 54 PROBFINE TS AE EE 55 AE A NRO 56 Anybus Icon ICP ii a EES 57 ge 58 Gui a aa 58 FTP Connection Example Windows Explorer een 58 AG NN 60 EE 60 Carral Command tc 60 DAR ANN A ANNAN CN RCNE 61 File Systeme DA A a Ad 62 KE 65 Gar ona 65 A ee 66 Content TIPOS A A EAA oca 66 Server Side Include SD ia 68 EE 68 A E aa E E A A N 69 EE 75 E mail Cliente ira a AAAA RE EA Mabaviadaatas cusndeageascteadacstiaeantaayeerned 78 Gar AAE EE E atta saa ARE RE Aia 78 ER pal Def nition a EA E A S A A AAA ARS 78 Appendix D Copyright Notices Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Preface P About This Document For more information documentation etc please visit the HMS website www anybus com P 1 Re
29. F THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Copyright C 1990 2 RSA Data Security Inc All rights reserved License to copy and use this software is granted provided that it is identified as the RSA Data Security Inc MD4 Message Digest Algorithm in all material mentioning or referencing this software or this function License is also granted to make and use derivative works provided that such works are identified as derived from the RSA Data Security Inc MD4 Message Digest Algorithm in all material mentioning or referencing the derived work RSA Data Security Inc makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose It is provided as is without express or implied warranty of any kind These notices must be retained in any copies of any part of this documentation and or software eke Hee ke e ke e e ke e ke e e he e ke He e ke ee He e ke e ke e e He e ke e ke ke e ke e ke H e ke e ke ee H ke k k ke ke k k k k kek eke k ke k kk kk k kk kk kk k Copyright C 1991 2 RSA Data Security Inc Created 1991 All rights reserved License to copy and use this software is granted provided that it is identified as the RSA Data Security Inc MD5 Message Digest Algorithm in all material mentioning or referencing this software or this function
30. Note This function cannot be used in e mail messages This function saves the data of a passed form to a file The Object name parameter is optional if spec ified only the data from that object will be stored If not the data from all objects in the form will be stored The Append Overwrite parameter determines if the specified file shall be overwritten or if the data in the file shall be appended Syntax lt exec cmd_argument SaveDataToFile File name Object name Ap pend Overwrite gt Default output Success Form saved to file Failure Failed to save form C 6 3 Changing SSI output There are two methods of changing the output strings from SSI functions 1 Changing SSI output defaults by creating a file called ssi_str cfe containing the output strings for all SSI functions in the system 2 Temporarily changing the SSI output by calling the SSI function SsiOutput Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 1 76 SSI Output String File If the file ssi_str cfe is found in the file system and the file is consistent with the specification below the SSI functions will use the output strings specified in this file instead of the default strings The files shall have the following format StoreEtnConfig Success String to use on success nvalid IP String to use when the IP address is invalid nvalid Subnet String to use when the Subnet mask
31. User Manual Anybus Communicator CAN EtherNet IP Doc Id SCM 1200 123 Rev 1 00 11 HITIS FF Connecting Devices HALMSTAD CHICAGO KARLSRUHE TOKYO BEIJING MILANO MULHOUSE COVENTRY PUNE COPENHAGEN HMS Industrial Networks Mailing address Box 4126 300 04 Halmstad Sweden E mail info hms networks com Visiting address Stationsgatan 37 Halmstad Sweden Web www anybus com Important User Information This document is intended to provide a good understanding of the functionality offered by the Anybus Communi cator CAN EtherNet IP The reader of this document is expected to be familiar with high level software design and communication systems in general The use of advanced EtherNet IP specific functionality may require in depth knowledge of EtherNet IP networking internals and or information from the official EtherNet IP specifications In such cases the people responsible for the implementation of this product should either obtain the EtherNet IP specification to gain sufficient knowledge or limit their implementation in such a way that this is not necessary Liability Every care has been taken in the preparation of this manual Please inform HMS Industrial Networks AB of any inaccuracies or omissions The data and illustrations found in this document are not binding We HMS Industrial Networks AB reserve the right to modify our products in line with our policy of continuous product development The in
32. ain and Host name cannot be set E mail services will not be available Settings received from the network i e via HICP or DCP will be lost in the event of a power loss or reset e TCP IP Settings Disabled When operating in this mode the Anybus Communicator module will use the settings stored in the system file ethcfy cfg If this file is missing the module will attempt to retrieve its settings via DHCP or HICP for 30 seconds If no configuration has been received within this period the module will halt and indicate an error on its status LEDs DCP Discovery and Basic Configuration The Anybus Communicator fully supports the DCP protocol which allows an IO Controller Supervi sor to change the TCP IP settings during runtime DHCP BootP The Anybus Communicator can retrieve the TCP IP settings from a DHCP or BootP server If no DHCP server is found the module will fall back on its current settings i e the settings currently stored in ethcfg cfe If no current settings are available i e ethcfg cfg is missing or contains invalid settings the module will halt and indicate an error on the onboard status LEDs The network configuration may however still be accessed via HICP see Anybus IPconfig HICP on page 57 Anybus Communicator CAN Doc Rev 1 00 Doc Id SCM 1200 123 54 C 2 2 Ethernet Configuration File ethcfg cfg General To be able to participate on the network the Anybus Commun
33. al tightening torque must be between 5 7 Ibs in 0 5 0 8 Nm See also Power Supply on page 45 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 About the Module 13 2 6 Software Installation 2 6 1 Anybus Configuration Manager System Requirements e Pentium 233 MHz or higher 300 MHz recommended 64 MB RAM or more 128 MB recommended e Microsoft Windows XP Windows Vista or Windows 7 Installation Anybus Communicator CAN resource CD Insert the CD and follow the onscreen instructions If the installation does not start automatically right click on the CD drive icon and select Explore Execute setup exe and follow the onscreen instructions es From website Download and execute the self extracting exe file from the HMS website www anybus com Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Chapter 3 3 Getting Started The purpose of this chapter is to give a short description on how to install the module and get it up and running transferring I O data between the CAN network and the EtherNet IP network Before start ing make sure that you have access to knowledge about the CAN protocol to be configured e g access to the CAN protocol specification Perform the following steps when installing the Communicator 1 Download the Anybus Configuration Manager from the product pages at www anybus com or copy it from the CD that accompanies the
34. ally allocates memory space in the input and output areas of the Communicator for the data objects that are configured in the frames The result can be seen in the Address Overview see page 41 Any address conflicts will turn up red in this view File Edit Tools Online Help RR 75 23 IDOBE 2 Network PROFIBUS DP V1 4 General 3 Communicator a amp Subnetwork 4 Group 1 a 1 Transaction 1 a li Produce a E CAN Frame 001 DWord Constant Data a 6 2 Transaction 2 a Consume a EJ CAN Frame 002 Data Byte Constant a 3 Transaction 3 a Query a EJ CAN Frame 000 Data Word Constant Data a di Response a E CAN Frame 000 Byte Constant Byte Limit Data CAN Identifier Note A CAN frame can not contain more than 8 bytes of data It is possible to configure the data area in each frame but the size of the combination of objects must not exceed 8 bytes 10 1 1 CAN Identifiers Each frame has a CAN identifier to make it possible for each node on the CAN network to recognize data meant for it Default identifier is 0 It can be changed by selecting the CAN Frame and enter the new CAN Identifier in the Parameter window The CAN frame has either a 11 bit identifier or a 29 bit identifier If the size of the identifier is changed an 11 bit identifier will have the 11 original bits padded with zeroes in front A 29 bit identifier will have its 18 highest bits cut which may cause a not valid
35. ame or object Please note that an item can only be pasted at the same level as it was copied from The item can be moved to another group transaction but not up or down in the configuration tree structure For example if a group is selected when a copied transaction is to be pasted that transaction will be pasted last in the transactions list in the group but if a transaction is selected the copied transaction will be pasted before the selected transaction Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Tools This menu features the following entries Monitor Modify This entry opens the Monitor Modify window that gives easy access to monitoring and modifying the transaction data See Monitor Modify on page 39 e CAN Line Listener Listen in on the CAN communication on the subnetwork See CAN Line Listener on page 40 e Address Overview Display the usage of the different parts of the internal memory of the Ce module See Address Overview on page 41 e Diagnostics Status Display diagnostics and status of the Communicator and the present configuration See Diagnostics Status on page 41 e Options This will bring out the following window Item Subitem Comment General Language Monitor Modify Update Time Enter the time between ms monitor modify updates in milliseconds Valid range 1000 to 60000 Default 2000 Securit
36. ata area InReadULong offset Read an unsigned longword from position offset in the Input Data area InReadString offset Read a string char from position offset in the Input Data area InReadFloat offset Read a floating point float value from position offset in the Input Data area OutReadSByte offset Read a signed byte from position offset in the Output Data area OutReadUByte offset Read an unsigned byte from position offset in the Output Data area OutReadSWord offset Read a signed word short from position offset in the Output Data area OutReadUWord offset Read an unsigned word short from position offset in the Output Data area OutReadSLong offset Read a signed longword long from position offset in the Output Data area OutReadULong offset Read an unsigned longword long from position offset in the Output Data area OutReadString offset Read a null terminated string from position offset in the Output Data area OutReadFloat offset Read a floating point float value from position offset in the Output Data area Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 scanf 74 Note This function cannot be used in e mail messages This function reads a string passed from an object in a HTML form interprets the string according to the specification in format and stores the result in the output data area according to the passed argu ments The formatting of the string is equal to the standard C
37. ate Time ms 10 duces and transmits data on the network Se lecting Produce gives access to the following parameters Parameter Value Comment Offline Options Clear Data Freeze Data Stop Transaction Select what will happen to the output data if the EtherNet IP network goes offline Update Mode Cyclically Defines how the transmission of the transaction is triggered On Data Change Single Shot Trigger Byte Update on RTR Disabled If a message on the configured CAN identifier for a produce transaction is Enabled received with the RTR Remote Transmission Request bit set the produce transaction is triggered to be sent Only available if only one CAN frame is configured in the transaction Transmission Complete Disabled When enabled the Transmission Complete Byte is incremented each time a Byte Enabled produce transmission is completed Transmission Complete Address First available address default If the Transmission Complete Byte is enabled enter the address here Update Time ms 1000 default When Update Mode Cyclically is selected this parameter defines the time interval ms between two transmissions Valid range 5 65535 Trigger Byte Address 200h default When Update Mode Trigger Byte is selected this parameter specifies the address of the trigger byte The transaction will be triggered on a change in this byte Right cl
38. ation mode 0 Idle 1 Run Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 CAN Network Communication 18 4 5 Transaction Live List An optional transaction live list is available It consists of a bit array where each bit corresponds to a transaction on the CAN subnetwork bit 0 corresponds to transaction 1 etc A set bit indicates normal functionality The bit is not set if the transaction is non working or non existent The live list is mapped in the input data area of the memory either at the start of the area or directly after the status word From 8 transactions up to 128 transactions in steps of 8 can be monitored using the live list Thus up to 16 bytes of the input data area of the memory can be occupied by the live list The latest live list is always available from the Anybus Configuration Managers Diagnostics Status win dow whether the live list is mapped in the input data area or not see Diagnostics Status on page 41 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Chapter 5 5 Data Representation on EtherNet IP 5 1 General The Anybus Communicator CAN acts as a slave on the EtherNet IP network As such it does not in itiate communication towards other nodes by itself but can be read from written to by a EtherNet TP master 5 2 Data Representation 5 2 1 General The Input and Output Data areas in the internal memory buffer are used bo
39. ceived value is lower than the OxFFFF minimum value the message will be ignored Maximum Value When receiving a message with a limit object the received value will be checked against the maxi mum value If the received value is larger than the maximum value the message will be ignored Dword Limit Minimum Value When receiving a message with a limit object the 4 bytes valid received value will be checked against the mini range mum value If the received value is lower than the 0x00000000 minimum value the message will be ignored OxFFFFFFFF Maximum Value When receiving a message with a limit object the received value will be checked against the maxi mum value If the received value is larger than the maximum value the message will be ignored Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 11 Anybus Configuration Manager Tools Chapter 11 The Anybus Configuration Manager ACM gives access to different tools for monitoring and control ling the module and the CAN subnetwork e Monitor Modify CAN Line Listener e Diagnostics Status e Address Overview 11 1 Monitor Modify Selecting this option in the Tools menu opens this window where the data areas of the transactions can be monitored If the configuration downloaded to the Communicator is the same as is open in the ACM it is possible to monitor and modify the transactions Pressing the green button on the left starts t
40. e transaction an alias The order of the oe A R S r 2 4 E CAN Frame 001 transactions in the tree is given as the transaction E D a d r 2 Transaction 2 number in the parameter section Each transac EE tion number corresponds to a bit in the transac ES Gen tion live list that can be mapped to the input data Zare area ron a Response 8 a a X a E CAN Frame 000 Note The transaction live list is always available ZZ in the Diagnostics Status window even when it is not mapped to the input data area in the memory Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 To add a transaction to the group right click on the group and select either Insert Produce Insert Consume or Insert Query Response Each transaction must hold one or more CAN frames 9 3 1 Produce A produce transaction transmits CAN frames on the CAN network for all devices on the network to listen to A CAN device on the network will use the identifier of the produce transaction to decide if the data is meant for it or not The Communicator operates as any other device on the CAN network that pro Groups and Transactions 34 O Insert Produce Insert Consume Insert Query Response eg Cut Copy e 7 Rename Delete 4 General Offline Options Clear Data 52 Update Mode l Cyclically M Update on RTR Disabled D Transmission Complete Byte Disabled D 4 Timing Upd
41. er also represents the message priority on the CAN network The Anybus Communicator CAN supports 11 bit CAN 2 0A and 29 bit CAN 2 0B identifiers CAN is essentially a produce consume network where all nodes listen to all messages The devices rec ognize what data to collect by what identifier the CAN frame carries The Communicator is also able to act as a Master and issue queries that demand responses It is possible to use both methods in the same configuration of the module 4 2 Types of Messages The Anybus Communicator CAN features three different message types regarding the subnetwork com munication called Query Response Produce and Consume Note that these messages only specify the basic communication model not the actual CAN protocol All three types of messages can be used in the same configuration 4 2 1 Query Response The Communicator acts as a master on the subnetwork and the serial communication takes place in a query response fashion The Communicator sends a query and expects an answer within the specified timeout Control System Gateway Subnetwork Devices Query p 25 E Y Node 1 DEE lt Response Query be A j end lt Response Node 2 Query pn EN E y b sse lt Response Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 CAN Network Communication 16 4 2 2 Produce and Consume When using these messages there is no mast
42. er slave relationship between the Communicator and the nodes on the subnetwork Any node including the Communicator may spontaneously produce a mes sage The message is sent on the network The nodes on the network listen to all traffic and decide in dependently which messages to consume read Nodes do not have to respond to messages nor do they have wait for a query to send a message on the network Control System Communicator Subnetwork Devices Consume EE Produce Node 2 Node 1 Produce Do Consume Produce ps Consume Node 3 Consume donee eee ees Produce In the figure above the Communicator consumes data that is produced by a node on the subnetwork This consumed data can then be accessed from the higher level network This also works the other way around the data received from the higher level network is used to produce a message on the subnet work to be consumed by a node Note When configuring the Communicator using the Anybus Configuration Manager produce and consume are defined from the Communicator s perspective 4 3 Protocol Building Blocks The following building blocks are used in Anybus Configuration Manager to describe the subnetwork communication How these blocks apply to the two modes of operation will be described later in this document e Group A group in the Anybus Configuration Manager does not represent any special device on
43. eturns the currently used Gateway address Syntax lt exec cmd argument DisplayGateway gt Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 70 DisplayDNS1 This function returns the address of the primary DNS server Syntax lt exec cmd argument DisplayDNSl1 gt DisplayDNS2 This function returns the address of the secondary DNS server Syntax lt exec cmd argument DisplayDNS2 gt DisplayHostName This function returns the hostname Syntax lt exec cmd argument DisplayHostName gt DisplayDomainName This function returns the default domain name Syntax lt exec cmd argument DisplayDomainName gt DisplayDhcpState This function returns whether DHCP BootP is enabled or disabled Syntax lt exec cmd_argument DisplayDhcpState Output when ON Output when OFF ee DisplayDhcpSupport This function returns Al if DHCP is supported and Arg2 if it is not Syntax lt exec cmd_argument DisplayDhcpSupport Argl Arg2 gt DisplayEmailServer This function returns the currently used SMTP server address Syntax lt exec cmd_argument DisplayEmailServer gt Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 71 DisplaySMTPUser This function returns the username used for SMTP authentication Syntax lt exec cmd argument DisplaySMTPUser gt DisplaySMTPPs
44. f the module is used for uploading and downloading the configura tion Please remove the USB cable when the configuration of the Communicator is finished 6 2 Configuring the EtherNet IP Network The Anybus Communicator CAN EtherNet TP is a EtherNet IP slave on the EtherNet IP network The general settings for the adapter interface are configured using the ACM see TCP IP Settings on page 33 Please note that the size of the I O data that can be read from and written to the module is defined when configuring the Communicator using the ACM tool There are a number of different configuration tools for EtherNet IP available on the market The choice of tool depends on the application and the EtherNet IP master of the network An application note describing how to configure an Anybus EtherNet IP adapter interface is available on the support pages for the Anybus Communicator CAN EtherNet IP module at www anybus com Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Chapter 7 7 Anybus Configuration Manager The Anybus Configuration Manager ACM is used to configure all aspects of the Communicator CAN It also provides different tools for monitoring the module and the CAN subnetwork Note The configuration manager automatically allocates addresses and memory space in the input and output areas of the Communicator for the data objects that are configured It is possible to change these addresses but
45. following menu will be displayed General commands help Help with menus version Display version information exit Exit station program Also try help general diagnostic filesystem version Syntax version Description This command will display version information serial number and MAC ID of the Ethernet module in the Communicator C 4 3 Diagnostic Commands arps iface Syntax arps Description Display ARP stats and table Syntax iface Description Display net interface stats routes Syntax routes Description Display IP route table sockets Syntax sockets Description Display socket list Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 62 C 4 4 File System Operations For commands where filenames directory names or paths shall be given as an argument the names can be written directly or within quotes For names including spaces the filenames must be surrounded by quotes It is also possible to use relative pathnames using V and append e Syntax append file The line to append e Description Appends a line to a file cd e Syntax cd path e Description Changes current directory copy e Syntax copy source destination e Description This command creates a copy of the source file at a specified location del e Syntax del file e Description Deletes a file dir e Sy
46. formation in this document is subject to change without notice and should not be considered as a commit ment by HMS Industrial Networks AB HMS Industrial Networks AB assumes no responsibility for any errors that may appear in this document There are many applications of this product Those responsible for the use of this device must ensure that all the necessary steps have been taken to verify that the applications meet all performance and safety requirements in cluding any applicable laws regulations codes and standards HMS Industrial Networks AB will under no circumstances assume liability or responsibility for any problems that may arise as a result from the use of undocumented features timing or functional side effects found outside the documented scope of this product The effects caused by any direct or indirect use of such aspects of the product are undefined and may include e g compatibility issues and stability issues The examples and illustrations in this document are included solely for illustrative purposes Because of the many variables and requirements associated with any particular implementation HMS Industrial Networks AB cannot assume responsibility for actual use based on these examples and illustrations Intellectual Property Rights HMS Industrial Networks AB has intellectual property rights relating to technology embodied in the product de scribed in this document These intellectual property rights may include paten
47. gt lt BODY gt The Ethernet Mac ID of the ABC is lt exec cmd argument DisplayMacID gt lt BODY gt lt HTML gt Resulting webpage E 551 Test Microsoft Internet Explorer ois j a amp Bie Edit View Favorites Tools Help K Back O x 12 Y lJ Search 7 7 Favorites A Meda A Address http 192 168 1 125 BLE Links gt The Ethernet Mac ID of the ABC is 00 30 11 78 9A BC Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 69 C 6 2 Functions DisplayMacID This function returns the MAC ID in format xx xx xx xx xx xx Syntax lt exec cmd_argument DisplayMacId gt DisplaySerial This function returns the serial number of the network interface Syntax lt exec cmd_argument DisplaySerial gt DisplayFWVersion This function returns the main firmware revision of the network interface Syntax lt exec cmd argument DisplayFWVersion gt DisplayBLVersion This function returns the bootloader firmware revision of the network interface Syntax lt exec cmd argument DisplayBlVersion gt DisplaylP This function returns the currently used IP address Syntax lt exec cmd argument DisplayIP gt DisplaySubnet This function returns the currently used Subnet mask Syntax lt exec cmd argument DisplaySubnet gt DisplayGateway This function r
48. he monitoring modifying 2 Group 1 Transaction 1 db Transaction 2 da Transaction 3 Modify Group Group 1 4 Produce 1C4299EA Address 0x0202 JC 4299 EA Group 1 Consume 51 2258 27 15 30 5D E Group 1 4 Query C95B19 AE F2 Address 0x0206 C95B19 AE Address 0x020A F2 4 Response CE 2C 6F 02 E4 57 Address 0x0011 CE2C 6F 02 457 If Modify is enabled it is possible to change the data values during runtime in Produce transactions and in the Query part of Query Response transactions i e only the out area of the Communicator can be modified This will inhibit any data from the industrial network EtherNet TP but input data from the CAN network will still be updated Note Addresses in the general area range can not be modified If a transaction only have addresses in the general area the Modify check box will be disabled Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Anybus Configuration Manager Tools 40 11 2 CAN Line Listener The CAN Line Listener gives the opportunity to log the traffic on the CAN network Any log can be saved for later use The 5000 latest frames are logged This is done continuously or it is possible to stop logging after 5000 frames from a defined time The CAN Line Listener shows all CAN frames present on the CAN network not only those sent or received by the Communicator Information about CAN frames
49. hed from a specified location A logical AND is performed between the trigger source and a mask value The result is compared to a reference value Se UN A If the result is true the e mail is sent to the specified recipient s Which events that shall cause a particular message to be sent is specified separately for each message For more information see E mail Definitions on page 78 Note that the input and output data areas are scanned twice per second i e to ensure that an event is detected by the gateway it must be present longer than 0 5 seconds C 7 2 E mail Definitions The e mail definitions are stored in the following two directories e user email This directory holds up to 10 messages which can be altered by normal level FTP users e email This directory holds up to 10 messages which can be altered by admin level FTP users Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 E mail definition files must be named email_1 cfg email_2 cfg recognized by the gateway File Format Register Area Offset Type Register Match Value Mask Operand To recipient From sender Subject subject line Headers Optional extra headers Message message body 79 email_10 cfg in order to be properly Key Value Scanned for SSI Area Source area Possible values IN Input Data area or OUT Outp
50. icator needs a valid TCP IP configura tion These settings are stored in the system file A ethcfg cfg File Format IP address XXX XXX XXX XXX Subnet mask K XXX XXX XXX XXX IP address Gateway e a Subnet mask XXX XXX XXX XXX Gateway address DHCP BOOTP ON or OFF DHCP BootP SMTP address ON Enabled XXX XXX XXX XXX OFF Disabled SMTP e i i username SMTP server login settings username Username and Password is only necessary if required by the SMTP password server password DNS1 address XXX XXX XXX XXX a Primary and Secondary DNS XXX XXX XXX XXX Needed to be able to resolve host names Domain name ______ Default domain name for not fully qualified host names domain Host name Host name anybus HICP password _ HICP password password The settings in this file may also be affected by DCP See DCP Discovery and Basic Configuration on page 53 e HICP See Anybus IPconfig HICP on page 57 SSI See Server Side Include SSI on page 68 e DHCP BootP See DHCP BootP on page 53 See also e FTP Server on page 58 e TCP IP Settings on page 33 Anybus Communicator CAN Doc Rev 1 00 Doc Id SCM 1200 123 55 C 2 3 PROFINET Settings The file Apnio cfe holds various PROFINET telated settings The file is read once during startup i e the Anybus Communicator must be restarted in order for any changes
51. ick on Produce to add a CAN frame to the configuration For the setup of CAN frames see Configuration of CAN Frames on page 36 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Groups and Transactions 35 9 3 2 Consume 4 General Offline Options Clear Data D A consume transaction listens to CAN frames mi on the CAN network and collects data from a AS frame with a matching CAN identifier The pa i i Reception Trigger Byte Disabled y Communicator operates as any other device on the CAN network that listens to all data that is available on the network Selecting Consume gives access to the following parameters Parameter Value Comment Offline Options Clear Data Select what will happen to the input data ifthe CAN subnetwork goes offline Freeze Data Offline Timeout 0 default The maximum time before the transaction is considered to be lost Use 0 to disable the timeout Valid Range 0 10 65535 Reception Trigger Byte Disabled When enabled the Reception Trigger Byte is incremented each time a con Enabled sume transaction is received Reception Trigger First available If the Transmission Complete Byte is enabled enter the address here Address address default Right click on Consume to add a CAN frame to the configuration For the setup of CAN frames see Configuration of CAN Frames on page 36 9 3 3 Query Response In Que
52. is invalid nvalid Gateway String to use when the Gateway address is invalid nvalid Email server String to use when the SMTP address is invalid nvalid IP or Subnet String to use when the IP address and Subnet mask does not match nvalid DNS1 String to use when the primary DNS cannot be found nvalid DNS2 String to use when the secondary DNS cannot be found Save Error String to use when storage fails nvalid DHCP state String to use when the DHCP state is invalid scanf Success String to use on success Failure String to use on failure IncludeFile Failure String to use when failure SaveToFile Success String to use on success Failure String to use on failure SaveDataToFile Success String to use on success Failure String to use on failure GetText Success String to use on success Failure String to use on failure 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 path NuserYssi_strings cfg In this example the settings described above will be loaded from the file user ssi_strings cfg Temporary SSI Output change The SSI output for the next called SSI function can be changed with the SSI function SsiOutput The next called SSI function will use the output according to this call Thereafter the SSI functions will use Ys includes the filename in the st
53. its of a register by accessing coils associated with the same memory location See also Anybus Addressing Mode on page 23 5 3 3 Supported Exception Codes Code Name Description 0x01 Illegal function The function code in the query is not supported 0x02 Illegal data address The data address received in the query is outside the initialized memory area 0x03 Illegal data value The data in the request is illegal Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 5 3 4 Modbus Addressing Mode Supported Function Codes Data Representation on EtherNet IP_ 22 The following function codes can be used in this mode Modbus Function Function Code Associated with Area Read Holding Registers 3 Output Data area 0x200 0x3FF Read Input Registers 4 Input Data area 0x000 0x1FF Write Single Register 6 Output Data area 0x200 0x3FF Force Multiple Registers 16 Output Data area 0x200 0x3FF Mask Write Register 22 Output Data area 0x200 0x3FF Read Write Registers 23 Output Data area 0x200 0x3FF Input Register Map The input data area is mapped to input registers as follows Register Memory Location in the Communicator Comments 0x000 0x001 0x002 0x003 the input data area 0x004 0x005 0x006 0x007 0x008 0x009 o o A ol N gt Ox00A 0x00B 255 0x1FC
54. lated Documents Document Author CAN protocol specification www can cia org Open Modbus TCP Specification Release 1 0 Schneider Automation RFC 821 Network Working Group RFC 1918 Network Working Group EIP Specifications ODVA P 2 Document History Summary of Recent Changes 1 00 Change Page s Revision List Revision Date Author s Chapter s Description 1 00 2011 06 23 KeL First official release Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 About This Document 2 P 3 Conventions Terminology The following conventions are used throughout this manual Numbered lists provide sequential steps Bulleted lists provide information not procedural steps The terms Anybus or module refers to the Anybus Communicator CAN module The terms host or host application refers to the device that hosts the Anybus module Hexadecimal values are written in the format NNNNh or 0xNNNN where NNNN is the hexa decimal value A byte always consists of 8 bits Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 P 4 Sales and Support About This Document 3 Sales Support HMS Sweden Head Office E mail sales h
55. le endian Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 O Add Data Object Add Byte Constant Object Add Word Constant Object Add DWord Constant Object QO Insert Frame og Cut Copy e Delete QO Add Data Object O Add Byte Constant Object Add Word Constant Object 3 Add DWord Constant Object O Add Byte Limit Object 9 Add Word Limit Object Add DWord Limit Object Q Insert Frame ey Cut Copy e Delete Doc ld SCM 1200 123 Configuration of CAN Frames 38 Object Parameters Description Comment Dword Constant Value 4 bytes valid range 0x00000000 When receiving a message with a constant the received value will be checked against this value OxFFFFFFFF If the values differ the message will be ignored little endian Byte Limit Minimum Value When receiving a message with a limit object the 1 byte valid received value will be checked against the mini range 0x00 mum value If the received value is lower than the OxFF minimum value the message will be ignored Maximum Value When receiving a message with a limit object the received value will be checked against the maxi mum value If the received value is larger than the maximum value the message will be ignored Word Limit Minimum Value When receiving a message with a limit object the 2 bytes valid received value will be checked against the mini range 0x0000 mum value If the re
56. logy a proven industrial commu nication solution used all over the world by leading manufacturers of industrial automation products Each module offers integration of industrial CAN devices to one of these industrial networks PROFI BUS PROFINET EtherNet IP DeviceNet and CANopen The scope of this manual is the Anybus Communicator CAN for EtherNet IP The manual primarily describes the functionality and the con figuration of the CAN network and the connection between the networks For information about Eth erNet TP please refer to official specifications No proprietary configuration software is needed All necessary configuration is performed using the Anybus Configuration Manager that accompanies the product Fieldbus Control System e g a PLC Fieldbus Control System e g a PLC INVERTER Fieldbus Network Fieldbus Network PC configuration and monitoring PC configuration and monitoring A SY CAN communication Si device CAN communication devices Single Node Standard CAN Network Multi Node Standard CAN Network Subnetwork The Anybus Communicator CAN recognizes and supports communication that conforms to the CAN standards 2 0A and 2 0B The Communicator can adapt to any predefined network using CAN frames as means for data exchange using the Anybus Configuration Manager tool that is included with the product 0 8 bytes of data in each frame e 11 bit identifier or 29 bit identifier e Bit rates suppo
57. m if a fatal error occurs 4 Fatal Error Information Error Counter Network Type 2 Clear EtherNet IP Configurated Network Type is not compatible with hardware Hardware Function ID OxFFFF Firmware Version Task ID Source Line Source File Parameter Value Parameter Pointer 114 8 268 ec nwcomx c 0 0 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Chapter 12 12 Online The entries in the Online menu are used to find and connect to a Anybus Communicator CAN module and to administer the Help module Select Connection e Select Connection Disconnect e Connect Disconnect Upload Configuration e Upload Configuration Download Configuration Set Module Password o lls b e Download Configuration e Set Module Password Connect the Communicator that is to be configured to your PC using the included USB cord Apply power to the module Select Connection To be able to access the module start by choos ing Select Connection Continue by pressing Configure to open the ACM USB Connection window The dropdown menu in this window shows available Anybus Communicator CAN modules There is also the option to select first available device to down load a configuration to Anybus Communicator CAN FFFFFFFF lt first available device gt When selecting a connection the PC running the ACM will lock to that specific
58. ms se E mail support hms networks com Phone 46 0 35 17 29 56 Phone 46 0 35 17 29 20 Fax 46 0 35 17 29 09 Fax 46 0 35 17 29 09 Online www anybus com Online www anybus com HMS North America E mail us sales hms networks com E mail us support hms networks com Phone 1 312 829 0601 Phone 1 312 829 0601 Toll Free 1 888 8 Anybus Toll Free 1 888 8 Anybus Fax 1 312 629 2869 Fax 1 312 629 2869 Online www anybus com Online www anybus com HMS Germany E mail ge sales hms networks com E mail ge support hms networks com Phone 49 0 721 96472 0 Phone 49 0 721 96472 0 Fax 49 0 721 96472 10 Fax 49 0 721 96472 10 Online www anybus de Online www anybus de HMS Japan E mail jp sales hms networks com E mail jp support hms networks com Phone 81 0 45 478 5340 Phone 81 0 45 478 5340 Fax 81 0 45 476 0315 Fax 81 0 45 476 0315 Online www anybus jp Online www anybus jp HMS China E mail cn sales hms networks com E mail cn support hms networks com Phone 86 0 10 8532 3183 Phone 86 0 10 8532 3023 Fax 86 0 10 8532 3209 Fax 86 0 10 8532 3209 Online www anybus cn Online www anybus cn HMS Italy E mail it sales hms networks com E mail it support hms networks com Phone 39 039 59662 27 Phone 39 039 59662 27 Fax 39 039 59662 31 Fax 39 039 59662 31 Online www anybus it Online www anybus it HMS France E mail fr sales hms networks com E mail fr sup
59. n a field at 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 field width The padding character is normally space but can be 0 if the zero padding flag is present e A period which separates the field width from the precision A number the precision that specifies the maximum number of characters to be printed from a string or the number of digits to be printed after the decimal point for e E or F conversions or the number of significant digits for g or G conversion or the minimum number of digits to be printed for an integer leading Os will be added to make up the necessary width A length modifier h 1 letter ell or L h Indicates that the corresponding argument is to be printed as a short or unsigned short 1 indicates that the argument is along or unsigned long Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc SCM 1200 123 73 The conversion characters and their meanings are shown below If the character after the is not a con version character the behavior is undefined Character Argument type Converted to d i byte short decimal notation For signed representation Use signed argument o byte short octal notation without a leading zero xX X byte short hexadecimal notation without a leading 0x or 0X
60. nsaction can be either a Produce a Consume or a Query Response transaction Each transaction holds one or more CAN frames which transport the data on the network A total of 128 transactions is allowed and a total of 256 CAN frames Each CAN frame can hold up to 8 bytes of data Groups and transactions as well as frames and objects described in the next section can be copied and pasted in the configuration tree but only at the same level as they were copied from or their parent 9 2 Groups To create a group right click on Subnetwork and select Add Group The name of the group can be File Edit Tools Online Help changed by selecting Group and then entering a EAR Z 23 IOME new name at Group Alias E Network PROFIBUS DP V1 4 General 2 Communicator r 2 a Subnetwork If you want to insert another group right click on Group 1 Subnetwork once more The new group will be added to the end of the list of groups Group Alias Group 1 If you right click on a group and select Insert Group the new group will be inserted before the selected group It is recommended to change the group name to better present the configuration 9 3 Transactions There are three kinds of transactions Produce Example heg WEN File Edit Tools Online Help Consume and Query Response Ee ee yE E avor PROSA Selecting the transaction will give the option to B Sinemart Es give th
61. ntax dir path e Description Lists the contents of a directory If no path is given the contents of the current directory is listed df e Syntax df e Description Displays filesystem info Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 63 format e Syntax format e Description Formats the file system This is a privileged command and can only be called in administration mode Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 64 md e Syntax md directory e Description Creates a directory If no path is given the directory is created in the current directory mkfile e Syntax mkfile filename e Description Creates an empty file move e Syntax move source destination e Description This command moves a file or directory from the source location to a specified destination rd e Syntax rd directory e Description Removes a directory The directory can only be removed if it is empty ren e Syntax ren old name new name e Description Renames a file or directory type e Syntax type filename e Description Types the contents of a file Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 65 C 5 Web Server C 5 1 General The Anybus Communicator features a flexible web server with SSI capabilities The built in web pages can be customized to fit a particular ap
62. o EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Basic Settings 31 8 2 Communicator Settings E Network PROFIBUS DP VI 31 Communicator Subnetwork Select Communicator in the Navigation Section Ce 4 General to gain access to the parameters described in this Control Status Word Enabled gt section The figure shows the available parame Start up Operation Mode Idle D ters Transaction Live List Map 16 transactions 2 bytes Z 4 Statistics Counters Enable Receive and Transmit Counter 52 Receive Counter Address 0x004 Transmit Counter Address 0x006 4 Fatal Event Action Stay in Safe State MM General Parameter Comment Control Status Word lf the Control Status word is enabled it occupies the first two bytes of the out in area of the mem ory See also Control Status Word on page 17 Start up Operation If the Control Word is enabled it is possible to decide the start up mode of the subnetwork The Mode start up mode can be either Run or Idle Transaction Live List If the Transaction Live List is enabled it is mapped from the beginning of the input area or if the Control Status Word is enabled after the Status Word It is possible to map from 8 to 128 trans actions in steps of 8 Each transaction is represented by a bit that tells the system whether the transaction is alive or not See also Transaction Live List on page 18 a If the
63. ommunicator CAN Concept E A ee ie ec a Chapter 2 About the Module External VI EEN 8 DM uta EE 9 Stats EE RE 10 A O 11 Ethernet Count eeren e dai 11 TER e 11 GAIN e EE 11 IS e 12 Sottwate Instala dd ad iaa 13 Anybus E 13 Chapter3 Getting Started Chapter4 CAN Network Communication GO ORO 15 PESO EE 15 E ARA aca ana Severe lee cba uel ates 15 EE 16 Protocol Building Blocks ari dica 16 Contool Statis Won aa aan 17 Transicion Live EE 18 Chapter5 Data Representation on EtherNet IP EL A 19 Data Representan oca 19 General E Memory Layout Internal Memory Buffer Modbus TCP Anybus Communicator CAN to EtherNet IP Doc d SCM 1200 123 Doc Rev 1 00 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 EE Addressing Modes Di Gi Supported Exception Codes e a cai 21 Modbus RATES Mod EE 22 AAA OR RRA 23 Configuration Configuring the Anybus Communicator CAN 24 Configuring the Eterne IP Nervo brie aa nd s 24 Anybus Configuration Manager UE ee ENEE Pull down Menus Basic Settings Network E dled eee neti a 29 Re 29 Communicator Settings Subnetwortk SEO A A Ad an Nandi Groups and Transactions Ga iones 33 Groups EE ER KEEN 33 TA TS A EN RR NN 34 e 35 Fe VE 35 Configuration of CAN Frames General E 36 CAN da ee Ee SE EE 36 E TEE 37 Consune Response CAN Pra RR 37 Anybus Configuration Manager Tools Monitot Modiiiianaia aia Aa 39 C
64. or is used for uploading and down loading the configuration and for software up grade of the module See also USB Connector on page 11 CAN Connector This connector is used to connect the commu nicator to the CAN network See also CAN Connector on page 11 Power Connector This connector is used to apply power to the communicator See also Power Connector on page 12 DIN rail Connector Chapter 2 The DIN rail mechanism connects the communicator to PE Protective Earth See also Mounting on page 9 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 About the Module 9 2 2 Mounting Perform the following steps when physically installing the Communicator 1 Snap the Communicator on to the DIN rail See External view on page 8 The DIN rail mechanism works as follows To snap the Communicator on first press it downwards 1 to compress the spring in the DIN rail mechanism then push it against the DIN rail as to make it snap on 2 To snap the Communicator off push it downwards 1 and pull it out from the DIN rail 2 as to make it snap off from the DIN rail 2 Connect the Communicator to the CAN network 3 Connect the Communicator to the EtherNet IP network 4 Connect the power cable and apply power Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 2 3 Status
65. plication and allow access to I O data and configuration settings The web server communicates through port 80 See also Server Side Include SSI on page 68 e IP Access Control on page 56 Protected Files For security reasons the following files are protected from web access e Files located in user pswd e Files located in pswd e Files located in a directory which contains a file named web_accs cfg Default Web Pages The Anybus Communicator contains a set of virtual files which can be used when building a web page for configuration of network parameters These virtual files can be overwritten not erased by placing files with the same name in the root of disc 0 This makes it possible to for example replace the HMS logo by uploading a new logo named logo jpe It is also possible to make links from a web page to the virtual configuration page In such case the link shall point to config htm These virtual files are index htm Points to the contents of config htm config htm Configuration frame page configform htm Configuration form page configform2 htm Configuration form page store htm Configuration store page logo jpg HMS logo configuration gif Configuration picture boarder bg gif picture boarder m bg gif picture Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 C 5 2 Authorization 66 Directories can be pro
66. port hms networks com Phone 33 0 3 68 368 034 Phone 33 0 3 68 368 033 Fax 33 0 3 68 368 031 Fax 33 0 3 68 368 031 Online www anybus fr Online www anybus fr HMS UK amp Eire E mail uk sales anybus co uk E mail support hms networks com Phone 44 0 1926 405599 Phone 46 0 35 17 29 20 Fax 44 0 1926 405522 Fax 46 0 35 17 29 09 Online www anybus co uk Online www anybus com HMS Denmark E mail info anybus dk E mail support hms networks com Phone 45 0 22 30 08 01 Phone 46 0 35 17 29 20 Fax 46 0 35 17 29 09 Fax 46 0 35 17 29 09 Online www anybus com Online www anybus com HMS India E mail in sales anybus com E mail in support hms networks com Phone 91 0 20 40111201 Phone 46 0 35 17 29 20 Fax 91 0 20 40111105 Fax 46 0 35 17 29 09 Online www anybus com Online www anybus com Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Chapter 1 1 About the Anybus Communicator CAN 1 1 Introduction The Anybus Communicator CAN is a series of products that acts as a gateway between a subnetwork running the standard CAN protocol and a number of popular industrial networks Integration of indus trial devices is enabled without loss of functionality control and reliability both when retro fitting to existing equipment as well as when setting up new installations The Anybus Communicator CAN is based on patented Anybus techno
67. product Install it on your PC 2 Build your configuration in the Anybus Configuration Manager tool for an example see Con figuration Example on page 47 for a description of the tool see chapters 7 to 11 3 Connect the Communicator to your PC using the USB connector 4 Connect the power cable and apply power 5 Download the configuration from the Anybus Configuration Manager to the Communicator See Online on page 43 6 Remove the USB cable turn off the power and disconnect the power cable 7 Snap the Communicator on to the DIN rail See Mounting on page 9 8 Connect the Communicator to the CAN network 9 If necessary configure the other nodes in the CAN network 10 Connect the Communicator to the EtherNet IP network 11 Connect the power cable and apply power 12 Configure the EtherNet IP network Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Chapter 4 4 CAN Network Communication 4 1 General The CAN protocol is message based and offers the possibility to exchange up to 8 bytes of data in each message How these bytes are interpreted is defined in each application The CAN protocol is a trans parent protocol meaning that it only acts as a data carrier and it is up to the users the application to define and interpret the data content of the messages Data on CAN is exchanged using frames Each frame has a unique identifier for the data it exchanges The identifi
68. r Active CAN Overrun Sent CAN Frames Received CAN Frames 4 Identification Module Type Anybus Communicator CAN Network Type PROFIBUS DP V1 Configurated Network Type is not compatible with hardware Serial Number 12345678 Firmware Version 101 Configuration Protection Unprotected 4 Communicator Operation Mode Run Configuration Status Ok 4 Fieldbus Fieldbus State 4 Transaction Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Anybus Configuration Manager Tools 42 Item Description Configuration The configuration is validated by the ACM and any errors will be reported here e g if the some address has been used for several transactions or if the same CAN identifier is used for more than one transaction This is the only section of the Diagnostic Status window that can be used when the configuration tool is not connected to a Communicator CAN Information on the status of the CAN subnetwork Identification Information on the module Communicator This item gives the operation mode and the configuration status of the Communicator Fieldbus Fieldbus state Transaction The live list will be shown here It can also be kept in the input memory area see 4 18 Transac tion Live List Fatal Error Information If the Communicator is subject to a fatal error this information is used by HMS support when troubleshooting the module Please contact HMS support at www anybus co
69. ransaction and rename it Tnitialize Select Query and change Update Mode to Single Shot Network PROFIBUS DP V1 2 Communicator A Subnetwork Kl Temp Sensor a 5 Motor 42 5 Initialize 43 6 Motor Control 43 7 Motor Status 8 Speed Add one Query Response transaction Motor Control to control the motor during runtime Set Update Mode to On Data Change Add one Consume transaction Motor Status to collect status cyclically from the motor Finally add a Produce transaction Speed to be able to change the speed of the motor Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Configuration Example 50 10 Add frames to the transactions see step 7 above 2 O Motor a 5 Initialize a D Query 4 E CAN Frame 300 a DWord Constant 3 DWord Constant 4 Response a 1 CAN Frame 400 Data a 2 6 Motor Control a Query a 1 CAN Frame 301 Data 4 Response a 1 CAN Frame 401 Data 4 7 Motor Status 4 Consume a 1 CAN Frame 402 y Data a 8 Speed a D Produce a 1 CAN Frame 302 3 Data 11 Check the validity of configuration in the Diagnostics Status window 4 Configuration Configuration Validation Valid 4 CAN CAN State CAN Overrun Sent CAN Frames If address conflicts are present check the Address Overview to see which transac ae tions cause the conflict Change the ad Initialize 1
70. re applicable Right click on Response in Initialize 1 and repeat the procedure Addresses in the input and output areas of the internal memory will automatically be allocated to the data objects It is possible to change these addresses but it is recom mended to finish configuration using default values If any Configuration Example 49 Network PROFIBUS DP V1 E Communicator 4 Subnetwork a Temp Sensor a 1 Initialize 1 a D Query CAN Frame 100 Word Constant Data sponse EA CAN Frame 200 Word Constant Data 4 2 Initialize 2 a Query a E3 CAN Frame 101 Word Constant Data 4 Response a 1 CAN Frame 201 Word Constant Data 4 3 Cels Farenh a Produce a 1 CAN Frame 102 Word Constant Word Constant Data a 4 Temperature a Consume a 1 CAN Frame 202 3 Data Motor collisions appear the addresses can be changed at a later stage The ACM will not allow you to add a data or a constant object that is larger than the remaining data area in the selected frame 8 Repeat according to step 7 to add frames and contents to Initialize 2 Cels Farenh and Tem perature 9 Add transactions to Motor group The motor needs to be initialized It also needs in structions during runtime and it will return status information to the Communicator It is also possi ble to remotely set the speed of the motor Add a query response t
71. rguments that can be passed to the SSI function scanf are Argument Description OutWriteByte offset Write a byte to position offset in the Output Data area OutWriteWord offset Write a word to position offset in the Output Data area OutWriteLong offset Write a long to position offset in the Output Data area OutWriteString offset Write a string to position offset in the Output Data area OutWriteFloat offset Write a floating point value to position offset in the Output Data area Default output Write succeeded Write failed Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 75 IncludeFile This function includes the contents of a file on a web page Syntax lt exec cmd_argument IncludeFile File name gt Default output Success lt File content gt Failure Failed to open lt filename gt SaveToFile Note This function cannot be used in e mail messages This 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 string The Append Overwrite parameter deter mines if the specified file shall be overwritten or if the data in the file shall be appended Syntax lt exec cmd argument SaveToFile File name Separator Append Over write gt Default output Success Form saved to file Failure Failed to save form SaveDataToFile
72. rin 8 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 717 the default outputs or the outputs defined in the file Assi_str cfg The maximum size of a string is 128 bytes Syntax lt exec cmd_argument SsiOutput Success string Failure string gt Example This example shows how to change the output strings for a scanf SSI call lt exec cmd_argument SsiOutput Parameterl updated Error gt lt exec cmd_argument scanf Parameterl d OutWriteByte 0 gt Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 78 C 7 E mail Client C 7 1 General The built in e mail client can send predefined e mail messages based on trigger events in input and out put data areas The client supports SSI however note that some SSI functions cannot be used in e mail messages specified separately for each SSI function See also Server Side Include SSI on page 68 Server Settings The Anybus Communicator needs a valid SMTP server configuration in order to be able to send e mail messages These settings are stored in the system file ethcfg cfe See also Ethernet Configuration File ethcfg cfg on page 54 Event Triggered Messages As mentioned previously the e mail client can send predefined messages based on events in the input and output data areas In operation this works as follows The trigger source is fetc
73. rted 20 50 100 125 200 250 500 800 and 1000 kbit s Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doch SCM 1200 123 About the Anybus Communicator CAN 5 EtherNet IP Interface EtherNet IP connectivity is provided through patented Anybus technology Complete EtherNet IP slave functionality e 2 ports e Up to 509 bytes of input data and up to 505 bytes of output data e EtherNet IP group 2 and 3 server e Modbus TCP slave functionality Server Side Include SSI functionality e Web server and E mail client capabilities s FTP and Telnet servers e 10 100 Mbit s twisted pair 1 2 Anybus Communicator CAN Concept 1 2 1 General The Anybus Communicator is designed to exchange data between a subnetwork running CAN and a higher level network The CAN protocol uses frames that are individually configurable offering great flexibility Through the configuration of the CAN frames the Communicator will adapt to a predefined CAN net work It will be possible to send data to and receive data from the subnetwork but also to act as a relay for data on the CAN subnetwork The Communicator can issue frames cyclically on change of data or based on trigger events issued by the control system of the higher level network i e the fieldbus master or PLC or by the CAN network It can also monitor certain aspects of the subnetwork communication and notify the higher level net work when data has changed An essential part of
74. ry Response mode the Communicator operates as a master and is BD Newark PROMS OPV sues queries to the CAN network The Communicator will then expect a re 7 Communicator vis S 4 Subnetwork sponse within the specified timeout A Query Response transaction 4 Group 1 includes both query CAN frames and response CAN frames lt O D Tematis a D Query E EJ CAN Frame 000 Selecting Query will give the same options as selecting Produce except Up E CAN Frame 000 gt 4 Response date on RTR see EX CAN Frame 000 e Produce on page 34 Selecting Response will give the same options as selecting Consume see e Consume on page 35 Please note that the Offline Timeout value indicates the maximum time that the Communicator will wait for an answer before an error is issued Right click on either Query or Response to add a new CAN frame For the setup of CAN frames see Configuration of CAN Frames on page 36 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Chapter 10 10 Configuration of CAN Frames 10 1 General Each transaction includes one or more CAN frames A total of 256 CAN frames is allowed Right click ing on a transaction will give the opportunity to add a frame to the transaction The Anybus Configuration Manager makes it possible to decide the configuration of the 8 bytes of data that can be included in each frame The configuration manager automatic
75. st not end with a VY Names may contain spaces but must not begin or end with one Names must not contain one of the following characters A lt gt Names cannot be longer than 48 characters plus null termination A path cannot be longer than 256 characters filename included The maximum number of simultaneously open files is 40 The maximum number of simultaneously open directories is 40 Important Note The non volatile storage is located in FLASH memory Each FLASH segment can only be erased ap proximately 100000 times due to the nature of this type of memory The following operations will erase one or more FLASH segments Deleting moving or renaming a file or directory Writing or appending data to an existing file Formatting the file system Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Advanced IT Functionality 52 C 1 2 File System Overview admin root user root gt ip_accs cfg user gt ssi_str cfg gt http cfg pswd protected L gt ethcfg cfg L gt sys pswd cfg email RAM volatile optional gt Sms cfg gt L email_10 cfg pswd protected L gt ad_pswd cfg email gt email_1 cfg L email_10 cfg C 1 3 System Files The file system contains a set of files used for system configuration These files known as system files are regular
76. te failed printf This function includes a formatted string which may contain data from the input and output data areas on a web page The formatting of the string is similar to the C language function print Syntax lt exec cmd argument printf String to write Argl Arg2 ArgN gt Like the C language function printf the String to write for this SSI function contains two types of objects Ordinary characters which are copied to the output stream and conversion specifications each of which causes conversion and printing of the next successive argument to printf Each conversion specification begins with the character and ends with a conversion character Between the and the conversion character there may be in order Flags in any order which modify the specification 7 which specifies left adjustment of the converted argument in its field which specifies that the number will always be printed with a sign space if the first character is not a sign a space will be prefixed 0 for numeric conversions specifies padding to the field with leading zeroes which specifies an alternate output form For o the first digit will be zero For x or X Ox or OX will be prefixed to a non zero result For e E f g and G the output will always have a decimal point for g and G trailing zeros will not be removed lt A number specifying a minimum field width The converted argument will be printed i
77. tected from web access by placing a file called web_accs cfg in the directory to protect This file shall contain a list of users that are allowed to access the directory and its subdirectories File Format Usernamel Passwordl Username2 Password2 UsernameN PasswordN AuthName wae message goes her List of approved users Optionally a login message can be specified by including the key AuthName This message will be displayed by the web browser upon accessing the protected directory The list of approved users can optionally be redirected to one or several other files Example In this example the list of approved users will be loaded from the files here cfg and too cfg File path i put it over here cfg i actually put some of it over here too cfg AuthName Yeah Whatsda passwoid Note that when using this feature make sure to put the user password files in a directory that is pro tected from web access see Protected Files on page 65 C 5 3 Content Types By default the following content types ate recognized by t heir file extension Content Type File Extension text html htm html shtm image gif gif image jpeg jpeg jpg jpe image x png png application x javascript WG text plain bat txt c h cpp hpp application x zip compressed Zip application octet stream exe com text
78. th for EtherNet IP I O data The amount of data exchanged on the bus depends on the configuration of the Communicator When setting up the EtherNet IP communication make sure that the I O sizes in the EtherNet IP master match the actual sizes used by the Communicator The data sizes can be viewed at any time see Address Overview on page 41 At least one byte of data must be mapped for the communication to start EtherNet TP is based on the Control and Information Protocol CIP The Anybus Communicator acts as a Group 2 and 3 server on the EtherNet IP network The input and output data is accessed using I O connections towards the assembly object Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 5 2 2 Memory Layout Internal Memory Buffer Data Representation on EtherNet IP 20 The I O sizes ate specified using the Anybus Configuration Manager Communicator CAN The data in the input and output data areas is represented as continuous blocks of I O data Each data object in a CAN frame adds to the total amount Usage of the memory can always be seen in the Address Over view see page 41 Example In this example the I O Sizes for the Communicator has been set to the following values IO Size In 256 bytes 0x0100 IO Size Out 128 bytes 0x0080 Resulting memory layout Input Data Output Data 0x000 0x200 1 0 Data Output 0x27F 0x280 1 0 Data Input 0x0FF 0x100 Not used Not
79. that have identifiers present in the con figuration that is downloaded to the Communicator is shown in black text Information about all other frames is shown in gray text Please note that the configuration in the ACM and the configuration in the Communicator have to match Time us CANID Hex Length Data Hex Data String 04DB 0 AE 5290 49 F1 FL BRIA Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Anybus Configuration Manager Tools 41 11 3 Address Overview The Address Overview tool shows the usage of the different memory areas in the module It gives an easy view of any collisions of data that are present in the different memory areas If needed the memory location for the data of one transaction at a time can be shown Y Transaction 1 Y Transaction 2 Transaction 3 In Area 23 Bytes 244 Out Area 11 Bytes 244 General Area 0 Bytes 1024 MARA E 1737 RAMA al CO 0210 0410 0220 0420 0230 0430 0240 0440 0250 0450 0260 0460 0270 0470 0280 0480 0290 0490 0240 0440 0280 0480 02c0 04C0 02D0 04D0 02E0 04E0 02F0 04F0 0500 0510 0520 0530 0540 zeen Not Used Used H Collision H Produce Query T Consume Response H system 11 4 Diagnostics Status The Diagnostics Status tool gives access to diagnostics and status information of different kinds Configuration Warning Collision on Address 0x000 3 Transaction 3 4 CAN CAN State Erro
80. the CAN network It is a means to structure the transactions that are defined for the Communicator Each group can be associated with a number of transactions see below es Transaction A transaction consists of one or more CAN frames Each transaction is associated with a set of parameters controlling how and when to use it on the subnetwork There are three kinds of trans actions produce consume and query response A group can contain transactions of all three types A total of 128 transactions can be configured e CAN Frames The CAN frames are low level entities used to compose transactions see above Each frame carries an 11 bit or 29 bit identifier and can hold up to 8 bytes of data See Configuration of CAN Frames on page 36 A total of 256 CAN frames can be configured Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 CAN Network Communication 17 4 4 Control Status Word An optional control status word can be used to control the startup mode of the module and to read the status of the CAN network The control word is always mapped to the first two bytes of the output data area and the status word is mapped to the first two bytes of the input data area It is not possible to change these locations 0x000 OxtFF Input Data Status Word 2 bytes CAN network Write Only 0x200 Output Data Control Word 2 bytes CAN network Read Only 0x400 General Data CAN
81. tion mode Run Flashing green Operation mode Idle Red Fatal error Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 e ee o Doc ld SCM 1200 123 About the Module 11 2 4 Connectors 2 4 1 Ethernet Connectors EtherNet IP Ports 1 and 2 Pin no Description an AN 1 TD 2 TD 3 RD 4 5 7 8 not connected JI 2 RD 1 8 Housing Cable Shield 2 4 2 USB Connector At the bottom of the module you find a USB connector used for software upgrade of the module and for uploading and downloading configurations Pin no Description 1 5 V input 2 USBDM USB communication signals 3 USBDP USB communication signals 4 Signal GND Housing Cable Shield Note USB is used for configuration and software upgrade only and not for moni toring modifying or exchanging data Remove the USB cable when the configura tion of the module is finished 2 4 3 CAN Connector Next to the USB connector the CAN connector is found Pin no Description 2 CAN_L 5 Housing CAN cable shield 6 9 1 4 8 9 not connected 3 6 CAN GND Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 About the Module 12 2 5 Power Connector Pin no Description 1 24V DC 2 GND Notes e Use 60 75 or 75XC copper CU wire only The termin
82. to have effect unless its contents has been changed by an IO Controller Supervisor via the DCP protocol In such case the settings will have effect immediately Example A Station Name Station Name d Station name as ASCII string maximum 64 characters Nice Device Station Type Station Type ABS PRT Station type as ASCII string maximum 64 characters yendor 1D Vendor ID 0x010C 16 bit hexadecimal value with the prefix Ox Assigned Device ID by the PNO 0x0001 e Device ID 16 bit hexadecimal value with the prefix Ox Assigned by vendor Anybus Communicator CAN Doc Rev 1 00 Doc ld SCM 1200 123 C 2 4 IP Access Control 56 It is possible to specify which IP addresses that are permitted to connect to the Anybus Communicator This information is stored in the system file ip_accs cfg File Format Web XXX XXX XXX Rx R FTP XXX XXX XXX xxx__ eg Modbus TCP XXX XXX XXX XXX All XXX XXX XXX XXX Nodes listed here may access the web server Nodes listed here may access the FTP server Nodes listed here may access the module via Modbus TCP Fallback setting used by the module when one or several of the keys above are omitted Note may be used as a wildcard to select IP series Anybus Communicator CAN Doc Rev 1 00 Doc ld SCM 1200 123 57 C 2 5 Anybus IPconfig HICP The Anybus Communicator supports the HICP protocol used b
83. ts and pending patent applications in the US and other countries The Silk icon set used in the Anybus Configuration Manager tool is created by Mark James Birmingham Eng land The complete icon set is found at http famfamfam com lab icons silk The icon set is licensed under the Creative Commons Attribution 2 5 License http creativecommons org licenses by 2 5 Trademark Acknowledgements Anybus is a registered trademark of HMS Industrial Networks AB All other trademarks are the property of their respective holders Warning This is a class A product in a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures ESD Note This product contains ESD Electrostatic Discharge sensitive parts that may be damaged if ESD control procedures are not followed Static control precautions are required when handling the prod uct Failure to observe this may cause damage to the product Anybus Communicator CAN EtherNet IP User Manual Rev 1 00 Copyright HMS Industrial Networks AB June 2011 Doc Id SCM 1200 123 Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Table of Contents Table of Contents Preface About This Document Related Documents iii A dd Ae ENEE 1 Document sto ii A A a 1 Conventions amp Terminology ebe tol lia 2 Sales and ee 3 Chapter1 About the Anybus Communicator CAN o O NN 4 Anybus C
84. tted little endian range 0x00 OxFF Word Constant Value 2 bytes valid Constant value to be transmitted little endian range 0x0000 OxFFFF Dword Constant Value 4 bytes valid range 0x00000000 OxF FFFFFFF Constant value to be transmitted little endian a Range depends on network 10 3 Consume Response CAN Frame The following objects and parameters are configurable in a CAN frame ina consume transaction or when used in the response part of a query response transaction To add objects to the 8 byte data area of the frame right click on CAN Frame Object Parameters Description Comment Data Data Length Bytes A data object can occupy 1 8 bytes default 1 Data Address Address in the data area where the object shall be mapped Default The first available position shall be used Range depends on network Swap Values Result original value 0102 0304 No Swapping default 0102 0304 Word Swap 0201 0403 Double Word Swap 0403 0201 Byte Constant Value 1 byte valid When receiving a message with a constant the range 0x00 OxFF received value will be checked against this value If the values differ the message will be ignored little endian Word Constant Value 2 bytes valid When receiving a message with a constant the range 0x0000 OxFFFF received value will be checked against this value If the values differ the message will be ignored litt
85. ut Data area No Offset Source offset written in decimal or hexadecimal Type Source data type Possible values are byte word and long Value Used as a reference value for comparison Mask Mask value applied on the trigger source prior to comparison logical AND Operand Possible values are lt or gt To E mail recipient Yes From Sender e mail address Subject E mail subject One line only Headers Optional may be used to provide additional headers Message The actual message Note Hexadecimal values must be written with the prefix 0x in order to be recognized by the Anybus Communicator Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 Appendix D Copyright Notices This product includes software developed by Carnegie Mellon the Massachusetts Institute of Technology the Uni versity of California and RSA Data Security H He e ke e ke e e He ARA RARA ARA RAR RARA RARA RARA RARA RAR RARA RARA RARA ERA RARA RRA RARA RA AR k kk kk Copyright 1986 by Carnegie Mellon KHIR AKIRA RARA ERA RARA RR He e ke e ke RARA RAE RARA RAR RARA RA RARA AREA RARA RRA RARA RARA ARA Copyright 1983 1984 1985 by the Massachusetts Institute of Technology H ke e ke e ke e e He e RARA e ke ARA ARERR III RARA RARA RRE RARA RARA RARA ERA RARA RRA RARA RARA k k ke Copyright c 1988 Stephen Deering Copyright c 1982 1985 1986 1992 1993 The Regents of the
86. vnd wap wml wml application vnd wap wmlc wmlc image vnd wap wbmp wbmp text vnd wap wmlscript wmls application vnd wap wmiscriptc wmlsc text xml xml application pdf pdf Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc ld SCM 1200 123 67 It is possible to configure reconfigure the reported content types and which files that shall be scanned for SSI This is done in the system file http cfe File Format FileTypes ileTypel ContentTypel ileType2 ContentType2 ileTypeN ContentTypeN SSIFileTypes ileTypel ileType2 ileTypeN Note Up to 50 content types and 50 SSI file types may be specified in this file Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 68 C 6 Server Side Include SSI C 6 1 General Server Side Include from now on referred to as SSI functionality enables dynamic content to be used on web pages and in e mail messages SSI are special commands embedded in the source document When the Anybus Communicator en counters such a command it will execute it and replace it with the result when applicable Syntax The X s below represents a command opcode and parameters associated with the command lt exec cmd_argument XXXXXXXXXXXXXXXXXXXXXX gt Example The following example causes a web page to display the Ethernet Mac ID of the gateway lt HTML gt lt HEAD gt lt TITLE gt SSI Test lt TITLE gt lt HEAD
87. wd This function returns the password used for SMTP authentication Syntax lt exec cmd_argument DisplaySMTPPswd gt StoreEtnConfig Note This function cannot be used in e mail messages This function stores a passed IP configuration in the configuration file ethcfy cfg Syntax lt exec cmd_argument StoreEtnConfig gt Include this line in a HTML page and pass a form with new IP settings to it Accepted fields in form SetIp SetSubnet SetGateway SetEmailServer SetDhcpState value on or off SetDNS1 SetDNS2 SetHostName SetDomainName SetSMTPUser SetSMTPPswd Default output nvalid IP address nvalid Subnet mask nvalid Gateway address nvalid IP address or Subnet mask nvalid Email Server IP address nvalid DHCP state nvalid DNS1 nvalid DNS2 Configuration stored correctly Failed to store configuration Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 72 GetText Note This function cannot be used in e mail messages This function retrieves a text string from an object and stores it in the output data area Syntax lt exec cmd _argument GetText ObjName OutWriteString offset n gt ObjName Name of object offset Specifies the destination offset from the beginning of the output data area n Specifies maximum number of characters to read optional Default output Success Write succeeded Failure Wri
88. word Password Type Download Password Set Module Password on page 44 Help This menu features the following entry About Displays information about the Anybus Configuration Manager Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Doc Id SCM 1200 123 Chapter 8 8 Basic Settings 8 1 Network Settings ei Network PROFIBUS DP V1 Select Network in the Navigation Section to gain access to the parameters described in this section 2 Communicator Subnetwork General During start up the fieldbus interface of the Communicator is initialized to fit the configuration created in the Anybus Configuration Manager Optionally some initialization parameters can be set manually to provide better control over how the data shall be treated by the Communicator Network Type 4 Network The Anybus Configuration Manager E g Network Type PROFIBUS DP Vl supports a wide range of networking CANopen systems Make sure that this parame a er ter is set to the correct network type PROFINET IO Selecting EtherNet IP will give ac cess to the TCP IP Settings see be low 8 1 1 TCP IP Settings The Anybus Communicator CAN offers different modes of operation regarding the network settings DHCP BootP At the first startup of the module TCP IP settings are disabled and the Anybus Communicator CAN retrieves the settings from a DHCP or BootP server by default If no
89. y Upload Password Download Password File Paths Log File Path Browse to the folder where the Log File should be saved a If a low value is entered it may affect the performance of the Communi cator i e the data throughput delay will be longer b The Log File contains time stamped versions of the line listener and diagnostic logs Anybus Communicator CAN to EtherNet IP Doc Rev 1 00 Anybus Configuration Manager 27 English Language Monitor Modify Update Time ms 2000 Disabled Disabled Log File Path CAUsersPubliciDocumentHMSACM Cor Browse Doc ld SCM 1200 123 Anybus Configuration Manager 28 Online This menu features the following entries e Select Connection This entry gives the opportunity to select con nection for the module See also Select Connection on page 43 Configure Ok J Cancel e Connect Disconnect This entry connects disconnects the configuration tool to the module qe E Upload Configuration This entry uploads a previously downloaded configuration to the Anybus Configuration Manager e Download Configuration This entry downloads the configuration to the Anybus Commu es nicator CAN Any previously downloaded configuration will be overwritten e Set Module Password This option makes it possible to create change and 4 Security Old P d remove password for a module New Password See also Retype Pass
90. y the Anybus IPconfig utility from HMS which is included in the installer This utility may be used to configure the network settings of any Anybus product connected to the network Note that if successful this will replace the settings currently stored in the configuration file ethcfg cfg Upon starting the program the network is scanned for Anybus products The network can be rescanned at any time by clicking Scan In the list of detected devices the Communicator will appear as Anybus Communicator Generic CAN To alter its network settings double click on its entry in the list 0 0 0 0 0 0 0 0 0 01 5 Anybus C CA 00 30 11 0 F 255 255 0 0 10 11 0 1 E 00 30 11 02 04 C5 10 11 6 255 255 255 0 0 10 11 01 02 Anybus X gateway Modbus TCP 00 30 11 FF 02 4E 10 11 8 243 255 255 0 0 10 11 01 D Anybus CompactCom BACnet IP 00 30 11 FF 02 6D 10 11 8 248 255 255 0 0 10 11 0 1 02 Anybus X gateway Modbus TCP 00 30 11 FF 02 16 10 11 8 252 255 255 0 0 10 11 0 1 i Anybus X gateway Modbus TCP 00 30 11 FF 02 12 Settings Exit A window will appear containing the IP configuration and password settings a Validate the new settings by clicking Set or click Cancel to abort r Ethernet configuration IP address 0 1 Subnet mask 255 255 Optionally the TCP IP settings may be protected from unauthorized access by Default gateway 10 11 a password To enter a password click on the Change password checkbox

Download Pdf Manuals

image

Related Search

Related Contents

  Samsung GT-C3200 Керівництво користувача  Samsung Galaxy Tab 4 (10.1, LTE) Benutzerhandbuch(LL)  2 - 株式会社エクセル  S-32® Sanctuary Series™  Manuel d`installation  KitchenAid Dishwasher W10596243B User's Manual  ネスカフェ® ドルチェ グスト® 本体 取扱説明書 〔型番:MD9744〕  Copeland Scroll™ Fusion Compressor  VoiceTone C1 - TC  

Copyright © All rights reserved.
Failed to retrieve file