登录
首页 PLC论坛 西门子SIEMENS
回帖 发帖
正文

主题:s7 300 sf红灯 stop黄灯 重启正常

点击:2629 回复:1

Diagnostic buffer of module CPU 315-2 DP
Order No./ Description         Component                     Version                      
6ES7 315-2AG10-0AB0           Hardware                       5                            
- - -                         Firmware                       V 2.0.12                      
Rack:                         0
Slot:                         2
Event 1 of 10:  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:
- Automatic warm restart after backed up power on
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:
- Automatic warm restart after backed up power on
Previous operating mode: STARTUP (warm restart)
Requested operating mode: RUN
Incoming event
12:17:30.475 PM  05/06/2009
Event 2 of 10:  Event ID 16# 1382
Request for automatic 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:
- Automatic warm restart after backed up power on
Permissibility of certain startup types:
- Manual warm restart permitted
- Automatic warm restart permitted
Last valid operation or setting of the automatic startup type at power on:
- Automatic warm restart after backed up power on
Requested OB: Startup OB (OB100)
Priority class: 27
Incoming event
12:17:30.473 PM  05/06/2009
Event 3 of 10:  Event ID 16# 4301
Mode transition from STOP to STARTUP
STOP due to: STOP caused by programming error (OB not loaded or not possible, or no FRB)
Startup information:
- Time for time stamp at the last backed up power on
- Single processor operation
Current/last startup type:
- Automatic warm restart after backed up power on
Permissibility of certain startup types:
- Manual warm restart permitted
- Automatic warm restart permitted
Last valid operation or setting of the automatic startup type at power on:
- Automatic warm restart after backed up power on
Previous operating mode: STOP (internal)
Requested operating mode: STARTUP (warm restart)
Incoming event
12:17:29.909 PM  05/06/2009
Event 4 of 10:  Event ID 16# 4300
Power on backed up
Previous operating mode: No voltage
Requested operating mode: STOP (own initialization)
Incoming event
12:17:25.698 PM  05/06/2009
Event 5 of 10:  Event ID 16# 494E
Power failure
Previous operating mode: STOP (internal)
Requested operating mode: No voltage
External error, Incoming event
12:16:54.162 PM  05/06/2009
Event 6 of 10:  Event ID 16# 4562
STOP caused by programming error (OB not loaded or not possible, or no FRB)
Breakpoint in user program: Time-of-day interrupt OB (OB  10)
Priority class:    2
OB number:     10
Module address:     30
Previous operating mode: RUN
Requested operating mode: STOP (internal)
Internal error, Incoming event
12:00:00.014 PM  05/06/2009
Event 7 of 10:  Event ID 16# 2523
Area length error when writing
I area, bit access, Access address:   2058
Requested OB: Programming error OB (OB121)
OB not found, or disabled, or cannot be started in the current operating mode
Internal error, Incoming event
12:00:00.005 PM  05/06/2009
Event 8 of 10:  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
08:35:57.371 AM  05/06/2009
Event 9 of 10:  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
08:35:57.370 AM  05/06/2009
Event 10 of 10:  Event ID 16# 4301
Mode transition from STOP to STARTUP
STOP due to: STOP caused by programming error (OB not loaded or not possible, or no FRB)
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 the automatic startup type at power on:
- Warm restart triggered by switch setting; last power on backed up
Previous operating mode: STOP (internal)
Requested operating mode: STARTUP (warm restart)
Incoming event
08:35:56.803 AM  05/06/2009
09-05-06 13:39
不清楚您有沒有注意到診斷信息中那幾行清晰的:STOP caused by programming error
后面的解釋為編程錯誤,意為由于編程錯誤,導致系統搜索錯誤診斷組織塊OB121,由于系統中不存在OB121,導致進入Stop狀態。
您需要去檢測您的程式是否有問題,比如除零錯誤,雖然很多人說,不可能是程式問題,但是不能排除您的程式經過若干次運算后不會出現此狀況。當然,數組越界,訪問不存在的地址,如原先程式中訪問DB10.DBW0,由于DB10的無下載,因此也會導致此狀況的發生。
總之,請您仔細去檢查您的程式,就我個人而言,僅僅依靠OB121來阻止進入Stop狀態并不是明智的舉動。
Regards
09-05-06 15:07

工控新闻

更多新闻资讯