Anybus CompactCom 40 Network Manual

Compactcom 40 ethernet/ip series
Hide thumbs Also See for CompactCom 40:
Table of Contents

Advertisement

Anybus CompactCom 40
EtherNet/IP
NETWORK GUIDE
SCM-1202-031 -EN 1.6 ENGLISH

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CompactCom 40 and is the answer not in the manual?

Questions and answers

Summary of Contents for Anybus CompactCom 40

  • Page 1 Anybus CompactCom 40 EtherNet/IP NETWORK GUIDE SCM-1202-031 -EN 1.6 ENGLISH...
  • Page 2 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 patents and pending patent applications in the USA and other countries. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 3: Table Of Contents

    Related Documents .......................5 Document History ......................5 Document Conventions ....................5 Document Specific Conventions..................6 Abbreviations ........................6 Trademark Information ....................7 About the Anybus CompactCom 40 EtherNet/IP ............ 8 General.........................8 Features ........................9 Basic Operation......................10 General Information .....................10 Network Identity ......................11 Communication Settings....................12 Beacon Based DLR (Device Level Ring)................14...
  • Page 4 10.10 Base Energy Object (4Eh) ....................91 10.11 Power Management Object (53h) ..................93 10.12 ADI Object (A2h)......................95 10.13 Port Object (F4h) ......................97 10.14 TCP/IP Interface Object (F5h) ..................99 10.15 Ethernet Link Object (F6h) ..................102 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 5 Socket Interface Object (07h)..................120 11.7 SMTP Client Object (09h) ................... 137 11.8 Anybus File System Interface Object (0Ah) ..............142 11.9 Network Ethernet Object (0Ch) ................... 143 11.10 CIP Port Configuration Object (0Dh) ................145 11.11 Functional Safety Module Object (11h) ................ 147 12 Host Application Objects ..................153...
  • Page 6 Suggested Test Tools ....................182 Statement of Conformance (STC) ................185 G Backward Compatibility ....................200 Initial Considerations....................200 Hardware Compatibility ....................201 General Software....................... 206 Network Specific — EtherNet/IP.................. 208 H Copyright Notices .......................210 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 7: Preface

    About this document This document is intended to provide a good understanding of the functionality offered by the Anybus CompactCom 40 EtherNet/IP. The document describes the features that are specific to Anybus CompactCom 40 EtherNet/IP. For general information regarding Anybus CompactCom, consult the Anybus CompactCom design guides.
  • Page 8: Document Specific Conventions

    The terms “Anybus” or “module” refers to the Anybus CompactCom module. • The terms “host” or “host application” refer to the device that hosts the Anybus. • Hexadecimal values are written in the format NNNNh or 0xNNNN, where NNNN is the hex- adecimal value.
  • Page 9: Trademark Information

    7 (218) Trademark Information Anybus ® is a registered trademark of HMS Industrial Networks AB. EtherNet/IP is a trademark of ODVA, Inc. All other trademarks are the property of their respective holders. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 10: About The Anybus Compactcom 40 Ethernet/Ip

    Anybus module. This product conforms to all aspects of the host interface for Anybus CompactCom 40 modules defined in the Anybus CompactCom 40 Hardware and Software Design Guides, making it fully interchangeable with any other device following that specification.
  • Page 11: Features

    About the Anybus CompactCom 40 EtherNet/IP 9 (218) Features • Two EtherNet/IP ports • Ethernet connectors or M12 connectors • Max. read process data: 1448 bytes • Max. write process data: 1448 bytes • Max. process data (read + write, in bytes): 2896 bytes •...
  • Page 12: Basic Operation

    3.1.1 Software Requirements No additional network support code needs to be written in order to support the Anybus Com- pactCom 40 EtherNet/IP, however due to the nature of the EtherNet/IP networking system, cer- tain restrictions must be taken into account: •...
  • Page 13: Network Identity

    Networks AB supplies a standard (generic) EDS file, which corresponds to the default settings in the module. However, due to the flexible nature of the Anybus CompactCom con- cept, it is possible to alter the behavior of the product in ways which invalidate the generic EDS file.
  • Page 14: Communication Settings

    (CIP object) • Ethernet Link Object (F6h), p. 102 (CIP object) • Network Configuration Object (04h), p. 111 (Anybus Module Object) • Secure HICP (Secure Host IP Configuration Protocol), p. 175 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 15 Communication Settings in Stand Alone Shift Register Mode If the Anybus CompactCom is used stand alone, there is no application from which to set the IP address. The IP address is instead set using the DIP1 switches (IP address byte 3) and the vir- tual attributes (Ethernet Host object (F9h), attribute #17), that are written to memory during set- up (IP address byte 0 - 2).
  • Page 16: Beacon Based Dlr (Device Level Ring)

    Diagnostics built into DLR products can identify the point of failure, thus helping to speed maintenance and reduce repair time. The Anybus CompactCom 40 EtherNet/IP implements the DLR protocol, and it is enabled by default. The device is able to process and act on beacon frames sent by ring supervisors, and supports beacon rates down to 100 μs.
  • Page 17: Web Interface

    Modular Device Functionality Modular devices consist of a backplane with a certain number of slots. The first slot is occupied by the “coupler” which contains the Anybus CompactCom module. All other slots may be empty or occupied by modules. When mapping ADIs to process data the application shall map the process data of each module in slot order.
  • Page 18: File System

    3.9.1 Overview The Anybus CompactCom 40 EtherNet/IP has an in-built file system, that can be accessed from the application and from the network. Three directories are predefined: The virtual file system that e.g. holds the web pages of the module. The virtual file system is enabled by default in the Anybus File System Interface Object (0Ah).
  • Page 19: General Information

    General Information The built-in file system hosts 28 MByte of non volatile storage, which can be accessed by the HTTP and FTP servers, the email client, and the host application (through the Anybus File Sys- tem Interface Object (0Ah)). The maximum number of directories and files, that can be stored in the root directory, is 511 if only short filenames are used (8 bytes name + 3 bytes extension).
  • Page 20: Ethernet/Ip Implementation Details

    EtherNet/IP Implementation Details General Information This chapter covers EtherNet/IP specific details in the Anybus implementation. Note that the use of such functionality may require in-depth knowledge in EtherNet/IP networking internals and/or information from the official EtherNet/IP and CIP specifications. In such cases, the peo-...
  • Page 21: Using The Assembly Mapping Object (Ebh)

    4.3.2 Adding Data - The Application Data Object According to the Anybus object model, all data that is used in the application must be repre- sented by application data instances (ADIs). ADIs are small portions of structured data, each representing only one of three possible different types: variable, array or structure.
  • Page 22 Write PD Instance List will contain all assembly mapping object instances with type “Read”. Read PD Instance List will contain all assembly mapping object instances with type “Write”. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 23: Socket Interface (Advanced Users Only)

    For this to happen, the device will issue the Remap_ADI_Write_Area command to the applica- tion data object in the host. See the appendix about “Runtime Remapping of Process Data” in the Anybus CompactCom 40 Software Design Guide for more information.
  • Page 24: Diagnostics

    CompactCom will need more time to initialize , please do not restart the module during this time. 4.7.2 Reset Request from Network When a reset request arrives from the network, a delay of 1 s is introduced before the Anybus CompactCom 40 EtherNet/IP is reset, if CIP safety is enabled. Anybus CompactCom 40 EtherNet/IP Network Guide...
  • Page 25: Ftp Server

    User2:Password2 User3:Password3 .UserN:PasswordN Notes: • Usernames must not exceed 16 characters in length. • Passwords must not exceed 16 characters in length. • Usernames and passwords must only contain alphanumeric characters. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 26: Session Example

    - Substitute <user> with the username – - Substitute <password> with the password Press Enter. The Explorer will now attempt to connect to the Anybus module using the specified settings. If successful, the file system will be displayed in the Explorer window. Fig. 3 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 27: Web Server

    File System Interface Object. See also ... • File System, p. 16 • Anybus File System Interface Object (0Ah), p. 142 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 28 Network Configuration Object. Fig. 4 Fig. 5 The module needs to be reset for the TCP/IP and SMTP settings to take effect. The Ethernet Configuration settings will take effect immediately. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 29 Connection open requests rejected due to lack of resources Rejects Connection Open Other Rejects Connection open requests rejected due to other reasons Connection Close Requests Number of received connection open requests Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 30 Frame Size Too Long Frames received that exceed the maximum permitted frame size. Frame Size Too Short Frames received that are shorter than lowest permitted frame size. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 31: Server Configuration

    The web root directory determines the location of all files related to the web interface. Files out- side of this directory and its subdirectories cannot be accessed by the web server. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 32 Content types can be added or redefined by adding them to the server configuration file. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 33 The field “AuthType” is used to identify the authentication scheme. Description Value Basic Web authentication method using plaintext passwords. Digest More secure method using challenge-response authentication. Used as default if no [Auth- type] field is specified. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 34: E-Mail Client

    Optionally, delete the e-mail instance using the Delete command (04h) Sending a message based on a file in the file system is achieved using the Send Email from File command. This command is described in the SMTP Client Object (04h). Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 35: Server Side Include (Ssi)

    Server Side Include functionality, or SSI, allows data from files and objects to be represented on web pages and in e-mail messages. SSI are special commands embedded within the source document. When the Anybus Com- pactCom module encounters such a command, it will execute it, and replace it with the result (if applicable).
  • Page 36 (default is CRLF). Default Output Scenario Default Output Success (value of specified key) Authentication Error “Authentication error” File open error “Failed to open file ‘filename’” Key not found “Tag (key) not found” Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 37 Server Side Include (SSI) 35 (218) Example The following SSI... <?--exec cmd_argument='GetConfigItem("\example.cnf", "B")'--> ... in combination with the following file (‘\example.cnf’)... First Second Third ... returns the string ‘Third’. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 38 The default behavior is to modify the existing file. Default Output Scenario Default Output Success “Configuration stored to‘filename’” Authentication Error “Authentication error” File open error “Failed to open file ‘filename’” File write error “Could not store configuration to ‘filename’” Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 39 </HTML> The resulting file (‘\food.txt’) may look somewhat as follows: [Name] Cliff Barnes [Food] Cheese [Drink] Beer In order for this example to work, the HTML file must be named “test.shtm”. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 40 8.3.5 DisplayRemoteUser This command stores returns the username on an authentication session. This command cannot be used in e-mail messages. Syntax: <?--#exec cmd_argument='DisplayRemoteUser'--> Default Output Scenario Default Output Success (current user) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 41 <?--#exec cmd_argument='ChangeLanguage("lang")'--> <FORM action="test.shtm"> <P> <LABEL for="lang">Language(0-4): </LABEL><BR> <INPUT type="text" name="lang"><BR><BR> <INPUT type="submit" name="_submit"> </P> </FORM> </BODY> </HTML> In order for this example to work, the HTML file must be named “test.shtm”. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 42 The following example demonstrates how to use this function. <HTML> <HEAD><TITLE>IncludeFile Test</TITLE></HEAD> <BODY> <H1> Contents of ‘info.txt’:</H1> <P> <?--#exec cmd_argument='IncludeFile("info.txt")'-->. </P> </BODY> </HTML> Contents of ‘info.txt’: Neque porro quisquam est qui dolorem ipsum quia dolor sit amet,consectetur, adipisci velit... Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 43 Server Side Include (SSI) 41 (218) When viewed in a browser, the resulting page should look somewhat as follows: Fig. 6 See also... • Include File, p. 33 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 44 Specifies whether to overwrite or append data to existing files. Default Output Scenario Default Output Success “Configuration stored to ‘filename’” Authentication Error “Authentication error” File Write Error “Could not store configuration to ‘filename’” Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 45 </BODY> </HTML> The resulting file (\stuff.txt) will contain the value specified for the form object called “Meat”. In order for this example to work, the HTML file must be named “test.shtm”. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 46 44 (218) 8.3.9 printf() This function returns a formatted string which may contain data from the Anybus CompactCom module and/or application. The formatting syntax used is similar to that of the standard C-func- tion printf(). The function accepts a template string containing zero or more formatting tags, followed by a number of arguments.
  • Page 47 Specifies the max. no. of characters to be printed (no effect) • Modifier Modifier Meaning Character Argument is interpreted as SINT8 or UINT8 Argument is interpreted as SINT16 or UINT16 Argument is interpreted as SINT32 or UINT32 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 48 Too much data for argument “Too much data” ABCCMessage error ABCCMessage error string (Errors, p. Example See also... ABCCMessage(), p. 48 Example (Set_Attribute):, p. 50 Formatting Tags Formatting tags are written as follows: %[*][Width][Modifier]type Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 49 Data is read but ignored. It is not assigned to the corresponding argument. • Width (Optional) Specifies the maximum number of characters to be read • Modifier (Optional) Specifies a different data size. Modifier Meaning SINT8, SINT16, UINT8 or UINT16 SINT32 or UINT32 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 50: Argument Functions

    Specifies the data type in the response (msgdata), see below. Numeric input can be supplied in the following formats: Decimal (e.g. 50) (no prefix) Octal (e.g. 043) Prefix 0 (zero) Hex (e.g. 0x1f) Prefix 0x Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 51 Get_Attribute request which (wrongfully) includes message data will be passed unmodified to the object, even though this is obviously wrong. Failure to observe this may cause loss of data or other undesired side effects. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 52 Instance #3 (IP address) command Set_attribute Attribute #5 msgdata Use data parsed by scanf() call c_type UINT8[4] Array of 4 unsigned 8-bit integers r_type NONE Response message holds no data Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 53 “Not enough data in msg data field” “Out of range” “Invalid state” “Out of resources” “Segmentation failure” “Segmentation buffer overflow” 17... 255 “Unknown error” See also... SSI Output Configuration, p. 52 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 54: Ssi Output Configuration

    If no information for the selected language is found, it will use the default SSI output. Value of X Language English German Spanish Italian French See also... • SsiOutput(), p. 38 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 55: Json

    JSON is an acronym for JavaScript Object Notation and an open standard format for storing and exchanging data in an organized and intuitive way. In Anybus CompactCom, it is used to transmit data objects consisting of name - value pairs between the webserver in the Anybus CompactCom and a web application.
  • Page 56: Json Objects

    A callback function for JSONP output. Response data: Name Data Type Description — Array of Strings Sorted list of string representations of the ADI value attributes JSON response example (using offset): "FF", "A201", "01FAC105" Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 57 <offset> or <instance>. The returned information provided is a transparent representation of the attributes available in the host Application Data object (FEh). See the Anybus CompactCom 40 Software Design Guide for more information about the content of each attribute. The ADI metadata is static during runtime.
  • Page 58 "Temperature threshold", "numelements": 1, "datatype": "min": "00", "max": "FF", "access": 0x03 JSON response example (using inst): "instance": "name": "Temperature threshold", "numelements": 1, "datatype": "min": "00", "max": "FF", "access": 0x03 null, null Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 59 Structures. The information provided is a transparent representation of the attributes available in the host Application Data object (FEh). See the Anybus CompactCom 40 Software Design Guide for more information about the content of each attribute. The ADI metadata is static during runtime.
  • Page 60 "00", "default": "00", "numsubelements": null "elementname": null JSON response example (instance): "instance": "numelements": 1, "datatype": "descriptor": "name": "Temperature threshold", "max": "FF", "min": "00", "default": "00", "numsubelements": null "elementname": null null, null Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 61 String representation for the corresponding value. value Number Value corresponding to the string representation. JSON response example: "string": "String for value 1", "value": 1 "string": "String for value 2", "value": 2 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 62 A callback function for JSONP output. Response data: Name Data Type Note result Number 0 = success The Anybus CompactCom error codes are used. Please see the Anybus CompactCom 40 Software Design Guide. "result" : 0 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 63 Network type (Network Object (03h), instance attribute #1) JSON response example: "modulename": "ABCC M40", "serial": "ABCDEF00", "fwver": [ 1, 5, 0 ], "uptime": [ 5, 123456 ], "cpuload": "fwvertext": "1.05.02", "vendorname": "HMS Industrial Networks", "hwvertext": "2", "networktype": "0085", Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 64 0: No link 1: Link speed Number 0: 10 Mbit 1: 100 Mbit duplex Number 0: Half 1: Full JSON response example: "mac": "003011FF0201", "comm1": "link": "speed": "duplex": "comm2": "link": "speed": "duplex": Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 65 "10.10.55.2" "hostname": "abcc123", "domainname": "hms.se" To change IP settings, use network/ipconf.json. It accepts any number of arguments from the list above. Values should be in the same format. Example: GET ipconf.json?dhcp=0&addr=10.11.32.2&hostname=abcc123&domainname=hms.se Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 66 The parameters “comm1” and “comm2” are configurable by adding them as arguments to the GET request: GET network/ethconf.json?comm1=0&comm2=4 The parameters “comm1” and “comm2” may hold an error object with Anybus error code if the module fails processing the request: "mac": [00, 30, 11, FF, 02, 01], "comm1":...
  • Page 67 Number IN: unsupported protocol type outoctets Number OUT: bytes outucast Number OUT: unicast packets outnucast Number OUT: broadcast and multicast packets outdiscards Number OUT: discarded packets outerrors Number OUT: errors Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 68 MAC sublayer transmit error cserr Number Times that the carrier sense was lost or never asserted when attempting to transmit a frame toolong Number Frames received that exceed the maximum permitted frame size Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 69 { "name": "Connection Close Requests", "value": 0 }, { "name": "Connection Close Format Rejects", "value": 0 }, { "name": "Connection Other Rejects", "value": 0 }, { "name": "Connection Timeouts", "value": 0 }, Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 70 { "name": "Rx aborts received", "value": 0 }, { "name": "Transaction aborts sent", "value": 0 }, { "name": "Transaction rejects sent", "value": 0 }, { "name": "Transaction errors sent", "value": 0 }, Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 71 { "name": "AE Confirmed notifications sent", "value": 0 }, { "name": "AE UnConfirmed notifications sent", "value": 0 }, { "name": "AE Confirmed notification errors", "value": 0 }, { "name": "AE DAB lookup errors", "value": 0 }, Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 72 { "name" : "Port 2 Temperature (C)", "value" : "40.57" }, { "name" : "Port 2 Power Budget (dB)", "value" : "0.0" }, { "name" : "Port 2 Power Budget Status", "value" : "OK" } Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 73 Examples: The value 5 encoded as a UINT16, with dataformat = 0 (little endian): 0500 The character array “ABC” encoded as CHAR[3] (dataformat is not relevant for CHAR): 414243 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 74: Example

    <script type="text/javascript" src="vfs/js/tmpl.js"></script> </head> <body> <div id="info-content"></div> <script type="text/x-tmpl" id="tmpl-info"> <b>From info.json</b><br> Module name: {%=o.modulename%}<br> CPU Load: {%=o.cpuload%}%<br> </script> <script type="text/javascript"> $.getJSON( "/module/info.json", null, function(data){ $("#info-content").html( tmpl("tmpl-info", data ) ); </script> </body> </html> Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 75: Cip Objects

    EtherNet/IP Host Object (F8h), p. 160 and commend details for Process_ CIP_Object_Request. Unconnected CIP routing is supported, which means that a message can be sent to a device without first setting up a connection. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 76: Translation Of Status Codes

    Translation of Status Codes If an error occurs when an object is requested from the application, an error code is returned. These Anybus CompactCom error codes are translated to CIP status codes according to the ta- ble below. Anybus CompactCom 40 Error Code...
  • Page 77: Identity Object (01H)

    Module ID Array of If modular device functionality is enabled, a request to this attribute will List UINT32 generate a Get_List request to the Modular Device Object in the host application. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 78 Application Object and translated to CIP standard. By default the only Struct of: List supported language is English. The application has to implement the cor- USINT responding attributes in the application object to enable more languages. USINT USINT Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 79 There are two types of network reset requests on EtherNet/IP: Type 0: Power Cycling This service emulates a power cycling of the module, and corresponds to Anybus reset type 0 Reset (Power cycling). For further information, consult the general Anybus CompactCom 40 Software Design Guide.
  • Page 80: Message Router (02H)

    The Message Router Object provides a messaging connection point through which a client may address a service to any object class or instance residing in the physical module. In the Anybus CompactCom module it is used internally to direct object requests. Supported Services...
  • Page 81: Assembly Object (04H)

    The terms “input” and “output” are defined from the network’s point of view. An input will produce data on the network and an output will consume data from the network. See also ..• EtherNet/IP Host Object (F8h), p. 160 • Assembly Mapping Object (see Anybus CompactCom 40 Software Design Guide) Supported Services Class: Get_Attribute_Single Instance: Get_Attribute_Single...
  • Page 82 This instance is used as heartbeat for listen-only extended connections, and does not carry any attributes. The state of connections made to this instance does not affect the state of the Anybus CompactCom 40 mod- ule, i.e. if the connection times out, the module does not switch to the Error state. The data size of the Heart- beat instance in the Forward_Open-request should be 0 bytes, however other values are also permitted.
  • Page 83 This data corresponds to the Read Process Data. Data Size UINT Number of bytes in attribute 3 See also... Network Data Exchange, p. 14 EtherNet/IP Host Object (F8h), p. 160 (Instance attribute #7) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 84: Connection Manager (06H)

    Number of Forward Close service requests which were rejected for rea- Rejects sons other than bad format. Connection UINT Total number of connection timeouts that have occurred in connections Timeouts controlled by this Connection Manager. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 85 Class 0 Connection Details General Class 0 connections are only supported for safety connections. The Anybus CompactCom device will act as a transparent bridge for safety connections, meaning that open and close requests for safety connections and safety I/O data will be forwarded to the safety module. Class 0 connections use UDP transport.
  • Page 86 Connection point T →O: Assembly Object, instance 64h (Default) • Input-Only connection This type of connection is used to read data from the Anybus module without controlling the outputs. It does not depend on other connections. Max. no. of Input-Only Up to 4...
  • Page 87 No. of simultaneous Class 3 connections: Supported RPI (Requested Packet 1... 10000 ms Interval): T→O Connection type: Point-to-point O→-T Connection type: Point-to-point Supported trigger type: Application Supported connection size: 1526 bytes Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 88: Parameter Object (0Fh)

    Type Value Revision UINT 0001h (Object revision) UINT Maximum created instance number = class attribute 3 in the Application instance Data Object (see Anybus CompactCom 40 Software Design Guide) Parameter WORD Default: 0000 0000 0000 1011b Class Bit: Contents: Descriptor...
  • Page 89 The Data Type is defined in attribute 5. Scaling UINT 0001h Multiplier Scaling UINT Divisor Scaling Base UINT Scaling 0000h Offset Multiplier UINT Link Divisor Link UINT Base Link UINT Offset Link UINT Decimal USINT Precision Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 90 “Reserved” Units String “” Help String “” Minimum value Maximum value Default value Scaling Multiplier Scaling Divisor Scaling Base Scaling Offset Multiplier Link Divisor Link Base Link Offset Link Decimal Precision Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 91: Dlr Object (47H)

    This attribute holds the IP address (IPv4) and/or the Ethernet Mac ad- Supervisor UDINT dress of the active ring supervisor. Address Array of: 6 USINTs Capability DWORD 82h (Beacon-based ring node, Flush_Table frame capable) Flags Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 92: Qos Object (48H)

    CIP transport class 1 messages with priority High Default: 43 DSCP Low USINT CIP transport class 1 messages with priority Low Default: 31 DSCP USINT CIP UCMM and CIP class 3 Explicit Default: 27 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 93: Base Energy Object (4Eh)

    Electrical and/or Non-Electrical Energy Object instance (These objects are not implemented in the Anybus CompactCom 40 EtherNet/IP). If an instance of any of these objects is implemented in a device, it must be associated with a Base Energy Object instance in the device.
  • Page 94 Depending on whether the instance reports consumed or generated energy, either attribute #7 or attrib- ute #8 is required. • The struct data type ODOMETER makes it possible to represent very large values, for more information please consult the CIP specification Volume 1 (CIP Common). Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 95: Power Management Object (53H)

    The Energy Control Object (F0h) has to be implemented for this object to gain access to the network. See also .. • Energy Control Object (F0h) (Anybus CompactCom 40 Software Design Guide) Supported Services Class: Get_Attribute_Single...
  • Page 96 Power Level (Power in kW for this mode) BOOL Availability (Specifies whether this mode can be entered given the current device state) Sleeping BOOL 0 (Sleeping state not supported) State Support Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 97: Adi Object (A2H)

    Equals attribute #4 in the Application Data Object Instance Number of UINT Equals attribute #3 in the Application Data Object instances For information about the Application Data Object, please consult the Anybus CompactCom 40 Software De- sign Guide. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 98 CIP Objects 96 (218) Instance Attributes Each instance corresponds to an instance within the Application Data Object (for more information, please consult the general Anybus CompactCom 40 Software Design Guide). Name Access Type Value/Description Name SHORT_ Parameter name (Including length)
  • Page 99: Port Object (F4H)

    Struct of: Enumerates the type of port (see instance attribute #1) UINT (Type) CIP port number associated with this port (see instance attribute #2) UINT (Number) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 100 UINT (Min.) Max. node number on port UINT (Max.) Port Routing UDINT 1h (Routing of incoming Unconnected Messaging supported) Capabilities See also... CIP Port Configuration Object (0Dh), p. 145 , “Instance Attributes.”. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 101: Tcp/Ip Interface Object (F5H)

    UINT 7 (The attribute number of the last implemented class attribute) Number Class Attributes Maximum ID UINT 13 (The attribute number of the last implemented instance attribute) Number In- stance Attributes Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 102 Path to Ethernet Link Object, Instance #3 Interface Get/Set Struct of: Configura- UDINT (IP) IP address tion UDINT (Mask) Subnet mask UDINT (GW) Default gateway UDINT Primary DNS (DNS1) UDINT Secondary DNS (DNS2) STRING Default domain (Domain) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 103 As the EDS file is changed, the identity of the module has to be changed and the module will require certification. – This attribute exists if attribute #26 in the EtherNet/IP Host Object is implemented, see EtherNet/IP Host Object (F8h), p. 160. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 104: Ethernet Link Object (F6H)

    UINT 7 (The attribute number of the last implemented class attribute.) Number Class Attributes Maximum ID UINT 11 (The attribute number of the last implemented instance attribute.) Number In- stance Attributes Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 105 Frames received that exceed the maximum permitted Long frame size UDINT Frames for which reception on an interface fails due to MAC Re- ceive Errors an internal MAC sublayer receive error Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 106 EtherNet/IP Host Object (F8h), p. 160 • Support for attribute #8 can be disabled by implementing the port state attributes (#12 or #13) in the Ethernet Host object (F9h) see Ethernet Host Object (F9h), p. 169 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 107 The interface is disabled. The interface is testing. Admin State This attribute controls the administrative setting of the interface state. Description Value (reserved) Enable the interface. Disable the interface. 3-255 (reserved) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 108 (#6) shall not be supported. Indicates that the interface supports manual setting of speed/duplex via the Interface Control attribute (#6) 4 - 31 Reserved Shall be set to 0 Return 0 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 109: Anybus Module Objects

    Anybus Module Objects 107 (218) Anybus Module Objects 11.1 General Information This chapter specifies the Anybus Module Object implementation and how they correspond to the functionality in the Anybus CompactCom 40 EtherNet/IP. Standard Objects: • Anybus Object (01h), p. 108 •...
  • Page 110: Anybus Object (01H)

    Anybus Module Objects 108 (218) 11.2 Anybus Object (01h) Category Basic Object Description This object assembles all common Anybus data, and is described thoroughly in the general Anybus CompactCom 40 Software Design Guide. Supported Commands Object: Get_Attribute Instance: Get_Attribute Set_Attribute...
  • Page 111: Diagnostic Object (02H)

    11.3 Diagnostic Object (02h) Category Basic Object Description This object provides a standardized way of handling host application events & diagnostics, and is thoroughly described in the general Anybus CompactCom 40 Software Design Guide. Supported Commands Object: Get_Attribute Create Delete...
  • Page 112: Network Object (03H)

    Anybus Module Objects 110 (218) 11.4 Network Object (03h) Category Basic Object Description For more information regarding this object, consult the general Anybus CompactCom 40 Software Design Guide. Supported Commands Object: Get_Attribute Instance: Get_Attribute Set_Attribute Get_Enum_String Map_ADI_Write_Area Map_ADI_Read_Area Map_ADI_Write_Ext_Area Map_ADI_Read_Ext_Area Object Attributes (Instance #0) (Consult the general Anybus CompactCom 40 Software Design Guide for further information.)
  • Page 113: Network Configuration Object (04H)

    As soon as the used combination of IP address, Subnet mask and Gateway is changed, the module informs the application by writing the new set to instance #1, attribute #16 in the Ethernet Host Object (F9h). The object is described in further detail in the Anybus CompactCom 40 Software Design Guide. See also...
  • Page 114 Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) Configured Value Array of Holds the configured value, which will be written to attribute #5 UINT8 after the module has been reset. Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 115 Value String Meaning (Multilingual, see page 119) “Auto” Auto negotiation “10 HDX” 10Mbit, half duplex “10 FX” 10Mbit, full duplex “100HDX” 100Mbit, half duplex “100FX” 100Mbit, full duplex Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 116 Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) Configured Value Array of Holds the configured value, which will be written to attribute #5 UINT8 after the module has been reset. Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 117 #6 until a reset. Domain name, 48 characters Configured Value Array of Holds the configured value, which will be written to attribute #5 CHAR after the module has been reset. Domain name, 48 characters Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 118 SMTP account password, 64 characters Configured Value Array of Holds the configured value, which will be written to attribute #5 CHAR after the module has been reset. SMTP account password, 64 characters Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 119 Holds the configured value, which will be written to attribute #5 after the module has been reset. Value (ENUM): String: Meaning: “Auto” “MDI” “MDIX” Instance Attributes (Instances #18 and #19) These instances are reserved for future attributes. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 120 #6 until a reset. Value: Meaning: Disable (default) Enable Configured Value ENUM Holds the configured value, which will be written to attribute #5 after the module has been reset. Value: Meaning: Disable Enable Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 121 SMTP Server SMTP Server Servidor Server SMTP SMTP SMTP serveur SMTP User SMTP User Usuario Utente SMTP SMTP utilisa. SMTP SMTP Pswd SMTP PSWD Clave SMTP Password SMTP mt SMTP passe Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 122: Socket Interface Object (07H)

    Number of instances UINT16 Number of opened sockets Highest instance no. UINT16 Highest created instance number Max. no. of instances UINT16 0008h (8 instances): BACnet/IP 0014h (20 instances): All other industrial Ethernet networks Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 123 Don’t delay send to coalesce packets (TCP). Value Meaning Delay (default) Don’t delay (turn off Nagle’s algorithm on socket) TCP Connect Get/Set UINT16 TCP Connect timeout in seconds (default = 75s) Timeout Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 124 SOCK_STREAM, NON-BLOCKING (TCP) SOCK_STREAM, BLOCKING (TCP) SOCK_DGRAM, NON-BLOCKING (UDP) SOCK_DGRAM, BLOCKING (UDP) • Response Details Field Contents Comments Data[0] Instance number (low) Instance number of the created socket. Data[1] Instance number (high) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 125 Set to 0 (zero) to request binding to any free port. CmdExt[1] Requested port number (high) • Response Details Field Contents Comments CmdExt[0] Bound port number (low) Actual port that the socket was bound to. CmdExt[1] Bound port number (high) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 126 Try to send any unsent data to the host. Send shutdown with CmdExt[1] set to 01h. This will send FIN-flag to host shutting down the send channel. Delete the socket instance. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 127 Command Code Valid for: Instance Description This command puts a TCP socket in listening state. • Command Details Field Contents CmdExt[0] (reserved, set to zero) CmdExt[1] (reserved) • Response Details (no data) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 128 Host IP address byte 4 Data[3] Host IP address byte 3 Data[4] Host IP address byte 2 Data[5] Host IP address byte 1 Data[6] Host port number (low byte) Data[7] Host port number (high byte) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 129 Host IP address byte 3 Data[2] Host IP address byte 2 Data[3] Host IP address byte 1 Data[4] Host port number (low byte) Data[5] Host port number (high byte) • Response Details (no data) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 130 The data in the response may be segmented (For more information, see Message Segmentation, p. 135). Field Contents Comments CmdExt[0] (reserved) (set to zero) CmdExt[1] Segmentation Control bits For more information, see Message Segmentation, p. Data[0...n] Received data Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 131 Host IP address byte 3 Data[2] Host IP address byte 2 Data[3] Host IP address byte 1 Data[4] Host port number (low byte) Data[5] Host port number (high byte) Data[6...n] Received data Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 132 Data to send • Response Details Field Contents Comments CmdExt[0] (reserved) (ignore) CmdExt[1] Data[0] Number of sent bytes (low) Only valid in the last segment Data[1] Number of sent bytes (high) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 133 Data to send • Response Details Field Contents Comments CmdExt[0] (reserved) (ignore) CmdExt[1] Data[0] Number of sent bytes (low byte) Only valid in the last segment Data[1] Number of sent bytes (high byte) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 134 (reserved, set to zero) CmdExt[1] Data[0] Group IP address byte 4 Data[1] Group IP address byte 3 Data[2] Group IP address byte 2 Data[3] Group IP address byte 1 • Response Details (no data) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 135 (reserved) (set to zero) CmdExt[1] Data[0] IP address byte 4 IP address of the specified host Data[1] IP address byte 3 Data[2] IP address byte 2 Data[3] IP address byte 1 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 136 DNS name error Failed to resolve the host name (name error response from DNS server. DNS timeout Timeout when performing a DNS lookup. DNS command failed Other DNS error. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 137 The maximum message size supported by the Anybus CompactCom 40 is normally 1524 bytes. In some ap- plications a maximum message size of 255 bytes is supported, e.g. if an Anybus CompactCom 40 is to re- place an Anybus CompactCom 30 without any changes to the application. The maximum socket message size is 1472.
  • Page 138 Set to 0 (zero) Segmentation Control bits (Response) Contents Meaning Set if the current segment is the first segment Set if the current segment is the last segment 2...7 (reserved) Set to 0 (zero) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 139: Smtp Client Object (09H)

    Description From Get/Set Array of e.g. “someone@somewhere.com” CHAR Get/Set Array of e.g.“ someone.else@anywhere.net” CHAR Subject Get/Set Array of e.g. “Important notice” CHAR Message Get/Set Array of e.g.“Shut down the system” CHAR Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 140 This command creates an e-mail instance. • Command Details Field Contents Comments CmdExt[0] (reserved) (set to zero) CmdExt[1] • Response Details Field Contents Comments CmdExt[0] (reserved) (ignore) CmdExt[1] Data[0] Instance number low byte Data[1] high byte Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 141 Command Code Valid for: Object Description This command deletes an e-mail instance. • Command Details Field Contents Comments CmdExt[0] E-mail instance number low byte CmdExt[1] high byte • Response Details (no data) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 142 [Message] actual email message • Command Details Field Contents CmdExt[0] (reserved, set to zero) CmdExt[1] Data[0... n] Path + filename of message file • Response Details (no data) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 143 Object Specific Error Codes Error Codes Meaning SMTP server not found SMTP server not ready Authentication error SMTP socket error SSI scan error Unable to interpret e-mail file Unspecified SMTP error (other) (reserved) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 144: Anybus File System Interface Object (0Ah)

    This provides the host application with access to the built-in file system of the module, e.g. when application specific web pages are to be installed. Instances are created and deleted dynamically during runtime. This object is thoroughly described in Anybus CompactCom 40 Software Design Guide. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 145: Network Ethernet Object (0Ch)

    Ethernet Host Object (F9h), p. 169) (Reserved) (Reserved) MAC Address Array of Device MAC address UINT8 Interface Counters Array of Array containing MIB-II interface counters (rfc1213) UINT32 See table below for array indices. (Reserved) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 146 Frames received that exceed the maximum permitted frame size lMACRecieveErrors; Frames for which reception on an interface fails due to an internal MAC sub- layer receive error Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 147: Cip Port Configuration Object (0Dh)

    Object Attributes (Instance #0) Name Access Data Type Value Name Array of “Network Ethernet” CHAR Revision UINT8 Number of instances UINT16 Highest instance no. UINT16 Max. no. of instances UINT16 0008h Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 148 (e.g. DeviceNet). If not (as is the case UINT16 with networks such as EtherNet/IP which uses a 4 byte IP ad- (Max) dress), the attribute shall not be supported. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 149: Functional Safety Module Object (11H)

    Functional Safety Module Object (11h) Category Extended Object Description This object contains information provided by the Safety Module connected to the Anybus CompactCom mod- ule. Please consult the manual for the Safety Module used, for values of the attributes below. Supported Commands Object:...
  • Page 150 0x02, second byte = 0x0C UINT8 Minor Exception Information If Exception Code 09h is set in the Anybus object, there is an error regarding the functional safety module in the application. Exception information is presented in instance attribute #10 according to this table: Value...
  • Page 151 Safe State at the same time. The application issues this command to the Anybus CompactCom module, when an error has been cleared by for example an operator. The Anybus CompactCom forwards the command to the Safety Module.
  • Page 152 CmdExt[0] (not used) CmdExt[1] Data[0... n] Data (byte string) The data consists of an IO configuration string, where the data format depends on the safety network. • Response Details (no data) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 153 This command can be issued by the application to get the complete safety input PDU sent by the safety mod- ule. The Anybus CompactCom 40 EtherNet/IP will respond with the complete safety PDU, that the application then has to interpret.
  • Page 154 The safety module rejected a Error code sent by safety module is found in MsgData[2] and MsgDa- message. ta[3]. Message response from the safety module has incorrect format (for ex- ample, wrong length). Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 155: Host Application Objects

    EtherNet/IP implementation. Standard Objects: • Assembly Mapping Object (EBh) - (see Anybus CompactCom 40 Software Design Guide) • Modular Device Object (ECh) - (see Anybus CompactCom 40 Software Design Guide) •...
  • Page 156: Functional Safety Object (E8H)

    Do not implement this object if a safety module is not used. This object specifies the safety settings of the application. It is mandatory if Functional Safety is to be sup- ported and a Safety Module is connected to the Anybus CompactCom module. Supported Commands...
  • Page 157 The Anybus CompactCom validates the cycle time according to the minimum values above. If e.g. baud rate is 625 kbit/s and the cycle time is set to 2 ms the Anybus CompactCom will enter the EXCEPTION state. FW upgrade in...
  • Page 158: Application File System Interface Object (Eah)

    This allows the user to download software through the FTP server to the application. The application decides the available memory space. This object is thoroughly described in Anybus CompactCom 40 Software Design Guide. Anybus CompactCom 40 EtherNet/IP Network Guide...
  • Page 159: Cip Identity Host Object (Edh)

    Device Type UINT16 See also... Product Code UINT16 Identity Object (01h), p. 75 (CIP-object) Revision struct of: UINT8 Ma- jor UINT8 Minor Status UNIT16 Serial Number UINT32 Product Name Array of CHAR Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 160 This service must be implemented by the application for all instances that exist in the CIP identity host object. If identity data is requested from the network the Anybus module will issue this command to the application. The application will then respond with a message containing a struct of all attributes in the requested instance.
  • Page 161: Sync Object (Eeh)

    Sync Object (EEh) Category Extended Object Description The Anybus CompactCom 40 EtherNet/IP does not support CIP Sync. This object is only used to store the cycle time for the last established IO connection that consumes data. Supported Commands Object: Get_Attribute...
  • Page 162: Ethernet/Ip Host Object (F8H)

    Assembly Object (04h), p. 79 (CIP object) • Port Object (F4h), p. 97 (CIP object) • CIP Port Configuration Object (0Dh), p. 145 • Anybus CompactCom 40 Software Design Guide, “Error Codes” Supported Commands Object: Get_Attribute Process_CIP_Object_Request Set_Configuration_Data Process_CIP_Routing_Request Get_Configuration_Data...
  • Page 163 Meaning Object True Enable CIP Parameter Object False Disable CIP Parameter Object Input-Only heartbeat UINT16 0003h See “Instance 03h Attributes (Heartbeat, Input-Only)” in instance number Assembly Object (04h), p. 79 (CIP-object). Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 164 (0064h - 00C7h and 0300h - 04FFh). Any other value will disable the ADI object. Enable DLR BOOL True Value Meaning True DLR functionality enabled False DLR functionality disabled Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 165 Mapping Object. The arrays list the corresponding CIP instance numbers representing each assembly in- stance defined by the application. For more information, see • Using the Assembly Mapping Object (EBh), p. 19 • Anybus CompactCom 40 Software Design Guide, “Assembly Mapping Object (EBh)” Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 166 If it does, the module will send a ‘resource unavailable’ response to the originator of the request and the message will not be forwarded to the host application. This command is similar - but not identical - to the ‘Process_CIP_Request’-command in the Anybus Com- pactCom 40 DeviceNet.
  • Page 167 Error code Anybus error code MsgData[1] Extended error code If the Anybus error code is set to FFh, the extended error code shall be translated as shown in the table below. MsgData[2... 3] Index If the Extended error code is set to 02h (invalid configura- tion), this parameter points to the attribute that failed.
  • Page 168 Forward Open request, not for explicit set requests. • Connection Manager (06h), p. 82 (CIP object) • Message segmentation Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 169 Additional Status Array Additional status, if applicable MsgData[n+1... Response Data Actual response data See also.. • Port Object (F4h), p. 97 (CIP object) • CIP Port Configuration Object (0Dh), p. 145 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 170 Object Description If the configuration data is requested from the network, the Anybus will issue this command to the application. The application shall send the stored configuration data in the response message. Segmentation is used since the telegram length on the host interface is limited. The maximum total amount of configuration data that will be accepted by the module is 458 bytes.
  • Page 171: Ethernet Host Object (F9H)

    (Enabled) (Not used if Transparent Ethernet is enabled.) Enable admin BOOL False Enable/Disable FTP admin mode mode (Disabled) (Not used if Transparent Ethernet is enabled.) Network Status UINT16 See below. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 172 0 = False Enables the option to reset the module from HICP. from HICP IP configuration Struct of: Whenever the configuration is assigned or changed, the Anybus CompactCom module will update this attribute. UINT32 (IP address) UINT32 (Subnet mask) UINT32...
  • Page 173 (mask off and ignore) Link port 1 Current link status for port 1 EtherCAT only: This link status indicates whether the Anybus CompactCom is able to communicat 1 = Link sensed using Ethernet over EtherCAT (EoE) or not. That 0 = No link...
  • Page 174 00:30:11:33:44:55. Example 2: If Attribute #22 has been set to 2 (Host Name) Attribute #23 will be ignored and the Client Identifier will be the same as the configured Host Name. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 175: A Categorization Of Functionality

    This category includes objects, attributes and services that are mandatory to implement or to use. They will be enough for starting up the Anybus CompactCom and sending/receiving data with the chosen network protocol. The basic functions of the industrial network are used.
  • Page 176: B Implementation Details

    In the case of EtherNet/IP, this means that the SUP-bit is set when one or more CIP (Class 1 or Class 3) connections has been opened towards the module. Anybus State Machine The table below describes how the Anybus Statemachine relates to the EtherNet/IP network Anybus State Implementation...
  • Page 177: C Secure Hicp (Secure Host Ip Configuration Protocol)

    IPconfig utility for changing settings, e.g. IP address, Subnet mask, and enable/disable DHCP. Anybus IPconfig can be downloaded free of charge from the HMS website, www.anybus. com. This utility may be used to access the network settings of any Anybus product connected to the network via UDP port 3250.
  • Page 178: D Technical Specification

    Controlled by a Scanner in Run state Green, flashing Not configured, or Scanner in Idle state Major fault (EXCEPTION-state, FATAL error etc.) Red, flashing Recoverable fault(s). Module is configured, but stored parameters differ from currently used parameters. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 179 D.1.5 LINK/Activity LED 3/4 LED State Description No link, no activity Green Link (100 Mbit/s) established Green, flickering Activity (100 Mbit/s) Yellow Link (10 Mbit/s) established Yellow, flickering Activity (10 Mbit/s) Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 180: D.2 Functional Earth (Fe) Requirements

    Design Guide. Proper EMC behavior is not guaranteed unless these FE requirements are fulfilled. Power Supply D.3.1 Supply Voltage The Anybus CompactCom 40 EtherNet/IP requires a regulated 3.3 V power source as specified in the general Anybus CompactCom 40 Hardware Design Guide. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 181: D.4 Environmental Specification

    D.3.2 Power Consumption TheAnybus CompactCom 40 EtherNet/IP is designed to fulfil the requirements of a Class B module. The current hardware design consumes up to 360 mA In line with HMS policy of continuous product development, we reserve the right to change the exact power requirements of this product without prior notification.
  • Page 182: E Timing & Performance

    The Anybus CompactCom 40 EtherNet/IP module is able to re- ceive and handle the first application telegram (serial mode) E.2.2 NW_INIT Handling This test measures the time required by the Anybus CompactCom 40 EtherNet/IP module to perform the necessary actions in the NW_INIT-state. Parameter Conditions No.
  • Page 183 Trafo connector Host Application Network Read process data delay Fig. 8 Anybus Ethernet Ethernet Ethernet Host NP40 Ethernet connector Trafo connector Host Application Network Write process data delay Fig. 9 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 184: F Conformance Test Guide

    182 (218) Conformance Test Guide General When using the default settings of all parameters, the Anybus CompactCom 40 EtherNet/IP is precertified for network compliance. This precertification is done to ensure that the end product can be certified. To be allowed to use EtherNet/IP in a product the vendor is required to be a licensed EtherNet/IP vendor, with a vendor ID of its own.
  • Page 185 The latest version of the CT Test software requires users to allocate a second IP address for their network interface card. • Enabling the Encapsulation Logging feature of the CT test will allow users to efficiently work with Wireshark captures and Conformance Test logs. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 186 The Anybus EDS Generator tool automatically generates an EDS file by scanning a device us- ing the Anybus CompactCom 40 EtherNet/IP. This tool is easy to use and will provide a correctly configured EDS file that matches your product. It is still required to validate the EDS file via EZ- EDS.
  • Page 187: F.3 Statement Of Conformance (Stc)

    The goal of this section is to explain the relation the Anybus Objects to the Conformance Test and the Statement of Conformance (STC). The objects listed below exist in the host application, the Anybus CompactCom, and not in the EtherNet/IP interface.
  • Page 188 It is not permitted to use a custom serial number in combination with the HMS Vendor ID (005Ah). EtherNet/IP Host Object (F8h) - Attribute #6 - Product Name The Product Name must match the Product Name field. Fig. 15 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 189 EtherNet/IP Host Object (F8h) - Attribute #8 - Consuming Instance No. The response field will impact the assembly object. For most applications the producing in- stance(s) will be Static Outputs. Fig. 18 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 190 Enabling CIP Forwarding allows the host application to respond to all requests to both CIP ob- jects and instances of the Assembly Object not implemented by the Anybus CompactCom. The Conformance Test software will check to see if those requests are handled properly by the ap- plication.
  • Page 191 Anybus CompactCom error code Unsupported Command (5). Consult the CIP network libraries Vol1 appendix B for status codes, and the CIP objects chapter in the Anybus Com- pactCom EtherNet/IP Network Guide for a translation of CIP error codes to Anybus Com- pactCom error codes.
  • Page 192 03 shows up as the 0->T connection point for the connection path. For an explanation of the configuration path please see The CIP Networks Library Volume 1 Appendix C. Fig. 21 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 193 Assembly object as a Static Configuration, and should be listed in the connection paths in the Connection Manager. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 194 Assembly object as a Static Configuration, and should be listed in the connection paths in the Connection Manager. Fig. 23 Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 195 (F4h). It is possible for originators to use CIP routing to link to other subnets or backplanes through the Anybus CompactCom. For EtherNet/IP, multiple Port Object Instances can share the single or dual Physical ports. For each CIP routable port, one instance of the CIP Port Ob- ject should exists.
  • Page 196 EtherNet/IP Host Object (F8h) - Attribute 31 - Enable DLR The default behavior of the Anybus CompactCom EtherNet/IP is to have DLR enabled, if for some reason the DLR is disabled the DLR object must be removed from the list of supported objects in the STC file.
  • Page 197 Ethernet Host Object (F9h) - Attribute 13 - Port 2 State For Anybus CompactCom B40 and C40 applications port 2 may not be mounted if the applica- tion only has space for one ethernet port or for some other reason only need one ethernet port.
  • Page 198 01h) beyond the 1st instance which is supported by default. The support for additional instances of the Identity Object must be reflected in the Statement of Conformance by changing Identity Class attributes Max Instance, and Number of Instances to the proper values. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 199 EDS file, it is however required to list all connections that exist in the EDS file in the Connection Manager section of the EDS file. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 200 This is an example of an additional exclusive owner connection connecting to connection points 101/151. Please note that it is required to implement the Write_Assembly_Data and Read_Assembly_Da- ta services of the Assembly mapping host object in the application to pass Conformance testing. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 201 Please note that a CIP port does not necessarily correspond to a Physical port. The two network connectors on the two-port Anybus CompactCom correspond to a single CIP routable port. De- vices with a single CIP port are not required to support the Port Object, but the Communication Adapter device profile does require support for this object.
  • Page 202: G Backward Compatibility

    30 and 40 series modules in the same application. This appendix presents the backwards compatibility issues that have to be considered for Any- bus CompactCom 40 EtherNet/IP, when designing with both series in one application, or when adapting a 30 series application for the 40 series.
  • Page 203: G.2 Hardware Compatibility

    Anybus CompactCom M30/M40 G.2.2 Chip The chip (C30/C40) versions of the Anybus CompactCom differ completely when it comes to physical dimensions. There is no way to migrate a chip solution from the 30-series to the 40-series without a major hardware update.
  • Page 204 G.2.3 Brick The Anybus CompactCom B40-1 does not share dimensions with the Anybus CompactCom B30. The B40-1 is thus not suitable for migration. However HMS Industrial Networks AB has de- veloped a separate brick version in the 40-series, that can be used for migration. This product, B40-2, shares dimensions etc.
  • Page 205 Related Information: Anybus CompactCom M40 Hardware Design Guide (HMSI-216-126), Sec- tion “Application Connector Pin Overview” Module Identification (MI[0..1]) These pins are used by the host application (i.e your product) to identify what type of Anybus CompactCom that is mounted. The identification differs between the 30-series and the 40- series.
  • Page 206 In the 40-series, there is a possibility to set the GIP[0..1] and GOP[0..1] in high impedance state (tri-state) by using attribute #16 (GPIO configuration) in the Anybus object (01h). I.e. if it is not possible to change the host application hardware, this attribute can be configured for high impe- dance state of GIP and GOP before leaving NW_INIT state.
  • Page 207 205 (218) RMII Compatibility If the RMII mode is being used on an Anybus CompactCom 40 module and it is desired to re- main compatible with the 30 series, it is important to disable this connection when switching to an Anybus CompactCom 30 module due to pin conflicts. The RMII port of the host processor should be set to tristate by default, and only be enabled if an RMII capable Anybus Compact- Com 40 is detected.
  • Page 208: G.3 General Software

    Memory areas not supported by the specific network cannot be used. Make sure you do not ac- cess these areas, e.g. for doing read/write memory tests. Related Information: Anybus CompactCom 40 Software Design Guide (HMSI-216-125), Sec- tion “Memory Map” G.3.2 Faster Ping-Pong Protocol The ping-pong protocol (the protocol used in the 30-series) is faster in the 40-series.
  • Page 209 G.3.5 Control Register CTRL_AUX-bit 30-series The CTRL_AUX bit in the control register indicates to the Anybus CompactCom if the process data in the current telegram has changed compared to the previous one. 40-series The value of the CTRL_AUX bit is always ignored. Process data is always accepted.
  • Page 210: G.4 Network Specific — Ethernet/Ip

    Map CompactCom will never request this attribute. Replaced by the functional- ity in the Assembly Mapping Object (EBh). If this attribute is used, the Assembly Mapping object must be implemented instead. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 211 An EDS-generator for automatic EDS-file generation up to date with the differences below. The EDS-generator only works with the 40-series, version 1.30 and later. The generator can be downloaded from www.anybus.com/starterkit40: . Keywords The following keywords differs between the 30-series and the 40-series. The EDS generator re- flects this change.
  • Page 212: H Copyright Notices

    CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM- PLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCURE- MENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 213 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 214 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- ITY, FITNESS FOR A PARTICULAR PURPOSE ANDNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 215 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 216 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. To obtain customized changes please contact foss@anybus.com. ********************************************************************************...
  • Page 217 * 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. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 218 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF AD- VISED OF THE POSSIBILITY OF SUCH DAMAGE. Anybus CompactCom 40 EtherNet/IP Network Guide SCM-1202-031 -EN 1.6...
  • Page 219 This page intentionally left blank...
  • Page 220 last page © 2018 HMS Industrial Networks AB Box 4126 300 04 Halmstad, Sweden info@hms.se SCM-1202-031 -EN 1.6.8525 / 2018-05-24...

Table of Contents