300PLC sf亮 stop狀態(tài)診斷
劉玉蓉
發(fā)布于2014-11-24 17:33
3
0
標(biāo)簽:
程序已正常使用多年,出現(xiàn)問題后,上載來仿真可以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碼轉(zhuǎn)換的錯誤。如果忽略這種錯誤可添加OB121,只需添加不需編程。
2、關(guān)于OB組織塊:
CPU程序塊里面需要添加一些對應(yīng)的OB組織塊,只需添加不需編程,當(dāng)發(fā)生相應(yīng)故障是CPU只報警,不停機。如:
OB81 電源故障
OB82 診斷中斷
OB83 插入/拔出模塊中斷
OB85 優(yōu)先級錯誤
OB86 擴展機架,DP主站系統(tǒng)或者分布式I/O故障
OB87 通訊故障
OB121編程錯誤
OB122 I/O訪問錯誤