版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.1源文件编程和用户程序的重新接线“什么是口令? ”SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.2编程工具PRGG_T
2、2DSIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.3利用文本编辑器生成程序SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.4启动文本编辑器SIMATIC S7Siem
3、ens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.5编辑一个源文件 (1)被编辑的源文件插入块样板插入块产生插入文件插入文件文件文件块块样板SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.6编辑一个
4、源文件 (2)分配给调用调用调用调用OB1分配给FC5FB3的背景 DBFB3UDT型 DB全局 DBUDTSIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.7代码块的语法SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate
5、: File:2018/10/4SSP2_02C.8数据块的语法SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.9变量声明保护属性SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2
6、_02C.10属性代码块(OB, FB, FC)数据块UDTKNOW_HOW_PROTECT(关键技术保护)有有无AUTHOR(作者)有有无FAMILY(类别)有有无NAME (名称)有有无VERSION (版本)有有无UNLINKED (未连接)无有无READ_ONLY (只读)无有无SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.11保存, 一致性检查和编译SIMATIC S7
7、Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.12练习2.1: 利用源文件将FC转换为FB (1)SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.13练习2.1: 利用源文件将FC转换为
8、FB (2): : : SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.14程序重新接线简介信号模板前连接器“旧” 程序失效的通道I 16.7可用的通道I 17.0“新” 程序A I 17.0.AN I17.0A I 16.7.AN I16.7SIMATIC S7Siemens AG 2000. All rights reserved.Information and Trainin
9、g Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.15用SIMATIC管理器实现重新接线SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.16概述:用源程序实现重新接线“Blocks”“Source Files”“Blocks”文件夹文件夹文件夹132符号表(新)符号表(旧)重新接线的 带符号地址的STEP 7
10、 程序带符号地址的源程序带符号地址的STEP 7 程序SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.17从已有的S7程序产生源程序SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP
11、2_02C.18生成的源程序SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.19符号表:改变绝对地址之后之前SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.20重新接线
12、的结果FC 5 “新”FC 5 “旧”SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.21用“符号优先”重新接线SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.22练习
13、2.2:用SIMATIC 管理器实现重新接线一个名为“REWIRE”的S7程序被存在项目“My Project”中。对象被选中。弹出“重新接线”窗口。S7 程序“REWIRE”被修改成新地址。符号LB1被分配一个新地址。I 9.0替换程序中原来的 I 8.0。在SIMATIC管理器中,从项目“STOE_32”下将S7程序REWIRE拷贝到“My Project”项目下在S7程序“REWIRE”中,单击“Blocks”对象选择菜单命令Options - Rewire.在旧地址中输入I 8.0,在新地址中输入I 9.0, 用“OK”钮确认从S7 程序“REWIRE”打开符号表,把符号LB1的地址从 I 8.0 换成 I 9.0。保存符号表并退出符号编辑器。利用交叉参考表检查重新接线是否成功。123456结果操作步骤SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/10/4SSP2_02C.23修改扫描2xSIMA
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年索县带编教师招聘考试参考题库及答案解析
- 2026年东海县带编教师招聘笔试模拟试题及答案解析
- 2026年宜良县带编教师招聘考试参考题库及答案解析
- 衡阳市2027年中考数学模拟试题(含答案解析)
- 2026年秦安县带编教师招聘考试备考试题及答案解析
- 西南财经大学2020-2021学年第2学期金融学《管理学概论》考试试卷(A卷)及参考答案
- 2026年政和县带编教师招聘笔试参考题库及答案解析
- 2026年镇沅彝族哈尼族拉祜族自治县带编教师招聘考试备考试题及答案解析
- 2026年全南县带编教师招聘笔试参考题库及答案解析
- 2026年建昌县带编教师招聘考试模拟试题及答案解析
- 2026年3月青少年机器人技术等级考试实际操作试卷二级真题(含答案-在末尾)
- 2024版INS指南解读-PICC导管的维护
- 智慧医疗分级评价方法及标准(2025版)(征求意见稿)
- 麻醉病人的并发症处理与护理
- 曼巴精神:科比自传的核心启示
- 肩颈专业知识话术
- (新教材)2026年人教版二年级上册数学 第2课时 分类与整 理(2) 课件
- 诗经中的陇东古方国课件
- 2025安徽国控集团所属企业招聘1人参考笔试题库及答案解析
- 2025四川绵阳市绵投置地有限公司招聘成本管理岗位拟录用人员笔试历年典型考点题库附带答案详解2套试卷
- 楼长寝室长培训
评论
0/150
提交评论