没有合适的资源?快使用搜索试试~ 我知道了~
profinet IO 协议,英文版 323页
需积分: 0 19 下载量 39 浏览量
2022-12-26
19:25:55
上传
评论 2
收藏 2.63MB PDF 举报
温馨提示
试读
323页
全文详细描述了IO协议
资源推荐
资源详情
资源评论
Protocol API
PROFINET IO-Device
V4.6.0 / V5.4.0
Hilscher Gesellschaft für Systemautomation mbH
www.hilscher.com
DOC171101API06EN | Revision 6 | English | 2021-11 | Released | Public
Introduction 2/323
PROFINET IO-Device V4.6.0 / V5.4.0 | Protocol API
DOC171101API06EN | Revision 6 | English | 2021-11 | Released | Public © Hilscher, 2006‑2021
Table of contents
1 Introduction ............................................................................................................................................. 7
1.1 About this document ...................................................................................................................... 7
1.2 List of revisions .............................................................................................................................. 7
1.3 Functional overview ....................................................................................................................... 8
1.4 System requirements ..................................................................................................................... 8
1.4.1 System requirements for firmware generation V4 ............................................................................. 8
1.4.2 System requirements for firmware generation V5 ............................................................................. 8
1.5 Target group ................................................................................................................................... 8
1.6 Specification ................................................................................................................................... 9
1.6.1 Technical data ................................................................................................................................... 9
1.6.2 Limitations ....................................................................................................................................... 12
1.7 References to documents ............................................................................................................ 13
2 Getting started ...................................................................................................................................... 14
2.1 Configuration methods ................................................................................................................. 14
2.2 Input and output data conventions ............................................................................................... 14
2.3 Identity parameters (e.g. SerialNumber) ...................................................................................... 14
2.4 Overview of loadable firmware ..................................................................................................... 15
3 Exchanging cyclic data ........................................................................................................................ 16
3.1 General concepts ......................................................................................................................... 16
3.2 Behavior regarding I/O data and IOPS ........................................................................................ 17
4 Stack features ....................................................................................................................................... 19
4.1 Structure of the PROFINET IO-Device firmware ......................................................................... 19
4.2 Configuration ................................................................................................................................ 20
4.2.1 Sequence of configuration evaluation ............................................................................................. 20
4.2.2 Configuration lock ............................................................................................................................ 20
4.2.3 Setting Parameters by means of DCP ............................................................................................. 20
4.3 Ethernet MAC addresses ............................................................................................................. 21
4.4 Identification & Maintenance 5 (I&M5) ......................................................................................... 22
4.4.1 API for the use of I&M5 ................................................................................................................... 22
4.4.2 Usage of OEM Vendor ID and OEM Device ID ............................................................................... 23
4.5 Device data .................................................................................................................................. 24
4.6 Status information ........................................................................................................................ 25
4.6.1 Communication state ....................................................................................................................... 25
4.7 Event mechanism ......................................................................................................................... 25
4.8 Multiple ARs ................................................................................................................................. 26
4.8.1 Ownership ....................................................................................................................................... 26
4.8.2 Possibilities and Limitations for the Feature Shared Device ............................................................ 27
4.9 Asset Management ...................................................................................................................... 28
4.10 PROFIenergy ASE ....................................................................................................................... 29
4.11 System Redundancy .................................................................................................................... 30
4.11.1 System Redundancy service ........................................................................................................... 31
4.11.2 Application interface ........................................................................................................................ 32
4.11.3 Switchover sequence ...................................................................................................................... 33
4.11.4 Redundancy data hold time (RDHT) ............................................................................................... 37
4.12 Dynamic Reconfiguration ............................................................................................................. 39
4.13 Synchronization signal ................................................................................................................. 47
4.14 Isochronous application ............................................................................................................... 47
4.14.1 Overview ......................................................................................................................................... 47
4.14.2 Isochrounous model ........................................................................................................................ 47
4.14.3 GSDML related parameters ............................................................................................................. 48
4.14.4 Isochronous mode data ................................................................................................................... 50
4.14.5 Isochronous Process ....................................................................................................................... 51
4.14.5.1 Output Process ............................................................................................................... 52
4.14.5.2 Input Process .................................................................................................................. 53
4.14.6 netX Synchronization....................................................................................................................... 54
4.14.6.1 Hardware-assisted synchronization ................................................................................ 54
4.14.6.2 Software-assisted synchronization ................................................................................. 57
5 Requirements to the application ......................................................................................................... 58
5.1 What the application always has to do ......................................................................................... 58
5.2 Device handle .............................................................................................................................. 58
Introduction 3/323
PROFINET IO-Device V4.6.0 / V5.4.0 | Protocol API
DOC171101API06EN | Revision 6 | English | 2021-11 | Released | Public © Hilscher, 2006‑2021
5.3 Handling I/O data ......................................................................................................................... 59
5.4 Remanent data handling .............................................................................................................. 60
5.4.1 Remanent data ................................................................................................................................ 60
5.4.1.1 Stack stores remanent data ............................................................................................ 60
5.4.1.2 Application stores remanent data ................................................................................... 61
5.4.2 Parameters ‘Name of Station’ and ‘IP Address Parameters’ ........................................................... 62
5.5 Isochronous Application ............................................................................................................... 62
6 Application interface ............................................................................................................................ 63
6.1 Configuring the IO-Device stack .................................................................................................. 63
6.1.1 Service overview ............................................................................................................................. 63
6.1.2 Cyclic process data image ............................................................................................................... 64
6.1.3 Configuration of process data images ............................................................................................. 65
6.1.4 Configuration of the submodules ..................................................................................................... 67
6.1.5 Configuring the PROFINET IO-Device stack ................................................................................... 67
6.1.5.1 Remark on Reconfiguration ............................................................................................ 68
6.1.6 Set Configuration service ................................................................................................................ 69
6.1.6.1 Set Configuration request ............................................................................................... 70
6.1.6.2 Set Configuration confirmation ....................................................................................... 79
6.1.6.3 Behavior when receiving a Set Configuration Command ............................................... 79
6.1.7 Register Application service ............................................................................................................ 80
6.1.7.1 Register Application for selective indications only .......................................................... 81
6.1.8 Unregister Application service ......................................................................................................... 82
6.1.9 Set OEM Parameters service .......................................................................................................... 82
6.1.9.1 Set OEM Parameters request ......................................................................................... 85
6.1.9.2 OEM parameter: type 1 .................................................................................................. 89
6.1.9.3 OEM parameter: type 2 .................................................................................................. 89
6.1.9.4 OEM parameter: type 3 .................................................................................................. 89
6.1.9.5 OEM parameter: type 4 .................................................................................................. 89
6.1.9.6 OEM parameter: type 5 .................................................................................................. 90
6.1.9.7 OEM parameter: type 6 .................................................................................................. 91
6.1.9.8 OEM parameter: type 7 .................................................................................................. 91
6.1.9.9 OEM parameter: type 8 .................................................................................................. 92
6.1.9.10 OEM parameter: type 9 .................................................................................................. 92
6.1.9.11 OEM parameter: type 10 ................................................................................................ 93
6.1.9.12 OEM parameter: type 11 ................................................................................................ 93
6.1.9.13 OEM parameter: type 12 ................................................................................................ 93
6.1.9.14 OEM parameter: type 13 ................................................................................................ 94
6.1.9.15 OEM parameter: type 14 ................................................................................................ 94
6.1.9.16 OEM parameter: type 15 ................................................................................................ 94
6.1.9.17 OEM parameter: type 16 ................................................................................................ 94
6.1.9.18 OEM parameter: type 17 ................................................................................................ 94
6.1.9.19 OEM parameter: type 18 ................................................................................................ 95
6.1.9.20 OEM parameter: type 19 ................................................................................................ 96
6.1.9.21 Set OEM Parameters confirmation ................................................................................. 97
6.1.10 Set Remanent Data service ............................................................................................................. 98
6.1.11 Configuration Delete service ........................................................................................................... 98
6.1.12 Set IOXS Config service .................................................................................................................. 99
6.1.12.1 Set IOXS Config request ................................................................................................ 99
6.1.12.2 Set IOXS Config confirmation ....................................................................................... 100
6.1.13 Load Remanent Data service ........................................................................................................ 101
6.1.13.1 Load Remanent Data request....................................................................................... 101
6.1.13.2 Load Remanent Data confirmation ............................................................................... 102
6.1.14 Set Trigger Type service ............................................................................................................... 103
6.1.15 Config Trigger Event service ......................................................................................................... 106
6.1.15.1 Config Trigger Event Request ...................................................................................... 106
6.1.15.2 Config Trigger Event Confirmation ............................................................................... 107
6.2 Connection Establishment ......................................................................................................... 109
6.2.1 Service overview ........................................................................................................................... 116
6.2.2 AR Check service .......................................................................................................................... 117
6.2.2.1 AR Check indication ..................................................................................................... 117
6.2.2.2 AR Check response ...................................................................................................... 119
6.2.3 Check Indication service ................................................................................................................ 120
6.2.3.1 Check Indication ........................................................................................................... 122
6.2.3.2 Check Response .......................................................................................................... 124
6.2.4 Connect Request Done service ..................................................................................................... 126
6.2.4.1 Connect Request Done indication ................................................................................ 126
6.2.4.2 Connect Request Done response ................................................................................. 127
6.2.5 Parameter End service .................................................................................................................. 128
Introduction 4/323
PROFINET IO-Device V4.6.0 / V5.4.0 | Protocol API
DOC171101API06EN | Revision 6 | English | 2021-11 | Released | Public © Hilscher, 2006‑2021
6.2.5.1
Parameter End indication ............................................................................................. 129
6.2.5.2 Parameter End response .............................................................................................. 130
6.2.6 Application Ready service ............................................................................................................. 131
6.2.6.1 Application Ready request ............................................................................................ 132
6.2.6.2 Application Ready confirmation .................................................................................... 133
6.2.7 AR InData service ......................................................................................................................... 134
6.2.7.1 AR InData indication ..................................................................................................... 134
6.2.7.2 AR InData response ..................................................................................................... 135
6.2.8 Store Remanent Data service ....................................................................................................... 136
6.2.8.1 Store Remanent Data indication ................................................................................... 136
6.2.8.2 Store Remanent Data response ................................................................................... 137
6.3 Acyclic Events indicated by the Stack ........................................................................................ 138
6.3.1 Service overview ........................................................................................................................... 138
6.3.2 Read Record service ..................................................................................................................... 139
6.3.2.1 Read Record indication ................................................................................................ 139
6.3.2.2 Read Record response ................................................................................................. 140
6.3.3 Write Record service ..................................................................................................................... 143
6.3.3.1 Write Record indication ................................................................................................ 144
6.3.3.2 Write Record response ................................................................................................. 146
6.3.4 AR Abort Indication service ........................................................................................................... 148
6.3.4.1 AR Abort Indication ....................................................................................................... 149
6.3.4.2 AR Abort Indication response ....................................................................................... 150
6.3.5 Save Station Name service ........................................................................................................... 151
6.3.5.1 Save Station Name indication....................................................................................... 152
6.3.5.2 Save Station Name response ....................................................................................... 152
6.3.6 Save IP Address service ............................................................................................................... 153
6.3.6.1 Save IP Address indication ........................................................................................... 154
6.3.6.2 Save IP Address response ........................................................................................... 154
6.3.7 Start LED Blinking service ............................................................................................................. 155
6.3.7.1 Start LED Blinking indication ........................................................................................ 155
6.3.7.2 Start LED Blinking response ......................................................................................... 155
6.3.8 Stop LED Blinking service ............................................................................................................. 156
6.3.8.1 Stop LED Blinking indication ........................................................................................ 156
6.3.8.2 Stop LED Blinking response ......................................................................................... 156
6.3.9 Reset Factory Settings service ...................................................................................................... 157
6.3.9.1 Reset Factory Settings indication ................................................................................. 158
6.3.9.2 Reset Factory Settings response .................................................................................. 160
6.3.10 APDU Status Changed service ..................................................................................................... 161
6.3.10.1 APDU Status Changed indication ................................................................................. 161
6.3.10.2 APDU Status Changed response ................................................................................. 162
6.3.11 Alarm Indication service ................................................................................................................ 163
6.3.11.1 Alarm Indication ............................................................................................................ 163
6.3.11.2 Alarm Indication response ............................................................................................ 165
6.3.12 Error Indication service .................................................................................................................. 166
6.3.12.1 Error Indication ............................................................................................................. 166
6.3.12.2 Error Indication response ............................................................................................. 166
6.3.13 Read I&M service .......................................................................................................................... 167
6.3.13.1 Read I&M indication ..................................................................................................... 167
6.3.13.2 Read I&M response ...................................................................................................... 168
6.3.14 Write I&M service .......................................................................................................................... 173
6.3.14.1 Write I&M indication ...................................................................................................... 173
6.3.14.2 Write I&M response ...................................................................................................... 175
6.3.15 Get Asset service .......................................................................................................................... 176
6.3.15.1 Get Asset indication ...................................................................................................... 178
6.3.15.2 Get Asset response ...................................................................................................... 179
6.3.16 Parameterization Speedup Support service .................................................................................. 183
6.3.16.1 Parameterization Speedup Support indication.............................................................. 184
6.3.16.2 Parameterization Speedup Supported response .......................................................... 184
6.3.17 Event Indication service ................................................................................................................. 185
6.3.17.1 Event Indication ............................................................................................................ 185
6.3.17.2 Event Indication response ............................................................................................ 186
6.3.18 ARset Status service ..................................................................................................................... 187
6.3.18.1 ARset Status indication ................................................................................................ 187
6.3.18.2 ARset Status response ................................................................................................. 188
6.3.19 Parameter Begin service ............................................................................................................... 189
6.3.19.1 Parameter Begin indication .......................................................................................... 191
6.3.19.2 Parameter Begin response ........................................................................................... 192
6.3.20 Dynamic Reconfiguration service .................................................................................................. 193
6.3.20.1 Dynamic Reconfiguration indication ............................................................................. 193
Introduction 5/323
PROFINET IO-Device V4.6.0 / V5.4.0 | Protocol API
DOC171101API06EN | Revision 6 | English | 2021-11 | Released | Public © Hilscher, 2006‑2021
6.3.20.2
Dynamic Reconfiguration response .............................................................................. 193
6.4 Acyclic Events requested by the Application ............................................................................. 194
6.4.1 Service overview ........................................................................................................................... 194
6.4.2 Get Diagnosis service.................................................................................................................... 195
6.4.2.1 Get Diagnosis request .................................................................................................. 195
6.4.2.2 Get Diagnosis confirmation .......................................................................................... 196
6.4.3 Get XMAC (EDD) Diagnosis service ............................................................................................. 199
6.4.3.1 Get XMAC (EDD) Diagnosis request ............................................................................ 199
6.4.3.2 Get XMAC (EDD) Diagnosis confirmation .................................................................... 199
6.4.4 AR Abort Request service ............................................................................................................. 201
6.4.4.1 AR Abort Request ......................................................................................................... 201
6.4.4.2 AR Abort Request confirmation .................................................................................... 202
6.4.5 Plug Module service ...................................................................................................................... 203
6.4.5.1 Plug Module request ..................................................................................................... 203
6.4.5.2 Plug Module confirmation ............................................................................................. 204
6.4.6 Plug Submodule service ................................................................................................................ 205
6.4.6.1 Plug Submodule request .............................................................................................. 206
6.4.6.2 Plug Submodule confirmation ....................................................................................... 208
6.4.6.3 Extended Plug Submodule request .............................................................................. 209
6.4.6.4 Extended Plug Submodule confirmation ....................................................................... 211
6.4.7 Pull Module service ....................................................................................................................... 212
6.4.7.1 Pull Module request ...................................................................................................... 213
6.4.7.2 Pull Module confirmation .............................................................................................. 213
6.4.8 Pull Submodule service ................................................................................................................. 214
6.4.8.1 Pull Submodule request ............................................................................................... 215
6.4.8.2 Pull Submodule confirmation ........................................................................................ 216
6.4.9 Get Station Name service .............................................................................................................. 217
6.4.9.1 Get Station Name request ............................................................................................ 217
6.4.9.2 Get Station Name confirmation ..................................................................................... 217
6.4.10 Get IP Address service .................................................................................................................. 218
6.4.10.1 Get IP Address request ................................................................................................ 218
6.4.10.2 Get IP Address confirmation ......................................................................................... 218
6.4.11 Add Channel Diagnosis service ..................................................................................................... 219
6.4.11.1 Add Channel Diagnosis request ................................................................................... 219
6.4.11.2 Add Channel Diagnosis confirmation ............................................................................ 220
6.4.12 Add Extended Channel Diagnosis service ..................................................................................... 221
6.4.12.1 Add Extended Channel Diagnosis request ................................................................... 221
6.4.12.2 Add Extended Channel Diagnosis confirmation............................................................ 222
6.4.13 Add Generic Diagnosis service ..................................................................................................... 223
6.4.13.1 Add Generic Channel Diagnosis request ...................................................................... 224
6.4.13.2 Add Generic Channel Diagnosis confirmation .............................................................. 226
6.4.14 Remove Diagnosis service ............................................................................................................ 227
6.4.14.1 Remove Diagnosis request .......................................................................................... 227
6.4.14.2 Remove Diagnosis confirmation ................................................................................... 227
6.4.15 Set Submodule State service ........................................................................................................ 228
6.4.15.1 Set Submodule State request ....................................................................................... 228
6.4.15.2 Set Submodule State confirmation ............................................................................... 230
6.4.16 Get Parameter service................................................................................................................... 231
6.4.16.1 Get Parameter request ................................................................................................. 231
6.4.16.2 Get Parameter confirmation ......................................................................................... 232
6.4.17 Add PE Entity service .................................................................................................................... 239
6.4.17.1 Add PE Entity request .................................................................................................. 239
6.4.17.2 Add PE Entity confirmation ........................................................................................... 240
6.4.18 Remove PE Entity service ............................................................................................................. 241
6.4.18.1 Remove PE Entity request ........................................................................................... 241
6.4.18.2 Remove PE Entity confirmation .................................................................................... 242
6.4.19 Update PE Entity service ............................................................................................................... 243
6.4.19.1 Update PE Entity request ............................................................................................. 243
6.4.19.2 Update PE Entity confirmation ...................................................................................... 244
6.4.20 Send Alarm service ....................................................................................................................... 245
6.4.20.1 Send Alarm request ...................................................................................................... 245
6.4.20.2 Send Alarm confirmation .............................................................................................. 252
7 Linkable Object Module (LOM) .......................................................................................................... 253
8 PROFINET Certification ..................................................................................................................... 254
8.1 RT tests (Conformance class A, B and C) ................................................................................. 254
8.1.1 Description .................................................................................................................................... 254
8.1.2 General requirements for RT tests ................................................................................................ 254
8.1.3 Common checks before certification (GSDML) ............................................................................. 255
剩余322页未读,继续阅读
资源评论
m0_70351432
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功