版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.1故障诊断SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.2故障诊断SIMATIC S7Siemens AG 2003. All rights reserved
2、.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.3目标学习了本章之后,你将 .能够对出现的故障分类为“系统识别的故障”和“功能故障”.熟悉“显示CPU信息”功能.能够读出诊断缓冲区,解释它并用它排故.能够读出I STACK、 B STACK 和 L STACK并解释它们.能够读出硬件诊断.能够使用“Monitor / Modify Variable ”功能并用它们排故.能够解释LAD/STL/FBD编辑器中“Monitor ”功能的显示.能够读出参考数据,解释它们并用它们排故.了解“Forc
3、e ”功能SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.4故障的级别由系统检测出的故障 PLC 内部记录、评估和指示故障(作为规则: CPU STOP) 模板故障 信号电缆短路 扫描时间超出 程序错误 (访问不存在的块)功能故障 要求的功能或者不执行或者不正确地执行 过程故障 (传感器/执行器、 电缆故障) 逻辑编程错误 (在生成和启动时未发现)SIMATIC S7Siemens AG 2003.
4、All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.5STEP7 调试工具, 概述故障由系统检测出的故障:功能故障:基本规则: CPU 处于 STOP基本规则: CPU 处于 RUN(例如访问不存在的 DB)(过程故障,例如断线)(信号模板的诊断中断)(逻辑编程错误,象双重赋值)调试工具:调试工具: 模板信息使能外设输出 (修改输出)- 诊断缓冲区监视 / 修改变量- 中断堆栈监视块 (块状态)- 块堆栈参考数据- 局部堆栈-交叉参考 硬件诊断-I/Q/M/
5、T/C分配表- 程序结构- 无符号的地址- 未使用的符号不论故障的原因是什么你都可以使用: 强制 设置断点SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.6系统诊断 - 概述CPU 诊断检查系统错误CPUI/Q 模块程序诊断检查错误可诊断的模板检查错误诊断中断并产生一个诊断中断错误诊断缓冲区系统状态表OB诊断信息SIMATIC S7Siemens AG 2003. All rights reserve
6、d.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.7显示CPU信息SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.8调用“模块信息”工具Module InformationLAD/STL/FBD EditorSIMATIC ManagerSIMATIC S7Siemens AG 2003. All
7、rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.9模块信息选项:“诊断缓冲器”SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.10解释诊断缓冲器中的错误信息SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Tr
8、aining for Automation and DrivesDate: File:2018/10/3Troubleshoot.11打开一个有错误的块SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.12利用堆栈中断堆栈,块堆栈,局部堆栈诊断在 I Stack (中断堆栈)中可以看到当中断发生时,累加器、寄存器、状态字等的内容看到容错误位置在 LStack (局部堆栈)中可以当中断发生时,临时变量的内
9、错误位置通过 B Stack(块堆栈)可以看到发生错误之前曾执行过的块程序结构包含错误的块SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.13块堆栈的内容SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.14中
10、断堆栈的内容SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.15局部堆栈的内容SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.16显示硬件诊断twiceSIMATIC S7Siemens AG 2003. A
11、ll rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.17练习: 发现并排除故障执行一次CPU存储器复位并把CPU设置为 STOPCPU中的用户程序被删除从项目 “SERV2”将S7程序“ERROR_32” 作为与硬件无关的程序拷贝到你的项目“My_Project”中你的项目“My_Project”中与硬件无关的S7程序“ERROR_32”存在从对应CPU的S7程序“My_Program” 的块文件夹把系统数据下装到CPU中PLC的硬件再次分配如以前的参数以至于
12、甚至闪烁时钟存储器也再次有效将S7程序“ERROR_32” 中的所有块下装到CPU中并执行一次冷启动包含故障的程序被下装冷启动之后CPU进入STOP状态发现并排除所有导致停机的错误 做的时候回答下列关于错误的问题CPU保持在RUN状态12345做什么结果步骤SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.18启动“Monitor/Modify Variables”工具SIMATIC S7Siemens
13、 AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.19设定“Monitor/Modify Variables”触发点循环程序执行的开始设定触发点Monitor / ModifyUpdate Status /根据触发点Modify Values(一次monitor / modify)转换:RUN - STOP循环程序的结束PIQ循环程序执行PII打开变量表并建立与CPU的连接可访问的 CPU组态的CPU直接连接的CPU(从硬件站“Stat
14、ion 2”SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.20PG来的VAT)Station 3Station 2Station 1SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.21用“Monitor”测
15、试程序SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.22程序状态显示信息的选择LAD/STL/FBD 编辑器 - Options -Customize. 或在运行状态:在下面的位置点击鼠标右键SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/
16、10/3Troubleshoot.23显示参考数据SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.24显示程序结构SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.25显示交叉参考表SIMATIC S7Siem
17、ens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.26过滤交叉参考表SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.27利用交叉参考表修改块SIMATIC S7Siemens AG 2003. All rights reserved.SI
18、TRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.28地址定位功能1x右键SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.29练习: 测试电机点动SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation an
19、d DrivesDate: File:2018/10/3Troubleshoot.30练习: 测试数量的显示SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.31查找参考数据SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Trouble
20、shoot.32I,Q,M,T,C分配表SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.33未使用的符号 / 无符号的地址SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.34块的比较 (1).见下页SIMAT
21、IC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.35块的比较 (2)SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.36在停止模式修改输出SIMATIC S7Siemens AG 2003. All rights re
22、served.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.37强制功能SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.38如果你想知道更多SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2027年备考会计基础 【零基础学员必练】通关试题库(有答案)
- 2027年备考会计基础 【零基础学员必练】提升训练试题(备用卷)附答案
- 2026年湖南石油化工职业技术学院高职单招笔试职业技能测验历年参考题库含答案解析
- 2026年湖南中医药高等专科学校高职单招笔试物理历年参考题库含答案解析
- 2026年海南政法职业学院高职单招笔试英语历年参考题库含答案解析
- 2026年浙江汽车职业技术学院高职单招笔试数学历年参考题库含答案解析
- 2026年济源职业技术学院高职单招笔试数学历年参考题库含答案解析
- 2026年河南林业职业学院高职单招笔试职业适应性测验历年参考题库含答案解析
- 2026年河北地质职工大学高职单招笔试化学历年参考题库含答案解析
- 2026年江西软件职业技术大学高职单招笔试化学历年参考题库含答案解析
- 2026年行测类题库及答案详解
- 三年级语文上册人教版《大自然的声音》
- 2026安徽省考评员培训考试题库及答案
- 2026年四川省拟任乡科级领导干部任职资格试题及参考答案
- 统编五年级上册《航天员写给孩子的信》课件
- 2026年陕西水务发展建设集团第三工程有限公司招聘(28人)考试备考试题及答案详解
- 2026年高校审计处岗招聘笔试真题附答案
- 安徽省黄山市屯溪四中2025年七年级上学期地理期中考试(含答案)
- 桥梁伸缩缝更换工程施工组织方案
- 2026及未来5年中国航空飞行培训行业市场全景调研及前景战略研判报告
- 公牛开关产品检测报告
评论
0/150
提交评论