没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/release/download_crawler_static/89130149/bg2.jpg)
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualied Personnel
The product/system described in this documentation may be operated only by personnel qualied for the specic
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualied personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended or
approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance
are required to ensure that the products operate safely and without any problems. The permissible ambient
conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identied by ® are registered trademarks of SiemensAG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Digital Industries
Postfach 48 48
90026 NÜRNBERG
GERMANY
Ⓟ 03/2023 Subject to change
Copyright © SiemensAG 2023.
All rights reserved
![](https://csdnimg.cn/release/download_crawler_static/89130149/bg3.jpg)
Table of contents
1 Safety information................................................................................................................................. 7
1.1 Fundamental safety instructions........................................................................................... 7
1.1.1 General safety instructions................................................................................................... 7
1.1.2 Warranty and liability for application examples..................................................................... 7
1.1.3 Security information ............................................................................................................ 7
2 Introduction........................................................................................................................................... 9
2.1 Overview............................................................................................................................. 9
2.2 Requirements .................................................................................................................... 11
2.3 Blocks for S7-1200............................................................................................................. 12
2.4 Blocks for S7-1500............................................................................................................. 13
3 Conguration of the communication .................................................................................................. 15
3.1 Overview........................................................................................................................... 15
3.2 Conguration and project engineering ............................................................................... 16
3.2.1 Conguration of the SIMATIC controller S7-1200/1500 with SINAMICS G120 (Startdrive
conguration).................................................................................................................... 16
3.2.2 Conguration of the SIMATIC controller S7-1200/1500 with SINAMICS S120 (GSD
conguration).................................................................................................................... 22
3.2.3 Selection of the correct hardware submodules ................................................................... 24
3.2.4 Conguration of the blocks ................................................................................................ 28
3.2.4.1 Notes on installing the block library.................................................................................... 28
3.2.4.2 Installing the block library up to and including TIA Portal V13 SP1....................................... 28
3.2.4.3 Inserting the blocks in the project ...................................................................................... 31
3.2.4.4 Installing the block library up to and including TIA Portal V14 ............................................. 34
3.2.4.5 Installing the block library up to and including TIA Portal V16 ............................................. 37
3.3 Creating the communications program .............................................................................. 38
3.4 Parameterization of the drives............................................................................................ 39
4 Blocks for communication and EPOS ................................................................................................... 41
4.1 Blocks - overview ............................................................................................................... 41
4.2 Memory required by the blocks .......................................................................................... 43
4.3 Solution............................................................................................................................. 44
4.3.1 Overview of the overall solution......................................................................................... 44
4.3.2 Description of the core functionality................................................................................... 45
4.3.3 Minimum requirements for the hardware/software............................................................. 50
4.4 Cyclic communication........................................................................................................ 51
4.5 Acyclic communication ...................................................................................................... 52
4.5.1 Reading and changing parameters via data set 47 .............................................................. 52
4.5.2 Acyclic communication ...................................................................................................... 56
Blocks for activating the SINAMICS with SIMATIC S7-1200/1500 in the TIA Portal
Operating Manual, 03/2023 3
![](https://csdnimg.cn/release/download_crawler_static/89130149/bg4.jpg)
4.6 Operating mode selection for EPOS.................................................................................... 58
4.6.1 Basic principles of the basic positioner................................................................................ 58
4.6.2 Operating mode selection of the basic positioner ............................................................... 59
5 Description of the blocks ..................................................................................................................... 61
5.1 Area of application of the blocks ........................................................................................ 61
5.1.1 Overview........................................................................................................................... 61
5.1.2 Which block for which device ............................................................................................. 61
5.1.3 Which block for which application ...................................................................................... 62
5.2 Function blocks (S7-1200/1500) ........................................................................................ 63
5.2.1 FB PCD_SEND: Write process data - S7-1500 ...................................................................... 63
5.2.2 FB PCD_RECV: Read process data - S7-1500 ........................................................................ 65
5.2.3 FB PDAT_AC2: Edit parameters acyclically (DS47) - S7-1200/1500 ....................................... 68
5.2.4 FB DEV_FLT4: Reading the fault buer of a SINAMICS G/S - S7-1200/1500 .......................... 74
5.2.5 FB PDAT_UD2: Upload/download of the drive parameters (DS47) - S7-1500 ........................ 77
5.2.6 Function block SINA_POS (FB284) ...................................................................................... 90
5.2.6.1 Description ........................................................................................................................ 90
5.2.6.2 Calling OBs ........................................................................................................................ 90
5.2.6.3 Called blocks...................................................................................................................... 91
5.2.6.4 Description of functions..................................................................................................... 91
5.2.6.5 Input interface of the SINA_POS ......................................................................................... 91
5.2.6.6 Description of the conguration input "CongEPos" ............................................................ 93
5.2.6.7 Output interface of the SINA_POS ...................................................................................... 94
5.2.6.8 Operating mode selection of EPOS with SINA_POS.............................................................. 95
5.2.6.9 Relative positioning ........................................................................................................... 95
5.2.6.10 Absolute positioning.......................................................................................................... 97
5.2.6.11 Setup mode....................................................................................................................... 98
5.2.6.12 Continuous setpoint acceptance......................................................................................... 99
5.2.6.13 Referencing – reference point approach ........................................................................... 100
5.2.6.14 Homing - set home position ............................................................................................. 101
5.2.6.15 Traversing blocks ............................................................................................................. 102
5.2.6.16 Jog .................................................................................................................................. 103
5.2.6.17 Jog - incremental ............................................................................................................. 105
5.2.6.18 Flying homing ................................................................................................................. 106
5.2.6.19 Operating mode change based on the ModePos values..................................................... 107
5.2.6.20 Troubleshooting the SINA_POS function block .................................................................. 107
5.2.7 Function block SINA_SPEED (FB285)................................................................................. 109
5.2.7.1 Description ...................................................................................................................... 109
5.2.7.2 Calling OBs ...................................................................................................................... 109
5.2.7.3 Called blocks.................................................................................................................... 109
5.2.7.4 Function description - general.......................................................................................... 110
5.2.7.5 Input interface of the SINA_SPEED.................................................................................... 110
5.2.7.6 Pre-assignment of the CongAxis input ............................................................................ 111
5.2.7.7 Output interface SINA_SPEED........................................................................................... 111
5.2.7.8 Troubleshooting the SINA_SPEED function block............................................................... 112
5.2.8 Function block SINA_PARA (FB286) .................................................................................. 113
5.2.8.1 Description ...................................................................................................................... 113
5.2.8.2 Calling OBs ...................................................................................................................... 113
5.2.8.3 Called blocks.................................................................................................................... 113
5.2.8.4 Description of functions................................................................................................... 114
5.2.8.5 Input interface of SINA_PARA ........................................................................................... 114
Table of contents
Blocks for activating the SINAMICS with SIMATIC S7-1200/1500 in the TIA Portal
4 Operating Manual, 03/2023
![](https://csdnimg.cn/release/download_crawler_static/89130149/bg5.jpg)
5.2.8.6 Output interface of SINA_PARA ........................................................................................ 115
5.2.8.7 Data structure of the "sxParameter" area........................................................................... 115
5.2.8.8 Writing parameters .......................................................................................................... 117
5.2.8.9 Reading parameters ......................................................................................................... 117
5.2.8.10 Error handling of the FB286 function block....................................................................... 118
5.2.8.11 Connection to the LAcycCom library................................................................................. 120
5.2.9 Function block SINA_PARA_S (FB287)............................................................................... 122
5.2.9.1 Description ...................................................................................................................... 122
5.2.9.2 Calling OBs ...................................................................................................................... 122
5.2.9.3 Description of functions................................................................................................... 123
5.2.9.4 Input interface of SINA_PARA_S........................................................................................ 123
5.2.9.5 Output interface of SINA_PARA_S..................................................................................... 123
5.2.9.6 Use of the various parameter inputs and outputs.............................................................. 124
5.2.9.7 Writing parameters .......................................................................................................... 125
5.2.9.8 Reading parameters ......................................................................................................... 125
5.2.9.9 Troubleshooting function block SINA_PARA_S................................................................... 126
5.2.10 Function block SINA_INFEED (FB288) ............................................................................... 127
5.2.10.1 Description of functions................................................................................................... 127
5.2.10.2 Calling OBs ...................................................................................................................... 127
5.2.10.3 Description ...................................................................................................................... 128
5.2.10.4 Called blocks.................................................................................................................... 128
5.2.10.5 Input interface of SINA_INFEED ........................................................................................ 129
5.2.10.6 Pre-assignment of the CongAxis input ............................................................................ 129
5.2.10.7 Output interface of SINA_INFEED ..................................................................................... 130
5.2.10.8 Error handling of the function block SINA_INFEED ............................................................ 130
5.2.11 Interlocking of blocks with acyclic communication............................................................ 132
5.3 S7-1500 data blocks ........................................................................................................ 134
5.3.1 DB DRIVDBx: Conguration data of the drives S7-1500...................................................... 134
5.4 Functions......................................................................................................................... 137
5.4.1 FC COM_STAT: Reporting a communication failure............................................................ 137
5.5 Using the blocks under PROFINET IO................................................................................. 139
5.5.1 Overview......................................................................................................................... 139
5.5.2 Continued use of the S7 program for PROFIBUS with PROFINET IO .................................... 139
5.5.3 Migration to PROFINET IO................................................................................................. 140
6 Diagnostics ........................................................................................................................................ 141
6.1 Diagnostics of the drive.................................................................................................... 141
6.2 DP diagnostics ................................................................................................................. 142
6.3 S7 system diagnostics ...................................................................................................... 143
A Appendix............................................................................................................................................ 145
A.1 Parameterization of the PCD_SEND with several setpoint slots........................................... 145
A.2 Formulating parameter jobs (data set 47)......................................................................... 146
A.3 Structure of the parameter job DB for FB PDAT_UD2.......................................................... 148
A.3.1 Example for complete DB transfer..................................................................................... 148
A.3.2 Example for partial DB transfer......................................................................................... 150
A.3.3 Note on transferring the parameter value 16#AA2F / 16#AA2FAA2F to the converter ........ 157
A.4 Example of download data block...................................................................................... 158
Table of contents
Blocks for activating the SINAMICS with SIMATIC S7-1200/1500 in the TIA Portal
Operating Manual, 03/2023 5
剩余227页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
工控搬砖人
- 粉丝: 497
- 资源: 197
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)