SIMATIC S7 教材-18.检测停机故障.ppt

上传人:s****8 文档编号:82766129 上传时间:2023-03-26 格式:PPT 页数:14 大小:344KB
返回 下载 相关 举报
SIMATIC S7 教材-18.检测停机故障.ppt_第1页
第1页 / 共14页
SIMATIC S7 教材-18.检测停机故障.ppt_第2页
第2页 / 共14页
点击查看更多>>
资源描述

《SIMATIC S7 教材-18.检测停机故障.ppt》由会员分享,可在线阅读,更多相关《SIMATIC S7 教材-18.检测停机故障.ppt(14页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

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

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

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

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

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

6、e for Automation中断堆栈中断堆栈Date:2022/12/29File:SSP2_6C.10SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation局部堆栈局部堆栈Date:2022/12/29File:SSP2_6C.11SIMATIC S7Siemens AG 2000.All rights reserved.Information and Training CenterKnowledge for Automation练习练习6.

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

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

9、.3:读取局部堆栈读取局部堆栈 结果操作步骤 CPU 又进入停机状态闭合输入 I 1.2.1可以看到以16进制表示的临时变量读取导致停机的块的L Stack 2?确定临时变量“var1”的值3Date:2022/12/29File: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

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

当前位置:首页 > 生活休闲 > 生活常识

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com