Page 2
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Related Documents ......................5 Document History ......................5 Document Conventions .....................5 Document Specific Conventions..................6 Abbreviations ........................6 Trademarks........................6 About the Anybus CompactCom 40 EtherNet/IP .............. 7 General ..........................7 Features .........................8 IIoT – Industrial Internet of Things..................8 Basic Operation ........................9 General Information ......................9 Network Identity......................
General Information ..................... 218 Internal Timing ......................218 Conformance Test Guide ....................220 General ........................220 Suggested Test Tools ....................220 Statement of Conformance (STC) ..................222 G License Information ......................238 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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.
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 hexadecimal value.
Identity Object can be customized, allowing the end product to appear as a vendor-specific implementation rather than a generic 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.
• discovering how products are used • ensuring the quality of products faster To support IIoT, the Anybus CompactCom 40 EtherNet/IP supports the protocols OPC UA and MQTT. See also ... • OPC UA, p. 73 •...
General Information 3.1.1 Software Requirements No additional network support code needs to be written in order to support the Anybus CompactCom 40 EtherNet/IP, however due to the nature of the EtherNet/IP networking system, certain restrictions must be taken into account: •...
Industrial Networks 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 concept, it is possible to alter the behavior of the product in ways which invalidate the generic EDS file. In such case, a custom EDS file needs to be created, which in turn invalidates the default identity information and require re-certification of the product.
Page 13
(CIP object) • Ethernet Link Object (F6h), p. 125 (CIP object) • Network Configuration Object (04h), p. 134 (Anybus Module Object) • Secure HICP (Secure Host IP Configuration Protocol), p. 215 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 14
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 virtual attributes (Ethernet Host object (F9h), attribute #17), that are written to memory during setup (IP address byte 0 - 2).
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.
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.
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 18
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 System 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).
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 people...
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 represented 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 21
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”. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
For this to happen, the device will issue the Remap_ADI_Write_Area command to the application 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. When the network has been initialized, the device transitions from NW_INIT to the WAIT_ PROCESS state.
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Usernames and passwords must only contain alphanumeric characters. • If \ftp.cfg is missing or cannot be interpreted, all username/password combinations will be accepted and the home directory will be the FTP root (i.e. \ftp\). SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
- 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 SCM-1202–069 1.9 en-US...
File System Interface Object. See also ... • File System, p. 15 • Anybus File System Interface Object (0Ah), p. 169 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 27
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 29
Received packets discarded due to no available memory buffers. In Errors: Received packets discarded due to reception error. In Unknown Protos: Received packets with unsupported protocol type. Out Octets: Sent bytes. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
The web root directory determines the location of all files related to the web interface. Files outside of this directory and its subdirectories cannot be accessed by the web server. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 32
Content types can be added or redefined by adding them to the server configuration file. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 [Authtype] field is specified. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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). SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 CompactCom 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” SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 37
Server Side Include (SSI) 35 (244) 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’. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 38
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’” SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 39
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”. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 40
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 41
<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”. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 42
<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... SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 43
Server Side Include (SSI) 41 (244) When viewed in a browser, the resulting page should look somewhat as follows: Fig. 6 See also... • Include File, p. 33 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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’” SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 45
</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”. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 46
44 (244) 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- function 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 Meaning Modifier Character Argument is interpreted as SINT8 or UINT8 Argument is interpreted as SINT16 or UINT16 Argument is interpreted as SINT32 or UINT32 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 49
• 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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
If no information for the selected language is found, it will use the default SSI output. Language Value of X English German Spanish Italian French See also... • SsiOutput(), p. 38 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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.
Data Type Description — Array of Strings Sorted list of string representations of the ADI value attributes JSON response example (using offset): "FF", "A201", "01FAC105" JSON response example (using inst): SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 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 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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 62
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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": SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 65
"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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 OUT: errors Number SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 68
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
The functionality is disabled by default. It has to be enabled during startup of the Anybus CompactCom. This is done by setting attribute #1 (OPC UA Mode), in the OPC UA Object (E3h), instance #1, to 1.
As the Anybus CompactCom implements the OPC UA Device Integration model, the namespace of this model is present in the NamespaceArray. The Anybus CompactCom also has its own DeviceType defined and is part of a namespace managed by HMS Industrial Networks.
The Anybus CompactCom 40 namespace contains all types defined by HMS Industrial Networks for the CompactCom 40 device model. It is possible to change the URI from the host application. At the moment there is one type of node in the Anybus CompactCom 40 namespace:...
Page 78
HardwareRevision. They correspond to certain attributes in the OPC UA Object (E3h) and the Application Object (FFh) of the Anybus CompactCom 40. The ADIs are represented as a set of parameters belonging to the ParameterSet, an object that is a component of the CompactCom40 device type.
Page 80
(FFh), instance attribute #10 (Firmware version). In case the software version isn’t already in string format it is converted by the Anybus CompactCom to string format X.YY where X is major version and YY is minor version. Build number...
Page 81
The ApplicationDescription mentioned in the column “Used by/in” in the table above, is used in the responses to discovery services and in the response to the CreateSessionRequest. See OPC UA Part 4 for more information. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
10.4 Application Data Exchange An Anybus CompactCom ADI is mapped to a variable node in the OPC UA address space. In the current implementation only the first 256 defined instances (ADIs) of the Application Data Object are accessible via OPC UA. All data access is explicit, and no process data access is available.
Page 83
Bit 0: Get access bit of the It is possible to read the current ADI descriptor value if the ADI descriptor has the read bit set. All other bits set to 0. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 84
“Max”, “Min” or “Default” Description LocalizedText “Max”, “Min” or “Default” WriteMask UInt32 It is not possible to write any attribute UInt32 UserWriteMask It is not possible to write any attribute SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 85
It uses two letter ISO 639 codes. The active language is set by the host application in the Anybus Object (01h, attribute #9). The setting is transferred to OPC UA in the data type LocaleId.
Access is controlled by placing a file called opcua.cfg in the root directory of the file system of the Anybus CompactCom. This file shall contain a list of users that are allowed OPC UA protocol access using the Anybus CompactCom.
Page 88
0x80020000 BadInternalError 0x15 0x80010000 General error BadUnexpectedError 0x16 Protected access 0x801F0000 BadUserAccessDenied 0xFF Object specific Not possible to define a generic translation. Depends on what Anybus object that is accessed. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
10.8 Stack Configuration This section specifies the configuration of the OP UA stack, implemented in Anybus CompactCom. The configuration defines the capabilities of the stack implementation. 10.8.1 Connection Configuration The connection configuration is set according to the table below:...
Page 90
The data subscription configuration is set according to the table below: Configuration Parameter Value Description/Comment maxSubscriptionsPerSession 1000 ms publishingInterval Min The host application interface is used by the Anybus CompactCom to poll for changes. 86400000 ms publishingInterval Max lifeTimeCount Min lifeTimeCount Max 15000...
If MQTT is enabled, the Anybus CompactCom acts as a publisher, but not as a subscriber. The data published is either a single ADI value, the values of ADIs that belong to an Assembly Mapping instance, or vendor specific data that is published transparently from the host application.
Page 93
91 (244) Anybus MQTT Broker Host CompactCom Get_Data_Notification (req) Data to publish available Get_Data_Notification (rsp) Get_Publish_Configuration Get_Publish_Configuration (rsp) Request for metadata, if needed Metadata, if needed Encode data Publish Fig. 9 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
11.2 MQTT Configuration If MQTT is enabled, the Anybus CompactCom will set up a default configuration for the parameters needed. It is possible to change this configuration, either by setting the values of instances in the Network Configuration Object, or by using the internal configuration web page.
Page 95
MQTT 93 (244) 11.4.1 Data Type Translation Anybus data types are translated to JSON data types according to the table below. JSON Data Type Anybus Data Type BOOL Boolean Number SINT8/16/32/64 Number UINT8/16/32/64 FLOAT Number CHAR String OCTET String A hexadecimal string representation of the octet value.
Page 96
“Value” : “String value” “Timestamp” : 1526643062 Example of JSON encoding of an array ADI with 3 elements: “Array ADI” : { “Value” : [ 1, 2, 3 ] “Timestamp” : 1526643062 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
EtherNet/IP Host Object (F8h), p. 200 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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 table below. Anybus CompactCom 40 Error Code...
Module ID List Array of UINT32 If modular device functionality is enabled, a request to this attribute will generate a Get_List request to the Modular Device Object in the host application. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 101
Application Object and translated to CIP standard. By default the only Struct of: supported language is English. The application has to implement the USINT corresponding attributes in the application object to enable more languages. USINT USINT SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 102
There are two types of network reset requests on EtherNet/IP: Type 0: Power Cycling Reset This service emulates a power cycling of the module, and corresponds to Anybus reset type 0 (Power cycling). For further information, consult the general Anybus CompactCom 40 Software Design Guide.
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...
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. 200 • Assembly Mapping Object (see Anybus CompactCom 40 Software Design Guide) Supported Services Class: Get_Attribute_Single Instance: Get_Attribute_Single...
Page 105
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 module, i.e. if the connection times out, the module does not switch to the Error state. The data size of the Heartbeat instance in the Forward_Open-request should be 0 bytes, however other values are also permitted.
Page 106
This data corresponds to the Read Process Data. Size UINT Number of bytes in attribute 3 See also... Network Data Exchange, p. 13 EtherNet/IP Host Object (F8h), p. 200 (Instance attribute #8) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Number of Forward Close service requests which were rejected for reasons Rejects other than bad format. Connection UINT Total number of connection timeouts that have occurred in connections Timeouts controlled by this Connection Manager. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 108
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 109
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 connections: Up to 4 (Shared with Exclusive-Owner and Listen-Only connections) Connection point O →T:...
Value Revision UINT 0001h (Object revision) Max instance UINT Maximum created instance number = class attribute 3 in the Application Data Object (see Anybus CompactCom 40 Software Design Guide) Parameter WORD Default: 0000 0000 0000 1011b Class Bit: Contents: Descriptor...
Page 112
The Data Type is defined in attribute 5. Scaling UINT 0001h Multiplier Scaling Divisor UINT UINT Scaling Base Scaling Offset 0000h UINT Multiplier Link Divisor Link UINT Base Link UINT Offset Link UINT USINT Decimal Precision SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 113
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
This attribute holds the IP address (IPv4) and/or the Ethernet Mac address of Supervisor the active ring supervisor. Array of: Address 6 USINTs Capability Flags Get DWORD 82h (Beacon-based ring node, Flush_Table frame capable) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
CIP transport class 1 messages with priority High Default: 43 DSCP Low USINT CIP transport class 1 messages with priority Low Default: 31 DSCP Explicit USINT CIP UCMM and CIP class 3 Default: 27 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 117
#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). SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 119
Power Level (Power in kW for this mode) BOOL Availability (Specifies whether this mode can be entered given the current device state) Sleeping State BOOL 0 (Sleeping state not supported) Support SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Equals attribute #4 in the Application Data Object UINT Number of Equals attribute #3 in the Application Data Object instances For information about the Application Data Object, please consult the Anybus CompactCom 40 Software Design Guide. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 121
CIP Objects 119 (244) 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_STRING Parameter name (Including length)
The value at index 1 (offset 0) and any non-instantiated instances will be zero. 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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 123
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. 172 , “Instance Attributes.”. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 Instance Attributes SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 125
STRING Default domain (Domain) Host Name STRING Host name of Anybus module Get/Set USINT TTL Value Get/Set TTL value for EtherNet/IP multicast packets Mcast Config Struct of: IP multicast configuration. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 126
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. 200. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 Instance Attributes SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 128
Frames received that exceed the maximum permitted Long frame size MAC Receive UDINT Frames for which reception on an interface fails due to an Errors internal MAC sublayer receive error SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 129
• Support for attribute #9 can be disabled by implementing the port state attributes (#12 or #13) in the Ethernet Host object (F9h) see Ethernet Host Object (F9h), p. 209 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 130
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 131
(#6) shall not be supported. Indicates that the interface supports manual setting of speed/duplex via the Interface Control attribute (#6) 4 - 31 Return 0 Reserved Shall be set to 0 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Anybus Module Objects 130 (244) Anybus Module Objects 13.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. 131 •...
Anybus Module Objects 131 (244) 13.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...
13.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...
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 137
Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) Configured Value Array of UINT8 Holds the configured value, which will be written to attribute #5 after the module has been reset. Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 138
String Meaning Value (Multilingual, see page 145) “Auto” Auto negotiation “10 HDX” 10Mbit, half duplex “10 FX” 10Mbit, full duplex “100HDX” 100Mbit, half duplex “100FX” 100Mbit, full duplex SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 139
Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) Configured Value Array of UINT8 Holds the configured value, which will be written to attribute #5 after the module has been reset. Valid range: 0.0.0.0 - 255.255.255.255 (Default =0.0.0.0) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 140
Domain name, 48 characters Configured Value Array of CHAR Holds the configured value, which will be written to attribute #5 after the module has been reset. Domain name, 48 characters SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 141
SMTP account password, 64 characters Instance Attributes (Instance #16, MDI 1 Settings ) This instance holds the settings for MDI/MDIX 1. Changes have immediate effect. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 142
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 143
#6 until a reset. Meaning: Value: Disable (default) Enable ENUM Configured Value Holds the configured value, which will be written to attribute #5 after the module has been reset. Value: Meaning: Disable Enable SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 144
Configured value UINT16 The configured value that will be used after restart Instance Attributes (Instance #41, OPC UA Discovery Server) This instance holds the URL of the OPC UA Discovery server used by the Anybus CompactCom. Name Access Data Type...
Page 145
The ID must be unique at least within each network, and must only contain numbers and/or letters [0-9, a-z, A-Z]. Value set to this attribute will be used in the next connection attempt. Configured value CHAR[23] Configured MQTT client identifier. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 146
Value set to this attribute will be used in the next connection attempt. If the MQTT username is of zero length the MQTT password will not be included in the connection packet of MQTT. Configured value Array of CHAR Configured MQTT password. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Number of instances Number of opened sockets Highest instance no. UINT16 Highest created instance number UINT16 Max. no. of instances 0008h (8 instances): BACnet/IP 0014h (20 instances): All other industrial Ethernet networks SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 150
Don’t delay send to coalesce packets (TCP). Meaning Value Delay (default) Don’t delay (turn off Nagle’s algorithm on socket) TCP Connect UINT16 TCP Connect timeout in seconds (default = 75s) Get/Set Timeout SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 151
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 152
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 153
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 154
Instance Valid for: 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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 155
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 156
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 157
The data in the response may be segmented (For more information, see Message Segmentation, p. 162). Contents Comments Field CmdExt[0] (reserved) (set to zero) CmdExt[1] Segmentation Control bits For more information, see Message Segmentation, p. 162 Data[0...n] Received data SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 158
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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 159
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 160
• Response Details Contents Comments Field 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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 161
CmdExt[0] (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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 162
(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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 163
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 164
The maximum message size supported by the Anybus CompactCom 40 is normally 1524 bytes. In some applications a maximum message size of 255 bytes is supported, e.g. if an Anybus CompactCom 40 is to replace an Anybus CompactCom 30 without any changes to the application. The maximum socket message size is 1472.
Page 165
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
From Array of CHAR e.g. “someone@somewhere.com” Get/Set Get/Set Array of CHAR e.g.“ someone.else@anywhere.net” Subject Array of CHAR e.g. “Important notice” Get/Set Message Array of CHAR e.g.“Shut down the system” Get/Set SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 167
• 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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 168
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 169
[Message] actual email message • Command Details Contents Field CmdExt[0] (reserved, set to zero) CmdExt[1] Data[0... n] Path + filename of message file • Response Details (no data) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 170
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Ethernet Host Object (F9h), p. 209) (Reserved) (Reserved) MAC Address Array of UINT8 Device MAC address Interface Counters Array of Array containing MIB-II interface counters (rfc1213) UINT32 See table below for array indices. (Reserved) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 173
Frames received that exceed the maximum permitted frame size lMACRecieveErrors; Frames for which reception on an interface fails due to an internal MAC sublayer receive error SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Object Attributes (Instance #0) Name Access Data Type Value Name Array of CHAR “CIP Port Configuration” Revision UINT8 Number of instances UINT16 UINT16 Highest instance no. UINT16 Max. no. of instances 0008h SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 175
(e.g. DeviceNet). If not (as is the case with networks such as EtherNet/IP which uses a 4 byte IP address), the attribute shall not be supported. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Functional Safety Module Object (11h) Category Extended Object Description This object contains information provided by the Safety Module connected to the Anybus CompactCom module. Please consult the manual for the Safety Module used, for values of the attributes below. Supported Commands Object:...
Page 177
Output data Array of UINT8 Current value of the Safety Module output data, i.e. data FROM the network Note: This data is unsafe, since it is provided by the Anybus CompactCom module. Input data Array of UINT8 Current value of the Safety Module input data, i.e. data sent TO the network.
Page 178
Anybus Module Objects 176 (244) 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 179
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 180
(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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 181
Description This command can be issued by the application to get the complete safety output PDU sent by the PLC. The Anybus CompactCom 40 EtherNet/IP will respond with the complete safety PDU, that the application then has to interpret. •...
Page 182
The safety module rejected a message. Error code sent by safety module is found in MsgData[2] and MsgData[3]. Message response from the safety module has incorrect format (for example, wrong length). SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Enabled with JSON data encoding Struct Last will message Struct that configures the MQTT last will message. For a detailed configuration description see table below. Default: No last will message. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 185
Valid range: 0 - 256 Array of OCTET Message data of the last will message The length of the array must match the message length given by struct element 5 Max lengt: 256 octets. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 186
The dataset is supported by MQTT • MQTT is enabled in instance #1, attribute #1 • The Anybus CompactCom is connected to an MQTT broker on the network For details on how MQTT is used, see MQTT, p. • Command Details...
OPC UA Object (E3h) Category Extended Object Description This object implements OPC UA functionality for the host application. See also ... • OPC UA, p. 73 Supported Commands Object: Get_Attribute Instance: Get_Attribute Get_Enum_String SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 188
URI that identifies the software. Part of the BuildInfo structure in the Server object. Default value = “http://hms-networks.com/UA/Anybus/ CompactCom40/[networktype]/[softwareversion]” [networktype] = Abbreviation of network [softwareversion] = String representation of software version. Max length: 128. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Accuracy in 0.01% of reading 0: Unknown Current Power UINT16 The current power consumption in 0.01% of the Nominal Power Consumption consumption Nominal Current UINT32 The nominal power consumption in mW Consumption SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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 supported and a Safety Module is connected to the Anybus CompactCom module. Supported Commands...
Page 191
4 ms • 8 ms • 16 ms If another value is set in this attribute the Anybus will enter Exception state. Optional attribute; If not implemented the minimum cycle time for the chosen baud rate will be used: •...
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. SCM-1202–069 1.9 en-US...
Device Type UINT16 See also... UINT16 Product Code Identity Object (01h), p. 98 (CIP-object) Revision struct of: UINT8 Major UINT8 Minor Status UNIT16 UINT32 Serial Number Product Name Array of CHAR SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 194
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.
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...
All instance attributes shall be seen as required and must be implemented in the application. If the Anybus module detects that an attribute is missing during run time an appropriate network error is sent and the Discard Responses counter is increased in the Anybus Object instance attribute Error Counter.
Page 197
If the value is undefined the value 0.0 shall be used. Transition to “Power BOOL Indicates whether transition to “Power off” mode is supported or not. off” mode supported Not supported Supported SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 198
Not used for PROFINET. False Not available True Available (Value if attribute not implemented) Power Consumption UINT32 Indicates the power consumption of the device when in this state. Not used for PROFINET. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 199
Given the state of the device and the requested pause time it is currently not possible to enter any energy saving mode 0x12 Value too low The requested pause time is too short SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 200
If the application is unable to end the pause it shall return the error code in the table below. Description Error code 0x0D Invalid state Given the state of the device, it is currently not possible to end the pause SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 201
Given the state of the device and the requested pause time it is currently not possible to enter any energy saving mode 0x12 Value too low The requested pause time is too short SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Assembly Object (04h), p. 102 (CIP object) • Port Object (F4h), p. 120 (CIP object) • CIP Port Configuration Object (0Dh), p. 172 • 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 203
(CIP-object). number Disable Strict IO Match BOOL False If true, the module will accept Class1 connection requests that have sizes that’s less than or equal to the configured IO sizes. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 204
Valid object numbers are within the vendor specific ranges (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 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 205
Mapping Object. The arrays list the corresponding CIP instance numbers representing each assembly instance defined by the application. For more information, see • Using the Assembly Mapping Object (EBh), p. 18 • Anybus CompactCom 40 Software Design Guide, “Assembly Mapping Object (EBh)” SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 206
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 CompactCom 40 DeviceNet.
Page 207
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 configuration), this parameter points to the attribute that failed.
Page 208
Forward Open request, not for explicit set requests. • Connection Manager (06h), p. 105 (CIP object) • Message segmentation SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 209
Additional Status Array Additional status, if applicable Response Data MsgData[n+1... m] Actual response data See also.. • Port Object (F4h), p. 120 (CIP object) • CIP Port Configuration Object (0Dh), p. 172 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 210
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.
Enable/Disable FTP server (Not used if Transparent Ethernet is enabled.) BOOL Enable admin False Enable/Disable FTP admin mode mode (Disabled) (Not used if Transparent Ethernet is enabled.) UINT16 Network Status See below. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 212
Enables the option to reset the module from HICP. 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 (Gateway) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 213
EtherCAT ports. Link port 2 Current link status for port 2 Not used for EtherCAT 1 = Link sensed 0 = No link 5... 15 (reserved) (mask off and ignore) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 214
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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.
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...
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.
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) SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
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. D.3.2 Power Consumption TheAnybus CompactCom 40 EtherNet/IP is designed to fulfil the requirements of a Class B module.
The Anybus CompactCom 40 EtherNet/IP module is able to receive 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 Max.
220 (244) 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 223
.eds. EDS files can be built and modified using a text editor, but EZ-EDS provides a graphical user interface that brings attention to major fields. EZ-EDS also tests EDS SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
The Anybus EDS Generator tool automatically generates an EDS file by scanning a device using 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 225
Appendix F: Conformance Test Guide 223 (244) 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. The objects are described in the Anybus CompactCom 40 Software Design Guide and in the Anybus CompactCom 40 EtherNet/IP Network Guide.
Page 226
HMS Vendor ID (005Ah). EtherNet/IP Host Object (F8h) - Attribute #6 - Product Name The Product Name must match the Product Name field. Fig. 19 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 227
Fig. 22 Producing Instances will also impact the Connections of the Connection Manager object. Each of the connections must have the connection path modified to point to the correct instance(s). The SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 228
Enabling CIP Forwarding allows the host application to respond to all requests to both CIP objects 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 application.
Page 229
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 CompactCom EtherNet/IP Network Guide for a translation of CIP error codes to Anybus CompactCom error codes.
Page 230
Appendix F: Conformance Test Guide 228 (244) point for the connection path. For an explanation of the configuration path please see The CIP Networks Library Volume 1 Appendix C. Fig. 25 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 231
Assembly object as a Static Configuration, and should be listed in the connection paths in the Connection Manager. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 232
Assembly object as a Static Configuration, and should be listed in the connection paths in the Connection Manager. Fig. 27 SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 233
(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 Object should exists.
Page 234
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 235
Ethernet Host Object (F9h) - Attribute 13 - Port 2 State For Anybus CompactCom B40 and C40 applications port 2 may not be mounted if the application only has space for one ethernet port or for some other reason only need one ethernet port. If this attribute is set to inactive, the DLR object will automatically be disabled, hence the object must be removed from the list of supported objects in the STC file.
Page 236
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 237
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. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 238
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_Data services of the Assembly mapping host object in the application to pass Conformance testing. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 239
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. Devices 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.
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 241
THIS SOFTWARE IS PROVIDED BY THE AUTHOR “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 242
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 243
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 244
See the License for the specific language governing permissions and limitations under the License. For additional information about the PCG random number generation scheme, including its license and other licensing options, visit http://www.pcg-random.org *******************************************************************************- queue.h SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Page 245
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SCM-1202–069 1.9 en-US Anybus CompactCom 40 EtherNet/IP IIoT Network Guide...
Need help?
Do you have a question about the CompactCom 40 and is the answer not in the manual?
Questions and answers