300plc sf亮 stop状态诊断

程序已正常使用多年,出现问题后,上载来仿真可以run。诊断如下:
Diagnostic buffer of module CPU 313C-2 DP

Order No./ Description         Component                      Version                       
6ES7 313-6CF03-0AB0            Hardware                       1                             
– – –                          Firmware                       V 2.0.12                      

Rack:                          0
Slot:                          2
Event 1 of 100:  Event ID 16# 4562
STOP caused by programming error (OB not loaded or not possible, or no FRB) 
Breakpoint in user program: Cyclic program (OB1) 
Priority class:    1
FC number:      1
Module address:    378
Previous operating mode: RUN
Requested operating mode: STOP (internal)
Internal error, Incoming event
11:15:45.070 PM  04/27/2000


Event 2 of 100:  Event ID 16# 2521
BCD conversion error
Affected register: accumulator 1
Requested OB: Programming error OB (OB121)
OB not found, or disabled, or cannot be started in the in the current operating mode
Internal error, Incoming event
11:15:45.056 PM  04/27/2000


Event 3 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
11:15:45.033 PM  04/27/2000


Event 4 of 100:  Event ID 16# 1381
Request for manual warm restart 
STOP due to: STOP caused by programming error (OB not loaded or not possible, or no FRB)
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 
Requested OB: Startup OB (OB100)
Priority class: 27
Incoming event
11:15:45.032 PM  04/27/2000

最佳答案

1、诊断信息:
BCD conversion error
Affected register: accumulator 1
Requested OB: Programming error OB (OB121)
OB not found, or disabled, or cannot be started in the in the current operating mode
Internal error, Incoming event
STOP due to: STOP caused by programming error (OB not loaded or not possible, or no FRB)
从上述诊断信息可看出是由于编程错误引起的STOP ,具体是由BCD码转换的错误。如果忽略这种错误可添加OB121,只需添加不需编程。
2、关于OB组织块:
CPU程序块里面需要添加一些对应的OB组织块,只需添加不需编程,当发生相应故障是CPU只报警,不停机。如:
OB81  电源故障
OB82  诊断中断
OB83  插入/拔出模块中断
OB85  优先级错误
OB86  扩展机架,DP主站系统或者分布式I/O故障
OB87  通讯故障
OB121编程错误
OB122  I/O访问错误

提问者对于答案的评价:
谢谢

专家置评

已阅,最佳答案正确。

原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc233547.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2018年12月1日 下午1:50
下一篇 2018年12月1日

相关推荐