收藏 分享(赏)

【北京西门子培训教程】CPU停机故障 .ppt

上传人:鼎天工程图书馆 文档编号:20235641 上传时间:2023-12-08 格式:PPT 页数:14 大小:344KB
下载 相关 举报
【北京西门子培训教程】CPU停机故障 .ppt_第1页
第1页 / 共14页
【北京西门子培训教程】CPU停机故障 .ppt_第2页
第2页 / 共14页
【北京西门子培训教程】CPU停机故障 .ppt_第3页
第3页 / 共14页
【北京西门子培训教程】CPU停机故障 .ppt_第4页
第4页 / 共14页
亲,该文档总共14页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、Date:2023/12/8File:SSP2_6C.1SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation检测导致检测导致CPU停机的故障停机的故障CPUDate:2023/12/8File:SSP2_6C.2SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation系统诊断概述系统诊断概述CPUI/Q

2、 模块模块CPU 诊断检查系统错误程序诊断检查错误诊断中断错误 OB诊断缓冲区系统状态表诊断信息可诊断的模板检查错误并产生一个诊断中断Date:2023/12/8File:SSP2_6C.3SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation调用调用“模块信息模块信息”工具工具Date:2023/12/8File:SSP2_6C.4SIMATIC S7Siemens AG 2000.All rights reserved.Information

3、and Training CenterKnowledge for Automation模块信息模块信息:“诊断缓冲器诊断缓冲器”选项选项Date:2023/12/8File:SSP2_6C.5SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation解释错误信息解释错误信息Date:2023/12/8File:SSP2_6C.6SIMATIC S7Siemens AG 2000.All rights reserved.Information and T

4、raining CenterKnowledge for Automation打开一个有错误的块打开一个有错误的块Date:2023/12/8File:SSP2_6C.7SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation利用堆栈诊断故障利用堆栈诊断故障程序结构程序结构包含错误的块包含错误的块错误位置错误位置在 I Stack(中断堆栈)中可以看到当中断发生时,累加器、寄存器、状态字等的内容在 LStack(局部堆栈)中可以看到当中断发生时,临时变

5、量的内容错误位置错误位置通过 B Stack(块堆栈)可以看到发生错误之前曾执行过的块Date:2023/12/8File:SSP2_6C.8SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation块堆栈块堆栈Date:2023/12/8File:SSP2_6C.9SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Aut

6、omation中断堆栈中断堆栈Date:2023/12/8File:SSP2_6C.10SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation局部堆栈局部堆栈Date:2023/12/8File:SSP2_6C.11SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation练习练习6.1:发现并排除故障发现

7、并排除故障结果结果步骤步骤顺序顺序CPU存储器被复位 执行一次CPU存储器复位1将S7程序“ERROR”从项目“ERROR _16”(“ERROR _32”)拷贝到硬件站“My Station”中显示项目结构2包含故障的程序被下装将S7程序“ERROR”中的所有块 下装到CPU中3CPU进入STOP状态执行一次冷启动4CPU保持在RUN状态发现并排除所有导致停机的错误5Date:2023/12/8File:SSP2_6C.12SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledg

8、e for Automation练习练习6.2:利用堆栈信息来诊断故障利用堆栈信息来诊断故障结果结果步骤步骤顺序顺序CPU 又一次停机依次闭合输入开关 I 1.0 到 I 1.21回答下表中的问题利用诊断缓冲器及堆栈分析故障的原因2CPU 保持在运行状态断开输入开关 I 1.0 到 I 1.2 3Date:2023/12/8File:SSP2_6C.13SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation练习练习6.36.3:读取局部堆栈读取局部

9、堆栈 结果操作步骤 CPU 又进入停机状态闭合输入 I 1.2.1可以看到以16进制表示的临时变量读取导致停机的块的L Stack 2?确定临时变量“var1”的值3Date:2023/12/8File:SSP2_6C.14SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation练习练习6.46.4:使用错误处理使用错误处理 OB结果操作步骤下装S7程序“ERROR”中的FC 45 到CPU1执行该块后CPU将停机在OB1中调用 FC 452CPU 保持在运行状态且“SF”指示灯点亮生成并下装必要的错误处理OB,使CPU保持在运行状态3出现错误时 CPU 又可进入停机状态修改该OB,使得当错误出现后CPU进入停机状态4CPU 保持在运行状态且“SF”指示灯熄灭在OB 1中,删除对FC 45 的调用5

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 材料科学

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:文库网官方知乎号:文库网

经营许可证编号: 粤ICP备2021046453号世界地图

文库网官网©版权所有2025营业执照举报