quote:以下是引用nucman在2014-03-19 09:24:25的发言:quote:以下是引用nucman在2014-03-18 20:04:28的发言:
本来以为事情就这么结束了,丢数据的原因找到了,可是客户提供的另外一个丢数据的plc的诊断缓冲区信息又让我忙活了很久。。。。
后期实验模拟出的诊断缓冲区信息如下:
Event 1 of 100: Event ID 16# 5371
Distributed I/Os: End of the synchronization with a DP master/IO controller on slot 2
Number of distributed stations: 0
Incoming event
01:22:28.986 PM 11/11/2013
Event 2 of 100: Event ID 16# 430E
Memory reset executed
Previous operating mode: STOP (memory reset)
Requested operating mode: STOP (own initialization)
Incoming event
01:22:22.789 PM 11/11/2013
Event 3 of 100: Event ID 16# 4546
STOP caused by CPU memory management
Previous operating mode: STOP (own initialization)
Requested operating mode: STOP (memory reset)
Internal error, Incoming event
01:22:20.697 PM 11/11/2013
Event 4 of 100: Event ID 16# 4300
Power on backed up
Previous operating mode: No voltage
Requested operating mode: STOP (own initialization)
Incoming event
01:22:20.697 PM 11/11/2013
Event 5 of 100: Event ID 16# 6522
Illegal memory submodule: replace submodule and reset memory
Operating mode: STOP (own initialization)
Internal error, Incoming event
01:22:20.697 PM 11/11/2013
Event 6 of 100: Event ID 16# 4550
DEFECTIVE: internal system error
No relevance for user (Z1): fffb
Previous operating mode: RUN
Requested operating mode: DEFECTIVE
Internal error, Incoming event
01:21:34.727 PM 11/11/2013
Event 7 of 100: Event ID 16# 4302
Mode transition from STARTUP to RUN
Startup information:
- 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
Previous operating mode: STARTUP (warm restart)
Requested operating mode: RUN
Incoming event
01:20:07.772 PM 11/11/2013
从Event2和Event3可以看到,CPU最终也是进入Stop并且执行了Memory Reset,过程数据肯定是丢失的。可是原因是什么呢?注意Event6 ,DEFECTIVE: internal system error,CPU进入DEFECTIVE模式了。什么是DEFECTIVE模式?可以认为是CPU死机了,症状就是CPU所有的LED指示灯一起闪烁。那么为什么CPU进入DEFECTIVE模式呢?如何在办公室复现出这个现象?值得思考。