出現(xiàn)area length error when writing 錯(cuò)誤
劉玉蓉
發(fā)布于2014-10-24 17:38
4
0
標(biāo)簽:
Diagnostic buffer of module CPU 315-2 DP
Order No./ Description Component Version
6ES7 315-2AH14-0AB0 Hardware 2
- - - Firmware V 3.0.3
Boot Loader Firmware expansion A 25.7.5
Rack: 0
Slot: 2
Serial number: S C-B2UB70082011
Event 1 of 500: Event ID 16# 4541
STOP caused by priority class system
Event: Cycle time exceeded
OB number: Timing error OB (OB80)
Priority class: 26
Previous operating mode: RUN
Requested operating mode: STOP (internal)
Internal error, Incoming event
02:09:37.079 AM 04/18/1994
Event 2 of 500: Event ID 16# 3501
Cycle time exceeded
Run time of the last cycle (ms): 6000
Cause: OB1 start event initiated by end of warm restart
Causing OB: Cyclic program (OB1)
Causing priority class: 1
Requested OB: Timing error OB (OB80)
Priority class: 26
Internal error, Incoming event
02:09:31.079 AM 04/18/1994
佳答案
Cycle time exceeded
Run time of the last cycle (ms): 6000
Cause: OB1 start event initiated by end of warm restart
Causing OB: Cyclic program (OB1)
上述信息表明有循環(huán)時(shí)間超時(shí)的錯(cuò)誤,檢查OB1中程序是否有死循環(huán)的現(xiàn)象。
Timing error OB (OB80):
在診斷信息描述中調(diào)用了OB80。
OB80 :時(shí)間故障??赡艿脑颍?br />這樣的故障包括: 循環(huán)時(shí)間超出、執(zhí)行OB 時(shí)應(yīng)答故障、向前移動(dòng)時(shí)間以致于躍過(guò)了OB 的啟動(dòng)時(shí)間、CiR 后恢復(fù)RUN 方式。如果,例如,當(dāng)循環(huán)中斷OB 仍在執(zhí)行前一次調(diào)用時(shí),該OB 塊的啟動(dòng)事件發(fā)生,操作系統(tǒng)調(diào)用OB80。如果OB80 未編程,CPU 變?yōu)镾TOP 方式。您可以使用SFC39 至42 封鎖或延時(shí)和再使能時(shí)間故障OB。
注意:如果在同一個(gè)掃描周期中由于掃描時(shí)間超出OB80 被調(diào)用兩次,CPU 就變?yōu)镾TOP 方式。您可以通過(guò)在程序中適當(dāng)?shù)奈恢谜{(diào)用SFC43“RE_TRIGR ”來(lái)避免這種情況。
參見(jiàn):
詳見(jiàn)《組織塊使用說(shuō)明》下載:
https://218.93.112.166/ec/C23/dl/xxzl/%E7%BB%84%E7%BB%87%E5%9D%97%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E.pdf