Page 2
Important User Information Disclaimer The information in this document is for informational purposes only. Please inform HMS Industrial Networks of any inaccuracies or omissions found in this document. HMS Industrial Networks disclaims any responsibility or liability for any errors that may appear in this document. HMS Industrial Networks reserves the right to modify its products in line with its policy of continuous product development.
Page 3
About this Document......................3 Document History ......................3 Document Conventions .....................3 Document Specific Conventions..................4 Trademark Information .....................4 About the Anybus CompactCom B40 Modbus Serial - PROFINET IRT ......5 General Information ......................5 Features (PROFINET IRT) ....................6 Overview ........................6 Basic Operation ........................7 GSDML...........................7...
Page 4
Conformance Test Guide ....................21 General ........................21 Additional GSDML File Information ................... 21 Documentation Considerations..................22 Changes in GSDML File for Conformance Class B..............22 SYNC Pin Measurements for Conformance Class C Test............22 ® ™ SCM-1202-138 1.1 en-US Anybus CompactCom B40 Modbus Serial PROFINET IRT Network Guide...
Page 5
About this Document This document is intended to provide a good understanding of the functionality offered by the Anybus CompactCom B40 Modbus Serial - PROFINET IRT. The reader of this document is expected to be familiar with high level software design and communication systems in general.
Page 6
Preface 4 (24) Instruction that must be followed to avoid a risk of reduced functionality and/or damage to the equipment, or to avoid a network security risk. Additional information which may facilitate installation and/or operation. Document Specific Conventions • The terms “Anybus” or “module” refers to the Anybus CompactCom module. •...
Page 7
Typical applications are basic level I/O blocks, temperature controllers, measuring devices, and sensors. The Anybus CompactCom B40 Modbus Serial - PROFINET IRT 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
Contact HMS Industrial Networks for further information. Overview The picture below shows the data flow in the Anybus CompactCom B40 Modbus Serial - PROFINET IRT. 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 7 (24) Basic Operation GSDML On PROFINET IRT, the characteristics of a device are stored in an XML formatted configuration file with the suffix XML. This file is used by configuration tools etc. when setting up the network configuration.
Page 10
Basic Operation 8 (24) Startup and Identity Customization To customize the identity of the Anybus CompactCom (e.g. Vendor ID, Device ID, etc.), Virtual Attributes are used. The most common customizations will be described here. For more detailed information, see the related documents listed in the beginning of this document.
Page 11
Basic Operation 9 (24) To set the virtual attributes in the Anybus CompactCom to these values, using the Modbus function 70, create the request below: The attribute data is sent in little-endian format. Modbus function 70 Request Note Value 0xXX Modbus Address 0x46 FC70...
Page 12
Basic Operation 10 (24) 3.3.2 Virtual Attributes with Anybus Virtual Attributes Manager Start the Anybus Virtual Attributes Manager Enter the virtual attributes data for the attributes needed. The example below is setting up the attributes with the following values: Virtual Attribute Example Value Device ID: 0x0010...
Page 13
Basic Operation 11 (24) Select Module->Download and select the correct Transport Path to your USB board. The virtual attributes will be programmed and saved in non-volatile memory. ® ™ SCM-1202-138 1.1 en-US Anybus CompactCom B40 Modbus Serial PROFINET IRT Network Guide...
Page 14
Basic Operation 12 (24) Communication Settings IP address communication settings are configured by the “Application switch 1” register. An application may select to write the value from a physical DIP switch, rotary switch or similar, to this register or it can assign it by other means. “Application switch 2”...
Page 15
Basic Operation 13 (24) Network Data Exchange 3.5.1 Process Data Content Modbus Register PROFINET Information 0x5100 Data Type 0x0004: UINT8 (Default) 0x0005: UINT16 0x5102 No of Write Max 1400 bytes Parameters 0x5103 No of Read Max 1400 bytes Parameters 0x0000 – Write Process Data Parameters are packed in PROFINET slots.
Page 16
FTP Server 14 (24) FTP Server The built-in FTP-server makes it easy to manage the file system using a standard FTP client. It can be disabled using Modbus Function Code 70, see Startup and Identity Customization, p. If the FTP server is disabled, it is not possible to update the firmware from the network. If firmware updates from the network are desired, a method to re-enable the FTP server must be implemented.
Page 17
Web Server 15 (24) Web Server General Information The built-in web server provides a flexible environment for end-user interaction and configuration purposes. 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 Startup and Identity Customization, p.
Page 18
Web Server 16 (24) 5.2.1 Network Configuration The network configuration page provides interfaces for changing TCP/IP settings. Fig. 3 The module needs to be reset for the TCP/IP settings to take effect. The Ethernet Configuration settings will take effect immediately. IP Configuration The module needs a reset for any changes to take effect.
Page 19
Web Server 17 (24) Description Name Max 64 characters Domain name IP address or name Max 48 characters DNS 1 Primary and secondary DNS server, used to resolve host name Default values: 0.0.0.0 Value ranges: 0.0.0.0 - 255.255.255.255 DNS 2 Ethernet Configuration Changes will take effect immediately.
Page 20
Web Server 18 (24) Description Media Counters Carrier Sense Errors Times that the carrier sense condition was lost or never asserted when attempted to transmit a frame. 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.
Page 21
Appendix A: LED Indications 19 (24) LED Indications See Anybus CompactCom B40 Modbus Serial User Manual for more information. Network Status LED LED State Description Comments Offline • No power • No connection with IO Controller Green Online (RUN) •...
Page 22
Secure HICP (Secure Host IP Configuration Protocol) General The Anybus CompactCom B40 Modbus Serial - PROFINET IRT supports the Secure HICP protocol used by the Anybus 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.
Page 23
21 (24) Conformance Test Guide General When using the default settings of all parameters, the Anybus CompactCom B40 Modbus Serial - PROFINET IRT is precertified for network compliance. This precertification is done to ensure that the end product can be certified.
Page 24
Appendix C: Conformance Test Guide 22 (24) Documentation Considerations To obtain a certificate, the following information must be present in the customer's user manual: Behavior of the outputs if IOPS=BAD. Behavior of the outputs if connection is aborted. Behavior of the outputs at power on. The Anybus CompactCom handles these situations in the following ways: State change to IDLE.
Need help?
Do you have a question about the Anybus CompactCom B40 Modbus Serial and is the answer not in the manual?
Questions and answers