cpu暴死求助(续1)

已锁定

cooler

  • 帖子

    50
  • 精华

    0
  • 被关注

    4

论坛等级:游民

注册时间:2007-10-25

普通 普通 如何晋级?

cpu暴死求助(续1)

1293

6

2011-05-07 14:50:50

315-2pn/dp的cpu一运行下面的工程就暴死掉了,扫描周期超过了500ms,只能停掉工程后warm start才可以将cpu重新运行起来,请大侠指点!
报警代码:
Diagnostic buffer of module CPU 315-2PN/DP
Order No./ Des cription Component Version
6ES7 315-2EH14-0AB0 Hardware 2
- - - Firmware V 3.1.1
Boot Loader Firmware expansion A 26.7.7
Rack: 0
Slot: 2
Serial number: S C-AOV149302010
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
07:08:17.973 AM 04/28/2011
Event 2 of 500: Event ID 16# 3501
Cycle time exceeded
Run time of the last cycle (ms): 150
Cause: Cyclic interrupt clock pulse generator 3
Causing OB: Cyclic interrupt OB (OB 32)
Causing priority class: 9
Requested OB: Timing error OB (OB80)
Priority class: 26
Internal error, Incoming event
07:08:17.823 AM 04/28/2011
帮助提示:
Possible causes:
?Overflow of an internal buffer when entering an asynchronous error OB request (only with the S7-400)
To correct or avoid errors:
Reduce the run time of the asynchronous error OBs or change the priority of individual asynchronous error OBs with STEP 7 (for example, assign OB81, OB82, OB83, OB86 and OB87 to priority class 24 or 25).
?The watchdog was triggered several times in quick succession.
To correct or avoid errors:
Reduce the scan time or retrigger the watchdog with SFC 43 "RE_TRIGR".
The time error OB (OB80) was requested several times although it was not yet been completely executed.
To correct or avoid errors:
Avoid time errors occurring in quick succession (for example, extend the cyclic interrupt intervals) or reduce the time required to service them.
?A hardware interrupt was set by a module although the previous interrupt for this module had not yet been serviced.
To correct or avoid errors:
Replace the module.
我的工程代码如下,希望各位大侠帮忙查找原因:

Network1

SET
R "Fast_Cooling".FT_out_OK
R "Fast_Cooling".FT_in_OK

A "Fast_Cooling".Start
FN "Fast_Cooling".FN
JNB _001

L 1
T "Fast_Cooling".FTNO_out
T "Fast_Cooling".FTNO_in

L 0
T "Fast_Cooling".StepNo
T "Fast_Cooling".RunTime
T "Fast_Cooling".StepRunTime
T DB431.DBW 64

L 0.000000e+000
T "Fast_Cooling".FT_outAmount
T "Fast_Cooling".FT_inAmount
T "Fast_Cooling".FQ_Begin
T "Fast_Cooling".FQ_End
T "Fast_Cooling".FT_Beer

_001: NOP 0

Network2

A "Fast_Cooling".Start
FP "Fast_Cooling".FP
JCN _002


L "Fast_Cooling".FTNO_out
L 1
-I
L 32 //4*8
*I
L 800 //100*8
+I
LAR1

L "Fast_Cooling".FTNO_in
L 1
-I
L 32 //4*8
*I
L 2432 //304*8
+I
LAR2

OPN "Fast_Cooling"
L DBD [AR1,P#0.0]
T DBD 12

L DBD [AR2,P#0.0]
T DBD 16

L "Fast_Cooling".PipeOutSet
L "Fast_Cooling".PipeInSet
+R
T "Fast_Cooling".PipeSet

_002: NOP 0

A "Fast_Cooling".Start
JNB _end

CALL "Other_Tank_No"
Current_Tank_No:="Fast_Cooling".FTNO_out
Other_Tank_No1 :=#Temp_Tank_out_Other1
Other_Tank_No2 :=#Temp_Tank_out_Other2
Three_Two :=#Two_or_Three_out

CALL "Other_Tank_No"
Current_Tank_No:="Fast_Cooling".FTNO_in
Other_Tank_No1 :=#Temp_Tank_in_Other1
Other_Tank_No2 :=#Temp_Tank_in_Other2
Three_Two :=#Two_or_Three_in


SET
OPN "FTvalve"
A #Two_or_Three_out
JCN O201
L #Temp_Tank_out_Other2
L 1
-I
L 160
*I
L 80
+I
LAR1
R DBX [AR1,P#0.3]
R DBX [AR1,P#0.5]
R DBX [AR1,P#4.3]
S DBX [AR1,P#4.5]
O201: NOP 0
L #Temp_Tank_out_Other1
L 1
-I
L 160
*I
L 80
+I
LAR1
R DBX [AR1,P#0.3]
R DBX [AR1,P#0.5]
R DBX [AR1,P#4.3]
S DBX [AR1,P#4.5]

A #Two_or_Three_in
JCN O202
L #Temp_Tank_in_Other2
L 1
-I
L 160
*I
L 80
+I
LAR1

R DBX [AR1,P#0.3]
R DBX [AR1,P#0.5]
R DBX [AR1,P#4.3]
S DBX [AR1,P#4.5]

O202: NOP 0
L #Temp_Tank_in_Other1
L 1
-I
L 160
*I
L 80
+I
LAR1

R DBX [AR1,P#0.3]
R DBX [AR1,P#0.5]
R DBX [AR1,P#4.3]
S DBX [AR1,P#4.5]


Network3


L "Fast_Cooling".RunTime
L 1
+I
T "Fast_Cooling".RunTime

AN "Fast_Cooling".Pause
JNB _end

L "Fast_Cooling".StepRunTime
L 1
+I
T "Fast_Cooling".StepRunTime


Network4

L "Fast_Cooling".StepNo
L 1
==I
FP "Fast_Cooling".FP_1
JNB _021
L 0
T "Fast_Cooling".StepRunTime
_021: NOP 0
L "Fast_Cooling".StepNo
L 2
==I
FP "Fast_Cooling".FP_2
JNB _022
L 0
T "Fast_Cooling".StepRunTime
_022: NOP 0
L "Fast_Cooling".StepNo
L 3
==I
FP "Fast_Cooling".FP_3
JNB _023
L 0
T "Fast_Cooling".StepRunTime
_023: NOP 0
L "Fast_Cooling".StepNo
L 4
==I
FP "Fast_Cooling".FP_4
JNB _024
L 0
T "Fast_Cooling".StepRunTime
_024: NOP 0
L "Fast_Cooling".StepNo
L 5
==I
FP "Fast_Cooling".FP_5
JNB _025
L 0
T "Fast_Cooling".StepRunTime
_025: NOP 0
L "Fast_Cooling".StepNo
L 6
==I
FP "Fast_Cooling".FP_6
JNB _026
L 0
T "Fast_Cooling".StepRunTime
_026: NOP 0
L "Fast_Cooling".StepNo
L 7
==I
FP "Fast_Cooling".FP_7
JNB _027
L 0
T "Fast_Cooling".StepRunTime
_027: NOP 0


Network 5

CALL "valva_status"
FTNO :="Fast_Cooling".FTNO_out
FTNO1 :=#Temp_Tank_out_Other1
FTNO2 :=#Temp_Tank_out_Other2
Two_or_three :=#Two_or_Three_out
currently_Tank_status:=#Temp_out_Current_V
Other_Tank_status :=#Temp_out_Other_V

CALL "valva_status"
FTNO :="Fast_Cooling".FTNO_in
FTNO1 :=#Temp_Tank_in_Other1
FTNO2 :=#Temp_Tank_in_Other2
Two_or_three :=#Two_or_Three_in
currently_Tank_status:=#Temp_in_Current_V
Other_Tank_status :=#Temp_in_Other_V
A #Temp_out_Current_V
A #Temp_out_Other_V
= "Fast_Cooling".FT_out_OK
A #Temp_in_Current_V
A #Temp_in_Other_V
= "Fast_Cooling".FT_in_OK
//调用的“valva_status”逻辑没问题的,我检查了

Network6

L "Fast_Cooling".FTNO_out
L 1
-I
L 240
*I
L 80
+I
LAR1

OPN "FT_GS"
A DBX [AR1,P#0.0]
L S5T#3S
SF T 41
A T 41
= #Temp_Empty


Network7
L "Fast_Cooling".StepNo
JL B_00
JU B_00
JU B_01
JU B_02
JU B_03
JU B_04
JU B_05
JU B_06
JU B_07
B_00: NOP 0
L 1
T "Fast_Cooling".StepNo
JU sign


Network8

B_01: NOP 0

//罐体积传送
L "Fast_Cooling".FTNO_out
T #Temp_Tank_out
OPN DB [#Temp_Tank_out]
L DBD 262
T "Fast_Cooling".FT_outAmount

L "Fast_Cooling".FTNO_in
T #Temp_Tank_in
OPN DB [#Temp_Tank_in]
L DBD 262
T "Fast_Cooling".FT_inAmount

//步骤跳步
AN "Fast_Cooling".FT_out_OK
AN "Fast_Cooling".FT_in_OK
L "Fast_Cooling".StepRunTime
L 30
>I
JCN c_10
L 2
T "Fast_Cooling".StepNo
c_10: NOP 0
JU sign


Network9

B_02: NOP 0
//倒酒参与罐的截止阀阀
OPN "FTvalve"
L "Fast_Cooling".FTNO_out
L 1
-I
L 160
*I
L 80
+I
LAR1
R DBX [AR1,P#0.3]
R DBX [AR1,P#0.5]
R DBX [AR1,P#4.3]
S DBX [AR1,P#4.5]

L "Fast_Cooling".FTNO_in
L 1
-I
L 160
*I
L 80
+I
LAR2
R DBX [AR2,P#0.3]
R DBX [AR2,P#0.5]
R DBX [AR2,P#4.3]
S DBX [AR2,P#4.5]
//脱氧水泵
A #Temp_out_Other_V
A #Temp_in_Other_V
AN DBX [AR1,P#4.2]
AN DBX [AR2,P#4.2]
L S5T#5S
SD T 46
A T 46
S "DB_SC440001".Sign.PLC_Start

A "DB_SC440001".Object.FeedBackRun
A(
L "Fast_Cooling".StepRunTime
L 180
>I
)
JCN c_20
L 3
T "Fast_Cooling".StepNo
c_20: NOP 0
JU sign


Network9

B_03: NOP 0
A(
L "Fast_Cooling".StepNo
L 3
==I
)
FP DB431.DBX 65.1
JCN O301
//流量相减
L "Fast_Cooling".FTNO_out
T #Temp_Tank_out
OPN DB [#Temp_Tank_out]
L "Fast_Cooling".FT_outAmount
L "Fast_Cooling".FQ_Begin
-R
T DBD 262
O301: NOP 0
//计算酒定水量的累计
CALL "FQ ADD Cover FC"
Sign_Add:=TRUE
FT_IN :="PT/LT Analog".FT310001.PV
FT_Add :="Fast_Cooling".FQ_Begin
//开罐底阀
L "Fast_Cooling".FTNO_out
L 1
-I
L 160
*I
L 80
+I
LAR1

L "Fast_Cooling".FTNO_in
L 1
-I
L 160
*I
L 80
+I
LAR2


OPN "FTvalve"
A #Temp_Empty
R DBX [AR1,P#0.3]
S DBX [AR1,P#0.5]
SET
R DBX [AR2,P#4.3]
S DBX [AR2,P#4.5]
//步骤跳段
L "Fast_Cooling".FQ_Begin
L "Fast_Cooling".PipeSet
>R
JCN c_30
L 4
T "Fast_Cooling".StepNo
c_30: NOP 0
JU sign


Network11

B_04: NOP 0
//重复写是考虑到跳步的时候阀门会关一下,所以...
OPN "FTvalve"
L "Fast_Cooling".FTNO_in
L 1
-I
L 160
*I
L 80
+I
LAR2

S DBX [AR2,P#0.5]
//初始化两个罐的指针
SET
L "Fast_Cooling".FTNO_out
L 1
-I
L 160
*I
L 80
+I
LAR1

L "Fast_Cooling".FTNO_in
L 1
-I
L 160
*I
L 80
+I
LAR2

S DBX [AR2,P#0.5]
A #Temp_Empty
S DBX [AR1,P#0.5]
//开启相应的A区B区泵
A "Fast_Cooling".FT_in_OK
A "Fast_Cooling".FT_out_OK
L S5T#30S
SD T 42
A T 42
S "DB_SC410101".Sign.PLC_Start
//流量累加
CALL "FQ ADD Cover FC"
Sign_Add:=TRUE
FT_IN :="PT/LT Analog".FT310001.PV
FT_Add :="Fast_Cooling".FT_Beer
//步骤跳段
AN #Temp_Empty
JCN c_40

//流量相减
L "Fast_Cooling".FTNO_out
T #Temp_Tank_out
OPN DB [#Temp_Tank_out]
L "Fast_Cooling".FT_outAmount
L "Fast_Cooling".FT_Beer
-R
T DBD 262

//流量相加
L "Fast_Cooling".FTNO_in
T #Temp_Tank_in
OPN DB [#Temp_Tank_in]
L "Fast_Cooling".FT_inAmount
L "Fast_Cooling".FT_Beer
+R
T DBD 262
L 5
T "Fast_Cooling".StepNo
c_40: NOP 0
JU sign


Network12

B_05: NOP 0
//开罐底阀
SET
OPN "FTvalve"
L "Fast_Cooling".FTNO_in
L 1
-I
L 160
*I
L 80
+I
LAR1
S DBX [AR1,P#0.5]
//开罐底截止阀
L "Fast_Cooling".FTNO_out
L 1
-I
L 160
*I
L 80
+I
LAR2
S DBX [AR2,P#4.5]
//脱氧水泵
AN DBX [AR2,P#4.2]
A #Temp_out_Other_V
A #Temp_in_Other_V
A "Fast_Cooling".FT_in_OK
L S5T#5S
SD T 45
A T 45
S "DB_SC440001".Sign.PLC_Start
//流量累加
CALL "FQ ADD Cover FC"
Sign_Add:=TRUE
FT_IN :="PT/LT Analog".FT310001.PV
FT_Add :="Fast_Cooling".FT_Beer

CALL "FQ ADD Cover FC"
Sign_Add:=TRUE
FT_IN :="PT/LT Analog".FT310001.PV
FT_Add :="Fast_Cooling".FQ_End
//步骤跳段
L "Fast_Cooling".FQ_End
L "Fast_Cooling".PipeSet
>R
JCN c_50
//流量相加

L "Fast_Cooling".FTNO_in
T #Temp_Tank_in
OPN DB [#Temp_Tank_in]
L "Fast_Cooling".FT_inAmount
L "Fast_Cooling".FT_Beer
+R
T DBD 262
L 6
T "Fast_Cooling".StepNo
c_50: NOP 0
JU sign

Network13

B_06: NOP 0

//开罐底截止阀
OPN "FTvalve"
L "Fast_Cooling".FTNO_out
L 1
-I
L 160
*I
L 80
+I
LAR1
R DBX [AR1,P#0.3]
R DBX [AR1,P#0.5]
R DBX [AR1,P#4.3]
S DBX [AR1,P#4.5]

L "Fast_Cooling".FTNO_in
L 1
-I
L 160
*I
L 80
+I
LAR2
R DBX [AR2,P#0.3]
R DBX [AR2,P#0.5]
R DBX [AR2,P#4.3]
S DBX [AR2,P#4.5]
//脱氧水泵
AN DBX [AR2,P#4.2]
AN DBX [AR1,P#4.2]
A #Temp_out_Other_V
A #Temp_in_Other_V
S "DB_SC440001".Sign.PLC_Start

L "Fast_Cooling".StepRunTime
L 180
>I
JCN c_60
L 7
T "Fast_Cooling".StepNo
c_60: NOP 0
JU sign


Network14

B_07: NOP 0


Network15

sign: NOP 0

Network16

_end: NOP 0

Network17

A "Fast_Cooling".Start
AN "Fast_Cooling".Pause
A(
L "Fast_Cooling".StepNo
L 4
==I
)
A #Temp_Valve_OK
A "DB_SC410101".Object.FeedBackRun
L S5T#1M
SD T 44
NOP 0
NOP 0
NOP 0
A T 44
S "DB_CV530001".Sign.PLC_Start
cpu暴死求助(续1) 已锁定
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54699条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。