Anybus AB6605, AB6675, ABCC40STK User guide

  • Hello! I've analyzed the provided document, a Network Guide for the HMS Networks Anybus CompactCom 40 PROFINET IRT Transparent Ethernet module. This guide provides insight into setting up the device, its PROFINET IRT and transparent Ethernet capabilities, and various features like modular configurations, SNMP agent, and network redundancy protocols. I'm ready to answer your questions about the module and its functionalities.
  • What is Transparent Ethernet in this context?
    What are Application Data Instances (ADIs)?
    What is PROFINET System Redundancy S2?
    What does the SNMP agent provide?
    What is Media Redundancy Protocol (MRP)?
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
NETWORK GUIDE
SCM-1202-021
Version 2.6
Publicaon date 2023-06-29
ENGLISH
Important User Informaon
Disclaimer
The informaon in this document is for informaonal purposes only. Please inform HMS Networks of any
inaccuracies or omissions found in this document. HMS Networks disclaims any responsibility or liability for
any errors that may appear in this document.
HMS Networks reserves the right to modify its products in line with its policy of connuous product
development. The informaon in this document shall therefore not be construed as a commitment on the
part of HMS Networks and is subject to change without noce. HMS Networks makes no commitment to
update or keep current the informaon in this document.
The data, examples and illustraons found in this document are included for illustrave purposes and
are only intended to help improve understanding of the funconality and handling of the product. In
view of the wide range of possible applicaons of the product, and because of the many variables and
requirements associated with any parcular implementaon, HMS Networks cannot assume responsibility
or liability for actual use based on the data, examples or illustraons included in this document nor for
any damages incurred during installaon of the product. Those responsible for the use of the product
must acquire sucient knowledge in order to ensure that the product is used correctly in their specic
applicaon and that the applicaon meets all performance and safety requirements including any applicable
laws, regulaons, codes and standards. Further, HMS Networks will under no circumstances assume liability
or responsibility for any problems that may arise as a result from the use of undocumented features or
funconal side eects found outside the documented scope of the product. The eects caused by any direct
or indirect use of such aspects of the product are undened and may include e.g. compability issues and
stability issues.
Copyright © 2023 HMS Networks
Contact Informaon
Postal address:
Box 4126
300 04 Halmstad, Sweden
Table of Contents
1. Preface .................................................................................................................................. 1
1.1. About this document ........................................................................................................ 1
1.2. Related Documents ........................................................................................................... 1
1.3. Document History ............................................................................................................ 2
1.4. Document Convenons ..................................................................................................... 2
1.5. Terminology .................................................................................................................... 3
1.6. Trademarks ..................................................................................................................... 3
2. About the Anybus CompactCom 40 PROFINET IRT ........................................................................ 4
2.1. General .......................................................................................................................... 4
2.2. Features ......................................................................................................................... 4
2.3. Transparent Ethernet ........................................................................................................ 4
3. Basic Operaon ....................................................................................................................... 6
3.1. General Informaon ......................................................................................................... 6
3.1.1. Soware Requirements .............................................................................................. 6
3.1.2. Electronic Data Sheet (GSD) ........................................................................................ 6
3.2. Network Identy .............................................................................................................. 9
3.3. Communicaon Sengs .................................................................................................... 9
3.4. Network Data Exchange .................................................................................................... 10
3.4.1. Applicaon Data Instances (ADIs) ................................................................................ 10
3.4.2. Process Data ........................................................................................................... 10
3.4.3. Caveats .................................................................................................................. 11
4. PROFINET Implementaon Details ............................................................................................ 12
4.1. General Informaon ........................................................................................................ 12
4.2. Applicaon Process Instances (API) ..................................................................................... 12
4.3. Applicaon Relaonships (AR) ........................................................................................... 13
4.4. PROFINET System Redundancy S2 ....................................................................................... 14
4.4.1. Acvang S2 System Redundancy in the GSD File ........................................................... 14
4.5. Real Idencaon (RI) ...................................................................................................... 15
4.5.1. General Informaon ................................................................................................. 15
4.5.2. Conguraon Mismatch ............................................................................................ 17
4.6. Diagnoscs ..................................................................................................................... 19
4.6.1. Standard Diagnoscs ................................................................................................ 19
4.6.2. Extended Diagnoscs ................................................................................................ 19
4.7. Idencaon & Maintenance (I&M) .................................................................................... 20
4.7.1. General Informaon ................................................................................................. 20
4.7.2. I&M Data Structures ................................................................................................. 21
4.8. Asset Management .......................................................................................................... 22
4.8.1. Acvang Asset Management in the GSD File ................................................................ 22
4.9. Fast Start Up ................................................................................................................... 23
4.9.1. General Informaon ................................................................................................. 23
4.9.2. How to Improve the FSU Time .................................................................................... 23
4.9.3. Fast Start Up Conguraon with TIA Portal ................................................................... 23
4.9.4. Fast Start Up Conguraon with STEP7 ........................................................................ 23
4.10. Address Conict Detecon (ACD) ...................................................................................... 24
4.11. PROFIenergy Prole ....................................................................................................... 25
4.11.1. Implementaon ..................................................................................................... 25
4.12. PROFIsafe ..................................................................................................................... 26
4.13. Factory Reset from Network ............................................................................................ 27
5. Modular Device ..................................................................................................................... 28
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6
5.1. General ......................................................................................................................... 28
5.2. Modular Device RI ........................................................................................................... 28
5.3. Remap ........................................................................................................................... 28
5.4. Safety Module ................................................................................................................ 29
5.5. Record Data ................................................................................................................... 29
5.6. Modular Device Example .................................................................................................. 29
5.6.1. Mapping Commands ................................................................................................ 29
5.6.2. List of All Module IDs: ............................................................................................... 29
5.6.3. Device Layout .......................................................................................................... 30
5.6.4. Example View in TIA Portal ........................................................................................ 30
5.7. Recommendaons ........................................................................................................... 31
5.7.1. I&M Data ............................................................................................................... 31
6. SNMP Agent .......................................................................................................................... 32
6.1. General ......................................................................................................................... 32
6.2. Community Strings .......................................................................................................... 32
6.3. Management Informaon (MIB) ......................................................................................... 32
6.4. MIB-II ............................................................................................................................ 32
6.4.1. System Group Variables ............................................................................................ 32
6.4.2. Interfaces Group Variables ......................................................................................... 33
7. Media Reduncancy Protocol (MRP) ........................................................................................... 34
7.1. General ......................................................................................................................... 34
7.2. GSDML Entries ................................................................................................................ 34
8. Transparent Ethernet .............................................................................................................. 35
8.1. General Informaon ........................................................................................................ 35
8.2. Enabling Transparent Ethernet ........................................................................................... 36
8.3. MAC Address Synchronizaon ............................................................................................ 36
8.4. IP Conguraon Synchronizaon ........................................................................................ 36
8.5. Roung Restricons ......................................................................................................... 36
8.5.1. EtherTypes ............................................................................................................. 36
8.5.2. Mulcast MAC Addresses .......................................................................................... 36
8.5.3. UDP/TCP Ports ......................................................................................................... 37
9. Firmware Upgrade .................................................................................................................. 38
10. Anybus Module Objects ......................................................................................................... 39
10.1. General Informaon ....................................................................................................... 39
10.2. Anybus Object (01h) ....................................................................................................... 40
10.2.1. Category ............................................................................................................... 40
10.2.2. Object Descripon .................................................................................................. 40
10.2.3. Supported Commands ............................................................................................ 40
10.2.4. Object Aributes (Instance #0) ................................................................................. 40
10.2.5. Instance Aributes (Instance #1) ............................................................................... 40
10.3. Diagnosc Object (02h) ................................................................................................... 41
10.3.1. Category ............................................................................................................... 41
10.3.2. Object Descripon .................................................................................................. 41
10.3.3. Supported Commands ............................................................................................ 41
10.3.4. Object Aributes (Instance #0) ................................................................................. 41
10.3.5. Instance Aributes (Instance #1) ............................................................................... 41
10.3.6. Details: Network Specic Data .................................................................................. 42
10.3.7. Object Error Codes ................................................................................................. 43
10.4. Network Object (03h) ..................................................................................................... 44
10.4.1. Category ............................................................................................................... 44
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6
10.4.2. Object Descripon .................................................................................................. 44
10.4.3. Supported Commands ............................................................................................ 44
10.4.4. Object Aributes (Instance #0) ................................................................................. 44
10.4.5. Instance Aributes (Instance #1) ............................................................................... 45
10.4.6. Command Details: Map_ADI_Write_Ext_Area ............................................................. 46
10.4.7. Command Details: Map_ADI_Read_Ext_Area .............................................................. 48
10.5. Network Conguraon Object (04h) .................................................................................. 49
10.5.1. Category ............................................................................................................... 49
10.5.2. Object Descripon .................................................................................................. 49
10.5.3. Supported Commands ............................................................................................ 49
10.5.4. Object Aributes (Instance #0) ................................................................................. 49
10.5.5. Instance Aributes (Instance #3, IP Address) ............................................................... 49
10.5.6. Instance Aributes (Instance #4, Subnet Mask) ............................................................ 50
10.5.7. Instance Aributes (Instance #5, Gateway Address) ...................................................... 50
10.5.8. Instance Aributes (Instance #6, DHCP Enable) ............................................................ 50
10.5.9. Instance Aributes (Instance #9, DNS1) ...................................................................... 51
10.5.10. Instance Aributes (Instance #10, DNS2) .................................................................. 52
10.5.11. Instance Aributes (Instance #11, Host name) ........................................................... 52
10.5.12. Instance Aributes (Instance #12, Domain name) ....................................................... 52
10.5.13. Instance Aributes (Instances #13 - #19) ................................................................... 52
10.5.14. Instance Aributes (Instance #20, Staon Name) ........................................................ 53
10.5.15. Instance Aributes (Instance #21, F-Address) ............................................................. 53
10.5.16. Mullingual Strings ............................................................................................... 54
10.5.17. Command Details: Reset ........................................................................................ 55
10.6. File System Interface Object (0Ah) .................................................................................... 55
10.6.1. Category ............................................................................................................... 55
10.6.2. Object Descripon .................................................................................................. 55
10.7. Network Ethernet Object (0Ch) ........................................................................................ 56
10.7.1. Category ............................................................................................................... 56
10.7.2. Object Descripon .................................................................................................. 56
10.7.3. Supported Commands ............................................................................................ 56
10.7.4. Object Aributes (Instance #0) ................................................................................. 56
10.7.5. Instance Aributes (Instances #1 - #3) ........................................................................ 57
10.7.6. Interface Counters .................................................................................................. 57
10.7.7. Media Counters ..................................................................................................... 58
10.8. Network PROFINET IO Object (0Eh) ................................................................................... 59
10.8.1. Category ............................................................................................................... 59
10.8.2. Object Descripon .................................................................................................. 59
10.8.3. Supported Commands ............................................................................................ 60
10.8.4. Object Aributes (Instance #0) ................................................................................. 60
10.8.5. Instance Aributes (Instance #1) ............................................................................... 61
10.8.6. Command Details: Plug_Module ............................................................................... 62
10.8.7. Command Details: Plug_Submodule .......................................................................... 63
10.8.8. Command Details: Plug_Submodule_Ext .................................................................... 65
10.8.9. Command Details: Pull_Module ................................................................................ 67
10.8.10. Command Details: Pull_Submodule ......................................................................... 68
10.8.11. Command Details: API_Add .................................................................................... 69
10.8.12. Command Details: Appl_State_Ready ....................................................................... 70
10.8.13. Command Details: AR_Abort .................................................................................. 70
10.8.14. Command Details: IM_Opons ............................................................................... 71
10.8.15. Command Details: Ident_Change_Done .................................................................... 73
10.8.16. Command Details: Add_Safety_Module .................................................................... 74
10.8.17. Object Specic Error Codes .................................................................................... 75
10.9. Funconal Safety Module Object (11h) .............................................................................. 76
10.9.1. Category ............................................................................................................... 76
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6
10.9.2. Object Descripon .................................................................................................. 76
10.9.3. Supported Commands ............................................................................................ 76
10.9.4. Object Aributes (Instance #0) ................................................................................. 76
10.9.5. Instance Aributes (Instance #1) ............................................................................... 77
10.9.6. Command Details: Error_Conrmaon ....................................................................... 79
10.9.7. Command Details: Set_IO_Cong_String .................................................................... 80
10.9.8. Command Details: Get_Safety_Output_PDU ............................................................... 81
10.9.9. Command Details: Get_Safety_Input_PDU .................................................................. 81
10.9.10. Object Specic Error Codes .................................................................................... 82
11. Host Applicaon Objects ........................................................................................................ 83
11.1. General Informaon ....................................................................................................... 83
11.2. Energy Measurement Object (E4h) .................................................................................... 84
11.2.1. Category ............................................................................................................... 84
11.2.2. Object Descripon .................................................................................................. 84
11.2.3. Supported Commands ............................................................................................ 84
11.2.4. Object Aributes (Instance #0) ................................................................................. 85
11.2.5. Instance Aributes (Instance #1 - #8) ......................................................................... 85
11.2.6. Command Details: Get_Aribute_Measurement_List ................................................... 94
11.3. Asset Management Object (E5h) ....................................................................................... 96
11.3.1. Category ............................................................................................................... 96
11.3.2. Object Descripon .................................................................................................. 96
11.3.3. Supported Commands ............................................................................................ 96
11.3.4. Object Aributes (Instance #0) ................................................................................. 96
11.3.5. Instance Aributes (Instance #1 - #32) ....................................................................... 96
11.3.6. AM_Locaon ......................................................................................................... 98
11.3.7. AM_DeviceIdencaon ......................................................................................... 99
11.4. Funconal Safety Object (E8h) ....................................................................................... 100
11.4.1. Category ............................................................................................................. 100
11.4.2. Object Descripon ................................................................................................ 100
11.4.3. Supported Commands .......................................................................................... 100
11.4.4. Object Aributes (Instance #0) ............................................................................... 100
11.4.5. Instance Aributes (Instance #1) ............................................................................. 101
11.5. Sync Object (EEh) ......................................................................................................... 102
11.5.1. Category ............................................................................................................. 102
11.5.2. Object Descripon ................................................................................................ 102
11.5.3. Supported Commands .......................................................................................... 102
11.5.4. Object Aributes (Instance #0) ............................................................................... 102
11.5.5. Anybus CompactCom Sync and PROFINET Isochronous Mode ....................................... 103
11.5.6. GSDML Entries ..................................................................................................... 104
11.5.7. Instance Aributes (Instance #1) ............................................................................. 105
11.6. Energy Control Object (F0h) ........................................................................................... 106
11.6.1. Category ............................................................................................................. 106
11.6.2. Object Descripon ................................................................................................ 106
11.6.3. Supported Commands .......................................................................................... 107
11.6.4. Object Aributes (Instance #0) ............................................................................... 107
11.6.5. Instance Aributes (Instance #1 - #8) ....................................................................... 108
11.7. PROFINET IO Object (F6h) .............................................................................................. 112
11.7.1. Category ............................................................................................................. 112
11.7.2. Object Descripon ................................................................................................ 112
11.7.3. Supported Commands .......................................................................................... 112
11.7.4. Object Aributes (Instance #0) ............................................................................... 112
11.7.5. Instance Aributes (Instance #1) ............................................................................. 113
11.7.6. Command Details: Get_Record ............................................................................... 116
11.7.7. Command Details: Set_Record ................................................................................ 118
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6
11.7.8. Command Details: AR_Check_Ind ............................................................................ 120
11.7.9. Command Details: Cfg_Mismatch_Ind ...................................................................... 123
11.7.10. Command Details: Expected_Ident_Ind .................................................................. 124
11.7.11. Command Details: End_Of_Prm_Ind ...................................................................... 127
11.7.12. Command Details: AR_Abort_Ind .......................................................................... 128
11.7.13. Command Details: Indicate_Device ........................................................................ 129
11.7.14. Command Details: Prm_Begin_Ind ......................................................................... 130
11.7.15. Details: Error Code 1 ........................................................................................... 131
11.8. Ethernet Host Object (F9h) ............................................................................................ 132
11.8.1. Object Descripon ................................................................................................ 132
11.8.2. Supported Commands .......................................................................................... 132
11.8.3. Object Aributes (Instance #0) ............................................................................... 132
11.8.4. Instance Aributes (Instance #1) ............................................................................. 132
11.8.5. Network Status .................................................................................................... 135
11.8.6. DHCP Opon 61 (Client Idener) ........................................................................... 135
Appendix A. Categorizaon of Funconality ................................................................................. 136
1. Basic .............................................................................................................................. 136
2. Extended ........................................................................................................................ 136
Appendix B. Anybus Implementaon Details ................................................................................ 137
1. SUP-Bit Denion ............................................................................................................ 137
2. Anybus State Machine ...................................................................................................... 137
3. Applicaon Status Register ................................................................................................ 137
4. Applicaon Watchdog Timeout Handling .............................................................................. 138
Appendix C. Flowcharts ............................................................................................................ 139
1. Flowchart — Record Data Access ........................................................................................ 139
2. Flowchart — I&M Record Data Handling ............................................................................... 140
3. Flowchart —Establishment of Real Idencaon (RI) .............................................................. 141
4. Flowcharts — Handling of Conguraon Mismatch ................................................................ 142
4.1. Default Conguraon Mismatch .................................................................................. 142
4.2. Custom Conguraon mismatch .................................................................................. 143
Appendix D. Secure HICP (Secure Host IP Conguraon Protocol) .................................................... 144
1. General .......................................................................................................................... 144
2. Operaon ....................................................................................................................... 144
Appendix E. Technical Specicaon ............................................................................................ 145
1. Front View ...................................................................................................................... 145
1.1. Front View (PROFINET IRT, Ethernet Connectors) ............................................................ 145
1.2. Front View (Fiber Opcs Connectors) ........................................................................... 145
1.3. Network Status LED .................................................................................................. 145
1.4. Module Status LED ................................................................................................... 146
1.5. LINK/Acvity LED ...................................................................................................... 146
1.6. Ethernet Interface (RJ45 connectors) ............................................................................ 146
2. Funconal Earth (FE) Requirements ..................................................................................... 146
3. Power Supply .................................................................................................................. 147
3.1. Supply Voltage ......................................................................................................... 147
3.2. Power Consumpon ................................................................................................. 147
4. Environmental Specicaon ............................................................................................... 147
5. EMC Compliance .............................................................................................................. 147
6. Fiber Opcs Compliance (MAU type Compliance) ................................................................... 147
Appendix F. AIDA LED Mode ...................................................................................................... 148
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6
1. How to Design for AIDA LED Mode ...................................................................................... 148
2. Anybus CompactCom AIDA LED Mode ................................................................................. 148
2.1. Front View .............................................................................................................. 148
2.2. Bus Failure LED ........................................................................................................ 149
2.3. System Failure LED .................................................................................................... 149
2.4. Port Link LED ........................................................................................................... 149
2.5. Port Acvity ............................................................................................................ 150
Appendix G. Conformance Test Guide ......................................................................................... 151
1. General .......................................................................................................................... 151
2. Reidenfying Your Product ................................................................................................ 152
2.1. Addional GSD File Informaon .................................................................................. 152
3. Factory Default Reset ........................................................................................................ 152
4. IP Address ...................................................................................................................... 153
5. Staon Name .................................................................................................................. 153
6. Documentaon Consideraons ........................................................................................... 153
7. Cercaon in Generic Anybus Mode .................................................................................. 154
8. Cercaon in Advanced Mode .......................................................................................... 155
9. Changes in GSD File for Conformance Class B ........................................................................ 156
10. SYNC Pin Measurements for Conformance Class C Test .......................................................... 156
Appendix H. Backward Compability .......................................................................................... 157
1. Inial Consideraons ........................................................................................................ 157
2. Hardware Compability .................................................................................................... 158
2.1. Module .................................................................................................................. 158
2.2. Chip ....................................................................................................................... 158
2.3. Brick ...................................................................................................................... 159
2.4. Host Applicaon Interface .......................................................................................... 160
3. General Soware ............................................................................................................. 162
3.1. Extended Memory Areas ........................................................................................... 162
3.2. Faster Ping-Pong Protocol .......................................................................................... 162
3.3. Requests from Anybus CompactCom to Host Applicaon During Startup ............................ 162
3.4. Anybus Object (01h) ................................................................................................. 162
3.5. Control Register CTRL_AUX-bit .................................................................................... 162
3.6. Status Register STAT_AUX-bit ...................................................................................... 163
3.7. Control Register CTRL_R-bit ........................................................................................ 163
3.8. Modicaons of Status Register, Process Data Read Area, and Message Data Read Area ........ 163
4. Network Specic — PROFINET ............................................................................................ 163
4.1. Network Object (03h) ................................................................................................ 164
4.2. PROFINET IO Object (F6h) .......................................................................................... 164
4.3. PROFINET Addional Diagnosc Object (0Fh) ................................................................. 165
4.4. Diagnosc Object (02h) ............................................................................................. 165
4.5. Network Conguraon Object (04h) ............................................................................ 166
4.6. Network PROFINET IO Object (0Eh) .............................................................................. 166
4.7. I&M4 ..................................................................................................................... 166
4.8. LED Indicaons ........................................................................................................ 167
4.9. SNMP MIB-II ............................................................................................................ 167
4.10. ADI Based Conguraon .......................................................................................... 168
4.11. Conguraon Mismatch ........................................................................................... 168
4.12. Media Redundancy Protocol (MRP) ............................................................................ 169
4.13. GSD File (PROFINET conguraon le used by engineering tool) ...................................... 170
Appendix I. License Informaon ................................................................................................. 172
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6
1. Preface
1.1. About this document
This document is intended to provide a good understanding of the funconality oered by the Anybus
CompactCom 40 PROFINET IRT. The document describes the features that are specic to Anybus CompactCom
40 PROFINET IRT. For general informaon regarding Anybus CompactCom, consult the Anybus CompactCom
design guides.
The reader of this document is expected to be familiar with high level soware design and communicaon
systems in general. The informaon in this network guide should normally be sucient to implement a design.
However if advanced PROFINET specic funconality is to be used, in-depth knowledge of PROFINET networking
internals and/or informaon from the ocial PROFINET specicaons may be required. In such cases, the
persons responsible for the implementaon of this product should either obtain the PROFINET specicaon to
gain sucient knowledge or limit their implementaon in such a way that this is not necessary.
For addional related documentaon and le downloads, please visit the support website at
www.anybus.com/support.
1.2. Related Documents
Document Author Document ID
Anybus CompactCom 40 Soware Design Guide HMS HMSI-216-125
Anybus CompactCom M40 Hardware Design Guide HMS HMSI-216-126
Anybus CompactCom B40 Design Guide HMS HMSI-27-230
Anybus CompactCom Host Applicaon Implementaon Guide HMS HMSI-27-334
Anybus CompactCom 40 PROFINET IRT Network Guide HMS SCM-1202-023
PROFINET IO specicaon Probus Internaonal
PROFIenergy Technical Specicaon Probus Internaonal
GSDML Technical Specicaon for PROFINET IO Probus Internaonal
Preface Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6 Page 1 of 177
1.3. Document History
Version Date Descripon
1.0 2016-10-28 First public release
1.1 2016-11-23 Modular Device
Minor Correcons
1.2 2017-01-18 Minor correcons
1.3 2017-03-15 PROFIenergy prole added
Asset management and I&M5 added
1.4 2017-04-10 Updated to PROFIenergy 2
Minor correcons
1.5 2017-07-11 Added appendix on backward compability
Added appendix on AIDA LED mode
1.6 2017-11-28 Minor correcons
1.7 2017-12-15 Updated Copyright Appendix
1.8 2018-06-18 SYNC funconality descripon updated
Minor correcons
2.2 2018-10-23 Minor updates
2.3 2019-06-10 Rebranding
Minor updates
2.4 2019-12-20 S2 redundancy
Minor updates
2.5 2021-09-02 Minor updates
2.6 2023-06-29 Document migrated to Paligo
Updated PROFINET IO Object
Minor updates
1.4. Document Convenons
Lists
Numbered lists indicate tasks that should be carried out in sequence:
1. First do this
2. Then do this
Bulleted lists are used for:
Tasks that can be carried out in any order
Itemized informaon
User Interacon Elements
User interacon elements (buons etc.) are indicated with bold text.
Program Code and Scripts
Program code and script examples
Cross-References and Links
Cross-reference within this document: Document Convenons (page 2)
External link (URL): www.anybus.com
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
Document History
Page 2 of 177 SCM-1202-021 Version 2.6
Safety Symbols
DANGER
Instrucons that must be followed to avoid an imminently hazardous situaon which, if not avoided,
will result in death or serious injury.
WARNING
Instrucons that must be followed to avoid a potenal hazardous situaon that, if not avoided, could
result in death or serious injury.
CAUTION
Instrucon that must be followed to avoid a potenal hazardous situaon that, if not avoided, could
result in minor or moderate injury.
IMPORTANT
Instrucon that must be followed to avoid a risk of reduced funconality and/or damage to the
equipment, or to avoid a network security risk.
Informaon Symbols
NOTE
Addional informaon which may facilitate installaon and/or operaon.
TIP
Helpful advice and suggesons.
1.5. Terminology
The terms “Anybus” or “module” refers to the Anybus CompactCom module.
The terms “host” or “host applicaon” refer to the device that hosts the Anybus.
Hexadecimal values are wrien in the format NNNNh or 0xNNNN, where NNNN is the hexadecimal value.
A byte always consists of 8 bits.
The terms “basic” and “extended” are used to classify objects, instances and aributes.
1.6. Trademarks
Anybus® is a registered trademark of HMS Industrial Networks.
All other trademarks are the property of their respecve holders.
Terminology Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6 Page 3 of 177
2. About the Anybus CompactCom 40 PROFINET IRT
2.1. General
The Anybus CompactCom 40 PROFINET IRT communicaon module provides instant PROFINET Real Time
connecvity via the patented Anybus CompactCom host interface. Any device that supports this standard can
take advantage of the features provided by the module, allowing seamless network integraon regardless of
network type.
IMPORTANT
This network guide covers the Transparent Ethernet version of the product. Transparent Ethernet
has to be enabled during setup, or the device will appear as an Anybus CompactCom 40 with
full IT funconality. The IT funconality is described in the network guide for the standard Anybus
CompactCom 40.
IT funconality is not available when Transparent Ethernet is enabled.
This product conforms to all aspects of the host interface for Acve modules dened in the Anybus CompactCom
Hardware- and Soware Design Guides, making it fully interchangeable with any other device following that
specicaon. Generally, no addional network related soware support is needed, however in order to take
advantage of advanced network specic funconality, a certain degree of dedicated soware support may be
necessary.
2.2. Features
Transparent Ethernet
Ethernet or bre opcs connectors
Up to 128 submodules in total
Up to 32767 ADIs
Generic and PROFINET specic diagnosc support
Complies with PROFINET IO Conformance class C
Supports up to 1440 bytes I/O data in each direcon, status bytes included.
Supports 250 μs cycle me
SNMP agent
Device identy customizaon
Modular Device Funconality
PROFIenergy prole supported
GSD le template provided by HMS
Supports PROFINET Fast Start Up
Supports Media Redundancy Protocol (MRP)
Supports S2 system redundancy
Supports PROFIsafe
2.3. Transparent Ethernet
Transparent Ethernet oers the possibility for a host applicaon, that includes an IT implementaon (web pages,
le system, a proprietary protocol etc.), to let the Anybus CompactCom handle an industrial Ethernet protocol (in
this case PROFINET), without the need for extra Ethernet ports.
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
About the Anybus CompactCom 40 PROFINET IRT
Page 4 of 177 SCM-1202-021 Version 2.6
Ethernet communicaon is routed straight to the host applicaon system using an RMII interface. The host
applicaon must include an Ethernet controller and a TCP/IP stack. PROFINET protocol messages will be routed
to the Anybus CompactCom internal soware. Please note that the Transparent Ethernet funconality has to be
enabled during startup by seng aribute #16 (instance #1) in the Anybus Object.
16–bit parallell mode can not be used, as specic host applicaon connector pins are reserved for transparent
Ethernet. Also TCP/UDP ports may be reserved, and can, in that case, not be used for the transparent Ethernet
communicaon.
See also ...
Transparent Ethernet (page 35)
Anybus CompactCom 40 Hardware Design Guide
Anybus Object (01h) (page 40)
Transparent Ethernet Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6 Page 5 of 177
3. Basic Operaon
3.1. General Informaon
3.1.1. Soware Requirements
Generally, no addional network support code needs to be wrien to support the Anybus CompactCom 40
PROFINET IRT, however due to the nature of the PROFINET networking system certain things must be taken into
account:
Up to 32767 ADIs can be represented on PROFINET.
ADI names, types and similar aributes cannot be accessed via PROFINET. They are however represented on
the network through the built in web server.
Up to 5 diagnosc instances can be created by the host applicaon. An addional 6th instance may be created
in event of a major fault.
For conformance reasons, the host applicaon must implement support for network reset types 00h (Power-
on) and 02h (Power-on + Factory Default) in the Applicaon Object (FFh).
PROFINET in itself does not impose any parcular ming demands when it comes to acyclic requests (i.e.
requests towards instances in the Applicaon Data Object), however it is generally recommended to process
and respond to such requests within a reasonable me period (exactly what this means in pracce depends on
the implementaon and the actual installaon).
The order in which ADIs are mapped to Process Data is signicant and must be replicated in the IO Controller
when seng up the network communicaon. In case of a conguraon mismatch, see Conguraon
Mismatch (page 17) for more informaon.
See also ...
Applicaon Data Instances (ADIs) (page 10)
Diagnosc Object, Anybus Module Objects (page 39)
Anybus CompactCom 40 Soware Design Guide, Applicaon Data Object (FEh)
3.1.2. Electronic Data Sheet (GSD)
On PROFINET, the characteriscs of a device is stored in an XML data le. This le, referred to as the “GSD”
le, is used by PROFINET engineering tools when seng up the network conguraon. HMS Industrial Networks
provides an example GSD le, which must be adapted by the user to suit the applicaon. To adapt the GSD le,
use the HMS PROFINET GSD Generator Tool which can be downloaded from www.anybus.com.
NOTE
A GSD checker tool and a GSD upgrade tool is available to PI members on the PI website.
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
Basic Operaon
Page 6 of 177 SCM-1202-021 Version 2.6
Seng Identy and Funcon Informaon
The GSD le must be adapted to your implementaon. First thing is the device identy.
In the GSD le there is a secon called “DeviceIdenty”. It looks like this.
<DeviceIdentity VendorID="0x010C" DeviceID="0x0010">
<InfoText TextId="T_ID_DEV_DESCRIPTION"/>
<VendorName Value="HMS Industrial Networks"/>
</DeviceIdentity>
The identy in the example represents HMS values.
Replace VendorID value 0x010C with the value which corresponds to your vendor name.
If you do not have a Vendor ID you can obtain this by contacng PI.
The VendorID must match what is congured for the PROFINET IO Object (0xF6) aribute #2 (Vendor ID).
Replace the DeviceID value 0x0010 with the value you have selected for this device.
The DeviceID must match what is congured for the PROFINET IO Object (0xF6) aribute #1 (Device ID). Please
note that if you change the Device ID you MUST also change the Vendor ID, as the Device ID is unique for the
Vendor ID.
Replace the VendorName value “HMS Industrial Networks” with name of your vendor.
Please note that the keyword VendorName is found not only here, but also at other places in the GSD le. Use
“Search”to nd all instances and replace them with the name of your vendor.
Specify the funcon of the device.
<DeviceFunction>
<Family MainFamily="General" ProductFamily="Anybus CompactCom 40
PIR"/>
</DeviceFunction>
The example GSD species a kind of “General” device as the usage of it is unclear.
Replace the MainFamily with the class that best describe the device. The following are the allowed values:
– General
– Drives
Switching Devices
– I/O
– Valves
– Controllers
– HMI
– Encoders
– NC/RC
– Gateway
– PLCs
Ident Systems
PA Proles
Network Components
– Sensors
Replace the ProductFamily value “Anybus CompactCom 40 PIR” with a string which describes your device.
In addion to the above, there are a few more places where identy related informaon is present in the GSD
le.
General Informaon Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6 Page 7 of 177
DNS_CompatibleName="CompactCom-40-PIR"
For the Device access point (DeviceAccessPointItem) there is a keyword which is called DNS_CompableName
that may be used by engineering tools to build the Staon Name. Locate this by using the search funcon.
Replace DNS_CompableName value with the default name of the device.
The order number of the device is set with the keyword “OrderNumber”.
<OrderNumber Value="CompactCom 40 PIR"/>
In many cases the value of the OrderNumber equals the Staon Type string, but it does not necessarily need to
be that way.
Replace the OrderNumber value “CompactCom 40 PIR” with the order number used for the device.
The OrderNumber must match what is congured for the PROFINET IO Object (0xF6) aribute #8 (IM Order
ID).
It is recommended to change the name of the DAP (keyword Name in the “ModuleInfo” secon of the DAP) to
something more descripve. The DAP name is oen visible in the PROFINET conguraon tool.
Replace the name “DAP” of the T_ID_DAP text ID with e.g. the name of the product type.
How to Enable Inial Record Data
During the establishment of an IO connecon between the IO device and the IO controller it is possible for the IO
controller to send inial record data. This inial record data is sent using the PROFINET IO service record write.
This service can be used at any me and will write data to a dened ADI. The inial record data is dened in the
GSD le, and is specied for a submodule of a module. By default, the Anybus CompactCom 40 module will not
make use of any inial record data, but that can be enabled if needed.
To enable this funconality, the GSD le needs to be modied as specied below. In this example, 2 bytes are
wrien to ADI 67 (ADI 67 corresponds to index 67) during startup of a PROFINET IO connecon (the value can be
congured by the end user):
<RecordDataList>
<ParameterRecordDataItem Index="67" Length="2" TransferSequence="0">
<Name TextId="T_ID_EXAMPLE2"/>
<Ref DataType="Unsigned16" ByteOffset="0" DefaultValue=”0”
AllowedValues="0..65535" TextId="T_ID_EXAMPLE2_PRM_1"/>
</ParameterRecordDataItem>
</RecordDataList>
It is recommended that the above GSD informaon is placed directly aer the “</IOData>” keyword for the
module for which the data is associated.
If more than one ADI need to be set, the keyword “ParameterRecordDataItem” is duplicated.
Please note that TextId’s (“T_ID_xxx” above) need to be added to the “<ExternalTextList>” secon of the GSD le
(once for each language dened).
<Text TextId="T_ID_EXAMPLE2" Value="Config parameter 1"/>
<Text TextId="T_ID_EXAMPLE2_PRM_1" Value="Parameter value description"/>
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
General Informaon
Page 8 of 177 SCM-1202-021 Version 2.6
3.2. Network Identy
By default, the module idenes itself as a generic Anybus implementaon as follows:
Device ID 0010h (Anybus CompactCom 40 PROFINET)
Vendor ID 010Ch (HMS Industrial Networks)
Staon Type The Staon Type will be assigned a value according to this priority:
If the PROFINET IO Object (F6h) is implemented, the value equals that of aribute #3 in instance #1.
If the PROFINET IO Object is not implemented, the value of aribute #9 (Product name) in the
Applicaon Object (FFh), instance #1, will be used (if implemented).
If none of these aributes are implemented, the value equals Anybus CompactCom default value
(“CompactCom 40 PIR”).
It is recommended to customize the identy informaon so that the Anybus module appears as a vendor specic
implementaon rather than a generic Anybus product.
See also...
Idencaon & Maintenance (I&M) (page 20)
PROFINET IO Object (F6h) (page 112)
Applicaon Object (FFh) in Anybus CompactCom Soware Design Guide
3.3. Communicaon Sengs
Network related communicaon sengs are grouped in the Network Conguraon Object (04h), and includes:
Ethernet Interface Sengs The module is locked to 100 Mbit full duplex operaon as required by PROFINET.
IP Sengs These sengs must be set in order for the module to be able to parcipate on the network.
Normally set by the IO Controller.
IP sengs must be synchronized between the Anybus CompactCom 40 and the host applicaon.
PROFINET Staon Name The module needs to be assigned a Staon Name in order to parcipate on PROFINET.
Normally set from the network.
See also...
Idencaon & Maintenance (I&M) (page 20)
Network Conguraon Object (04h) (page 49)
Secure HICP (Secure Host IP Conguraon Protocol) (page 144)
Network Identy Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6 Page 9 of 177
3.4. Network Data Exchange
3.4.1. Applicaon Data Instances (ADIs)
ADIs can be accessed acyclically from the network by means of Record Data read/write services. If addressed
through a given API and Index range, the module translates the service into standard object requests towards
the Applicaon Data Object. If the host applicaon responds with an error to such a request, that error will be
translated to PROFINET standard.
The following parameters aect the addressing of ADIs on PROFINET:
Applicaon Process Instance (API) API 0 (zero) provides access to data in the Applicaon Data Object, i.e. the ADIs. Acyclic requests
towards other APIs will be forwarded to the PROFINET IO Object (F6h) (page 112) by means of the
‘Get_Record’ and ‘Set_Record’-commands.
The remainder of this secon assumes API 0 (zero).
Slot & subslot The Slot and subslot values have no impact on the actual addressing of ADIs, except that the actual
Slot and subslot needs to be populated with a module/submodule. This is always true for the DAP
(Device Access Point), which occupies Slot #0/subslot #1. Other Slot/subslot values can also be used
provided that the implementaon populates it with a module/submodule.
Index There is a 1:1 correlaon between ADI and index as long as the index number is less than - or equal to
- 7FFFh. Index 0 (zero) is not associated with an ADI and cannot be used.
API Slot Subslot Index ADI Comments
0 0 1 0000h - (not associated with ADIs)
0001h 1 Device Access Point (DAP)
0002h 2
... ...
7FFFh 32767
8000h...FFFFh - (not associated with ADIs)
X (>0) Y 0000h
0001h 1 Condional; X and Y must be populated
0002h 2
... ...
7FFFh 32767
8000h...FFFFh - (not associated with ADIs)
>0 - - - - See Applicaon Process Instances (API) (page 12)
See also...
Caveats (page 11)
Applicaon Process Instances (API) (page 12)
PROFINET IO Object (F6h) (page 112)
3.4.2. Process Data
Mapping an ADI to Write Process Data results in PROFINET input data, and mapping an ADI to Read Process Data
results in PROFINET output data. Consistency over all I/O data mapped on PROFINET is guaranteed.
See also...
Real Idencaon (RI) (page 15)
IMPORTANT
The order in which ADIs are mapped to Process Data is signicant and must be replicated in the IO
Controller when seng up the network communicaon.
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
Network Data Exchange
Page 10 of 177 SCM-1202-021 Version 2.6
3.4.3. Caveats
The length parameter in the Record Data request species the number of bytes to read/write.
When reading more data than the actual size of the ADI, the response will only contain the actual ADI data, i.e.
no padding on the data is performed by the module.
When wring to an ADI, the length parameter is not checked by the module, i.e. the host applicaon must
respond with an error if the length diers from the actual size of the requested ADI.
See also..
Applicaon Process Instances (API) (page 12)
Network Data Exchange Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
SCM-1202-021 Version 2.6 Page 11 of 177
4. PROFINET Implementaon Details
4.1. General Informaon
This chapter covers PROFINET specic details in the Anybus implementaon. Note that the use of such
funconality may require in-depth knowledge in PROFINET networking internals and/or informaon from the
ocial PROFINET specicaon. In such cases, the people responsible for the implementaon of this product are
expected either to obtain these specicaons to gain sucient knowledge or limit their implementaon in such a
way that this is not necessary. The GSD le must be changed to reect all changes.
Implementaon overview:
Conformance Class The Anybus module complies to conformance class C
Performance Characteriscs 100 Mbps, full duplex with autonegoaon enabled as default
Real Time (RT) communicaon, 250 μs cycle me
Isochronous Real Time (IRT) communicaon, 250 μs cycle me
Device Model One IO Device instance
The IO Device instance includes an Applicaon Process referenced by its idener (API). API 0 (zero)
is implemented by default
The API implements one or more slots
Each Slot implements one or more subslots
Each subslot may implement one or more Channels
Slots & Subslots Up to 128 subslots in total
IO Data 1440 bytes of IO data in each direcon, including status bytes (4 bytes for DAP submodules + 1 byte
per addional submodule)
See also...
Electronic Data Sheet (GSD) (page 6)
4.2. Applicaon Process Instances (API)
As menoned previously, acyclic requests towards API 0 are forwarded to the Applicaon Data Object.
Cyclic data exchange is by default carried out through API 0 (i.e. the Anybus associates modules and submodules
with API 0).
See also...
Applicaon Data Instances (ADIs) (page 10)
Anybus® CompactCom 40 - PROFINET IRT Transparent
Ethernet
PROFINET Implementaon Details
Page 12 of 177 SCM-1202-021 Version 2.6
/