Anybus CompactCom B40 Network Manual

Modbus serial ethernet/ip
Hide thumbs Also See for CompactCom B40:

Advertisement

Quick Links

Anybus
®
CompactCom
B40 Modbus Serial
EtherNet/IP
NETWORK GUIDE
SCM-1202-131 1.1 en-US ENGLISH

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Anybus CompactCom B40

  • Page 1 Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP NETWORK GUIDE SCM-1202-131 1.1 en-US ENGLISH...
  • 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-131 1.1 en-US Anybus ® CompactCom ™...
  • Page 3: Table Of Contents

    About this Document......................3 Document History ......................3 Document Conventions .....................3 Document Specific Conventions..................4 Trademark Information .....................4 About the Anybus CompactCom B40 Modbus Serial - EtherNet/IP ........ 5 General Information ......................5 Features (EtherNet/IP) ......................6 Overview ........................6 Basic Operation ........................7 Electronic Data Sheet (EDS)....................7 Network Identity......................7...
  • Page 4 LINK/Activity LEDs ......................41 Conformance Test Guide ....................42 General ........................42 Suggested Test Tools ...................... 42 Statement of Conformance (STC) ..................44 Copyright Notices ......................47 SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 5: Preface

    The reader of this document is expected to be familiar with high level software design and communication systems in general. The information in this network guide, along with the Anybus CompactCom B40 Modbus Serial user manual should normally be sufficient to implement a design.
  • Page 6: 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 hexadecimal value.
  • Page 7: About The Anybus Compactcom B40 Modbus Serial - Ethernet/Ip

    Typical applications are basic level I/O blocks, temperature controllers, measuring devices, and sensors. The Anybus CompactCom B40 Modbus Serial - EtherNet/IP software interface is designed to be network protocol independent, making it possible to support several networking systems using the same application software code/driver.
  • Page 8: Features (Ethernet/Ip)

    Contact HMS Industrial Networks for further information. Overview The picture below shows the data flow in the Anybus CompactCom B40 Modbus Serial - EtherNet/IP. The application sets up the Modbus RTU communication, and the Anybus CompactCom maps the process data to the industrial network/fieldbus.
  • Page 9: Basic Operation

    Product Code: 0037h (Anybus CompactCom 40 EtherNet/IP) Product Name: “CompactCom 40 EtherNet/IP(TM)” Optionally, it is possible to customize the identity of the module by using the Anybus Custom Modbus function code 70. See also... • Identity Object (01h), p. 17 (CIP object) •...
  • Page 10: Anybus Custom Modbus Function Code 70

    8 (54) Anybus Custom Modbus Function Code 70 This command can be used to send an Anybus CompactCom message to change identity and to configure the Anybus CompactCom B40 Modbus Serial - EtherNet/IP. The request and respond formats of the telegram are described in the Anybus CompactCom B40 Modbus Serial User Manual.
  • Page 11: Communication Settings

    The IP address can also be configured using the IPConfig tool that is available for download at the product page at www.anybus.com/support. When the application is started, the network is automatically scanned for Anybus products. The network can be rescanned at any time by clicking Scan.
  • Page 12: Network Data Exchange

    3.6.3 File System Overview Anybus CompactCom B40 Modbus Serial - EtherNet/IP has an in-built file system that can be accessed from the network. Three directories are predefined: The virtual file system that e.g. holds the web pages of the module.
  • Page 13 The following operations will erase one or more flash segments: • Deleting, moving or renaming a file or directory • Writing or appending data to an existing file • Formatting the file system SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 14: Ftp Server

    – Substitute <address> with the IP address of the Anybus module 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.
  • Page 15: Web Server

    The web interfaces are stored in the file system, which can be accessed through the FTP server. If necessary, the web server can be completely disabled using Modbus Function Code 70, see Anybus Custom Modbus Function Code 70, p. See also...
  • Page 16 Received non unicast packets (broadcast and multicast) In Discards: Received packets discarded due to no available memory buffers In Errors: Received packets discarded due to reception error SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 17 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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 18: Cip Objects

    Ethernet Link Object (F6h), p. 35 Optional Objects: • Parameter Object (0Fh), p. 26 • DLR Object (47h), p. 28 Vendor Specific Objects: • ADI Object (A2h), p. 30 SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 19: Identity Object (01H)

    Identity Object (01h) Object Description The Identity Object provides identification of and general information about the module. Instance attributes 1, 3, 4, 6 and 7 can be customized by implementing the Anybus Modbus command function code 70. Supported Services Class:...
  • Page 20: Device Status

    Type 1: Out of box reset This service sets a “out of box”configuration and performs a reset, refer to Modbus register 0x0FFF for actions needed to be taken by the application. SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 21: 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 22: Assembly Object (04H)

    Forward_Open request should be 0 bytes, however other values are also permitted. Name Access Type Value/Description Data - (The data size of this attribute is zero) Size UINT 0 (Number of bytes in attribute 3) SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 23 This instance is used as heartbeat for input-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 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 24: Connection Manager (06H)

    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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 25 Point-to-point, Null Supported trigger types: Cyclic, CoS (Change of State) Supported priorities: Low, High, Scheduled, Urgent Target, in this case the module Origin, in this case the master SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 26 Assembly Object, instance 64h • 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:...
  • Page 27 No. of simultaneous Class 3 connections: 6 100... 10000 ms Supported RPI (Requested Packet Interval): Point-to-point T→O Connection type: Point-to-point O→-T Connection type: Supported trigger type: Application Supported connection size: 1526 bytes SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 28: Parameter Object (0Fh)

    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 29 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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 30: Dlr Object (47H)

    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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 31: 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 USINT DSCP Explicit CIP UCMM and CIP class 3 Default: 27 SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 32: Adi Object (A2H)

    CIP Objects 30 (54) ADI Object (A2h) Object Description Anybus representation of process data mapped parameters. See also .. • Parameter Object (0Fh), p. 26 (CIP Object) Supported Services Class: Get_Attribute_Single Instance: Get_Attribute_Single Set_Attribute_Single Class Attributes Name Access Type Value...
  • Page 33 The minimum permitted parameter value. Default Value The default parameter value. Number of Array of UINT Always 0 subelements Attributes #5–8 are converted to/from CIP standard by the module SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 34: Tcp/Ip Interface Object (F5H)

    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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 35 Primary DNS UDINT (DNS1) UDINT (DNS2) Secondary DNS STRING Default domain (Domain) Host Name STRING Get/Set Host name of Anybus module TTL Value USINT Get/Set TTL value for EtherNet/IP multicast packets SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 36 Copy of the raw ARP PDU in which a conflict was USINT detected. UINT 0 - 3600 Encapsulation Number of seconds of inactivity before a TCP connection is inactivity closed. timeout 0: Disabled SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 37: Ethernet Link Object (F6H)

    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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 38 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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 39 Array of Struct of: - Speed/duplex array UINT Interface speed USINT Interface Duplex Mode 0 = half duplex 1 = full duplex 2 - 255 = Reserved SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 40 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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 41 (#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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 42 This page intentionally left blank...
  • Page 43: Aled Indications

    Appendix A: LED Indications 41 (54) LED Indications See Anybus CompactCom B40 Modbus Serial User Manual for more information. Network Status LED LED State Description No power or no IP address Green Online, one or more connections established (CIP Class 1 or 3)
  • Page 44: B Conformance Test Guide

    42 (54) Conformance Test Guide General When using the default settings of all parameters, the Anybus CompactCom B40 Modbus Serial - EtherNet/IP is precertified for network compliance. This precertification is done to ensure that the end product can be certified.
  • Page 45 .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-131 1.1 en-US Anybus ® CompactCom ™...
  • Page 46: Statement Of Conformance (Stc)

    The goal of this section is to explain the relation of the contents in the data filed of the Anybus Modbus command FC70 to the conformance test and the Statement of Conformance (STC).
  • Page 47 B.3.1 Implementation Using the Anybus Custom Modbus Function Code 70 The implementation may have to be adapted, to make sure that the end product will pass a conformance test. Using the CT Software, follow the instructions below.
  • Page 48 The Product Name must match the Product Name field. Fig. 8 MAC Address The MAC address should be listed in the Statement of Conformance. This can be done in the Physical Data section. Fig. 9 SCM-1202-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 49: C Copyright Notices

    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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 50 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-131 1.1 en-US Anybus ® CompactCom ™...
  • Page 51 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-131 1.1 en-US Anybus ® CompactCom ™...
  • Page 52 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-131 1.1 en-US Anybus ® CompactCom ™...
  • Page 53 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 54 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-131 1.1 en-US Anybus ® CompactCom ™ B40 Modbus Serial EtherNet/IP Network Guide...
  • Page 55 This page intentionally left blank...
  • Page 56 last page © 2019 HMS Industrial Networks Box 4126 300 04 Halmstad, Sweden info@hms.se SCM-1202-131 1.1 en-US / 2019-05-16 / 13281...

Table of Contents