S7-300 CPU 314

经常死机,不运行任何程序,只能手动启动。读取CPU故障缓存区信息如下,请问高手如何处理:

Event 10 of 10: Event ID 16# 1381 Request for manual warm restart STOP due t STOP caused b">

技术频道

S7-300CPU死机故障

S7-300 CPU 314

经常死机,不运行任何程序,只能手动启动。读取CPU故障缓存区信息如下,请问高手如何处理:

Event 10 of 10: Event ID 16# 1381 Request for manual warm restart STOP due t STOP caused by stop switch being activated Startup information: - Startup without modified system configuration - No difference between setpoint and actual configuration - Time for time stamp at the last backed up power on - Single processor operation Current/last startup type: - Warm restart triggered by switch setting; last power on backed up Permissibility of certain startup types: - Manual warm restart permitted - Automatic warm restart permitted Last valid operation or setting of automatic startup type at power on: - Warm restart triggered by switch setting; last power on backed up OB number: 100 OB not found, or disabled, or cannot be started in the current operating mode Incoming event 02:08:36:885 pm 03/28/96

正如你所说,MW250的值指的是I/O错误。
根据你的具体情况,我个人认为问题出在程序中——因为如果是组态出现错误,运行一开始就会报错。
这里介绍在线诊断的方法,找出问题程序:
1、当出现停机事件时,在STEP7中进入联机方式,按“CTRL+D”,出现如下画面:


2、切换到“Diagnostic Buffer”标签页


3、寻找出现你所描述故障的诊断项,点击它,将指示出错的程序块


4、点击“OPEN BLOCK”,编辑器将会打开故障块,并以颜色指示故障代码。以次方法,排除全部故障代码。
预祝你成功!
==========
关于你帖出的代码,我认为没什么不妥。事实上,对于事件驱动的组织块,触发它运行的是事件(过程事件或中断事件),至于其中的代码,无关紧要,可以是针对事件的处理例程,甚至是一段毫无关系的程序。

文章版权归西部工控xbgk所有,未经许可不得转载。