版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Date:2022-2-22File:SSP2_02C.1SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation源文件编程和用户程序的重新接线“什么是什么是口令口令? ”Date:2022-2-22File:SSP2_02C.2SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation编程工具编程工具P
2、RGG_T2DPRGG_T2DDate:2022-2-22File:SSP2_02C.3SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation利用文本编辑器生成程序利用文本编辑器生成程序Date:2022-2-22File:SSP2_02C.4SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation启
3、动文本编辑器启动文本编辑器Date:2022-2-22File:SSP2_02C.5SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation编辑一个源文件编辑一个源文件 (1)被编辑的源文件被编辑的源文件块样板块样板 块块 文件文件文件文件插入块样板插入块样板 插入块插入块插入文件插入文件插入文件插入文件 产生产生Date:2022-2-22File:SSP2_02C.6SIMATIC S7Siemens AG 2000. All rights r
4、eserved.Information and Training CenterKnowledge for Automation编辑一个源文件编辑一个源文件 (2)UDT全局全局 DBUDT型型 DBFB3 FB3的背景的背景 DBFC5OB1分配给分配给调用调用 调用调用 调用调用调用调用分配给分配给 Date:2022-2-22File:SSP2_02C.7SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation代码块的语法代码块的语法Date:
5、2022-2-22File:SSP2_02C.8SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation数据块的语法数据块的语法Date:2022-2-22File:SSP2_02C.9SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation变量声明变量声明Date:2022-2-22File:SSP2
6、_02C.10SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation保护属性保护属性属属性性代代码码块块(OB, FB, FC)数数据据块块UDTKNOW_HOW_PROTECT(关关键键技技术术保保护护)有有有有无无AUTHOR(作作者者)有有有有无无FAMILY(类类别别)有有有有无无NAME (名名称称)有有有有无无VERSION (版版本本)有有有有无无UNLINKED (未未连连接接)无无有有无无READ_ONLY (只只读读)无无有有
7、无无Date:2022-2-22File:SSP2_02C.11SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation保存保存, , 一致性检查和编译一致性检查和编译Date:2022-2-22File:SSP2_02C.12SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation练习练习2.1: 利
8、用源文件将利用源文件将FC转换为转换为FB (1)Date:2022-2-22File:SSP2_02C.13SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation练习练习2.1: 利用源文件将利用源文件将FC转换为转换为FB (2):Date:2022-2-22File:SSP2_02C.14SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Cente
9、rKnowledge for Automation程序重新接线简介信号模板信号模板前连接器前连接器失效的通道I 16.7可用的通道I 17.0A I 16.7.AN I16.7“旧旧” 程序程序A I 17.0.AN I17.0“新新” 程序程序Date:2022-2-22File:SSP2_02C.15SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation用SIMATIC管理器实现重新接线Date:2022-2-22File:SSP2_02C.
10、16SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation概述:用源程序实现重新接线带符号地址的STEP 7 程序“Blocks” 文件夹文件夹“Source Files” 文件夹文件夹带符号地址的源程序1符号表符号表(旧)旧)符号表符号表(新)新)2“Blocks” 文件夹文件夹重新接线的带符号地址的STEP 7 程序3Date:2022-2-22File:SSP2_02C.17SIMATIC S7Siemens AG 2000. All ri
11、ghts reserved.Information and Training CenterKnowledge for Automation从已有的S7程序产生源程序Date:2022-2-22File:SSP2_02C.18SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation生成的源程序Date:2022-2-22File:SSP2_02C.19SIMATIC S7Siemens AG 2000. All rights reserved.Inf
12、ormation and Training CenterKnowledge for Automation符号表:改变绝对地址之前之前之后之后Date:2022-2-22File:SSP2_02C.20SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation重新接线的结果FC 5 “旧旧”FC 5 “新新”Date:2022-2-22File:SSP2_02C.21SIMATIC S7Siemens AG 2000. All rights reser
13、ved.Information and Training CenterKnowledge for Automation用“符号优先”重新接线Date:2022-2-22File:SSP2_02C.22SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation练习2.2:用SIMATIC 管理器实现重新接线步骤步骤操作操作结果结果1在SIMATIC管理器中,从项目“STOE_32”下将S7程序REWIRE拷贝到“My Project”项目下一个名为“R
14、EWIRE”的S7程序被存在项目“My Project”中。在S7程序“REWIRE”中,单击“Blocks”对象对象被选中。2选择菜单命令Options - Rewire.弹出“重新接线”窗口。3在旧地址中输入I 8.0,在新地址中输入I 9.0,用“OK”钮确认S7 程序“REWIRE”被修改成新地址。4从S7 程序“REWIRE”打开符号表,把符号LB1的地址从 I 8.0 换成 I 9.0。 保存符号表并退出符号编辑器。符号LB1被分配一个新地址。5利用交叉参考表检查重新接线是否成功。I 9.0替换程序中原来的 I 8.0。 6Date:2022-2-22File:SSP2_02C.23SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation修改扫描2xDate:2022-2-22File:SSP2_02C.24SIMATIC S7Siemens A
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 初中信息技术基本知识概览
- 全国2024年1月高等教育自学考试犯罪学试题
- 内科护理(医学高级):传染病病人的护理考试题库
- 2026 学龄前自闭症早期感统课件
- 六年级期中数学总结
- 保温工程专业分包合同
- 出境动植物及其产品、其他检疫物的生产、加工、存放单位注册登-样表
- 2026年家庭防灾减灾应急手册
- 浙教版2026届中考英语最后冲刺模拟试卷含答案
- 2026届湖北省宜昌市五峰土家族自治县中考英语全真模拟试卷含答案
- DB15∕T 3360-2024 饲草大麦裹包青贮技术规程
- 2026年外国人在中国永久居留资格申请服务合同
- 齐商银行笔试题库及答案
- 2025小学英语五年级阅读理解专项训练50篇
- 国家事业单位招聘2025中国康复研究中心招聘高层次人才拟聘用人员笔试历年参考题库附带答案详解
- 公墓单位防火安全培训内容课件
- 脊髓损伤的膀胱护理
- 网红孵化与经纪创新创业项目商业计划书
- 电梯维护保养标准作业指导书
- 《环境设计制图》全套教学课件
- 安全生产培训学校申请书范文
评论
0/150
提交评论