PROGRAM SWP VAR_EXTERNAL END_VAR VAR_GLOBAL END_VAR VAR SWPB1H01_RunTime1:BS_RunTime; SWPB1H01_RunTime2:BS_RunTime; SWPB1H02_RunTime1:BS_RunTime; SWPB1H02_RunTime2:BS_RunTime; SWPB1H03_RunTime1:BS_RunTime; SWPB1H03_RunTime2:BS_RunTime; SWPB1H04_RunTime1:BS_RunTime; SWPB1H04_RunTime2:BS_RunTime; SWPB1H05_RunTime1:BS_RunTime; SWPB1H05_RunTime2:BS_RunTime; SWPB1H06_RunTime1:BS_RunTime; SWPB1H06_RunTime2:BS_RunTime; SWPB1H07_RunTime1:BS_RunTime; SWPB1H07_RunTime2:BS_RunTime; EAFB1H01_RunTime:BS_RunTime; EAFB1H02_RunTime:BS_RunTime; EAFB1H03_RunTime:BS_RunTime; END_VAR (*Automatically declared*) VAR_EXTERNAL LSWPB1H05_RH2 : REAL; LSWPB1H04_R2 : BOOL; LSWPB1H04_R1 : BOOL; LSWPB1H05_RSTV2 : REAL; LSWPB1H05_RH1 : REAL; LSWPB1H04_RH1 : REAL; LSWPB1H01_RSTV2 : REAL; LEAFB1H01_RH : REAL; LSWPB1H04_RST2 : BOOL; LSWPB1H04_RST1 : BOOL; LSWPB1H03_R2 : BOOL; LSWPB1H03_R1 : BOOL; LEAFB1H01_R : BOOL; LEAFB1H02_RSTV : REAL; LEAFB1H02_RST : BOOL; LEAFB1H03_RSTV : REAL; LEAFB1H03_RST : BOOL; LSWPB1H03_RSTV2 : REAL; LSWPB1H01_RH2 : REAL; LEAFB1H03_RH : REAL; LSWPB1H03_RSTV1 : REAL; LSWPB1H01_RH1 : REAL; LEAFB1H03_R : BOOL; LSWPB1H05_R2 : BOOL; LSWPB1H05_R1 : BOOL; LSWPB1H04_RSTV2 : REAL; LSWPB1H02_RST2 : BOOL; LSWPB1H02_RST1 : BOOL; LSWPB1H04_RSTV1 : REAL; LEAFB1H02_RH : REAL; LSWPB1H03_RH1 : REAL; LSWPB1H02_RH1 : REAL; LEAFB1H02_R : BOOL; LEAFB1H01_RSTV : REAL; LEAFB1H01_RST : BOOL; LSWPB1H05_RST2 : BOOL; LSWPB1H05_RST1 : BOOL; LSWPB1H02_RH2 : REAL; LSWPB1H02_RSTV1 : REAL; LSWPB1H01_RST2 : BOOL; LSWPB1H01_RST1 : BOOL; LSWPB1H02_R2 : BOOL; LSWPB1H02_R1 : BOOL; LSWPB1H02_RSTV2 : REAL; LSWPB1H05_RSTV1 : REAL; LSWPB1H04_RH2 : REAL; LSWPB1H03_RH2 : REAL; LSWPB1H03_RST2 : BOOL; LSWPB1H03_RST1 : BOOL; LSWPB1H01_RSTV1 : REAL; LSWPB1H01_R2 : BOOL; LSWPB1H01_R1 : BOOL; END_VAR (** {*运行累积时间*} **) (** SWPB1H01_RunTime1(RUN :=LSWPB1H01_R1 , RUNTIMESET :=LSWPB1H01_RSTV1 , RUNTIMERST :=LSWPB1H01_RST1 , RunTimeRec_In :=LSWPB1H01_RH1 | LSWPB1H01_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H01_RunTime1 ( RUN := LSWPB1H01_R1, RUNTIMESET := LSWPB1H01_RSTV1, RUNTIMERST := LSWPB1H01_RST1, RunTimeRec_In := LSWPB1H01_RH1 | LSWPB1H01_RH1 := RUNTIME ) (** SWPB1H01_RunTime2(RUN :=LSWPB1H01_R2 , RUNTIMESET :=LSWPB1H01_RSTV2 , RUNTIMERST :=LSWPB1H01_RST2 , RunTimeRec_In :=LSWPB1H01_RH2 | LSWPB1H01_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H01_RunTime2 ( RUN := LSWPB1H01_R2, RUNTIMESET := LSWPB1H01_RSTV2, RUNTIMERST := LSWPB1H01_RST2, RunTimeRec_In := LSWPB1H01_RH2 | LSWPB1H01_RH2 := RUNTIME ) (** SWPB1H02_RunTime1(RUN :=LSWPB1H02_R1 , RUNTIMESET :=LSWPB1H02_RSTV1 , RUNTIMERST :=LSWPB1H02_RST1 , RunTimeRec_In :=LSWPB1H02_RH1 | LSWPB1H02_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H02_RunTime1 ( RUN := LSWPB1H02_R1, RUNTIMESET := LSWPB1H02_RSTV1, RUNTIMERST := LSWPB1H02_RST1, RunTimeRec_In := LSWPB1H02_RH1 | LSWPB1H02_RH1 := RUNTIME ) (** SWPB1H02_RunTime2(RUN :=LSWPB1H02_R2 , RUNTIMESET :=LSWPB1H02_RSTV2 , RUNTIMERST :=LSWPB1H02_RST2 , RunTimeRec_In :=LSWPB1H02_RH2 | LSWPB1H02_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H02_RunTime2 ( RUN := LSWPB1H02_R2, RUNTIMESET := LSWPB1H02_RSTV2, RUNTIMERST := LSWPB1H02_RST2, RunTimeRec_In := LSWPB1H02_RH2 | LSWPB1H02_RH2 := RUNTIME ) (** SWPB1H03_RunTime1(RUN :=LSWPB1H03_R1 , RUNTIMESET :=LSWPB1H03_RSTV1 , RUNTIMERST :=LSWPB1H03_RST1 , RunTimeRec_In :=LSWPB1H03_RH1 | LSWPB1H03_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H03_RunTime1 ( RUN := LSWPB1H03_R1, RUNTIMESET := LSWPB1H03_RSTV1, RUNTIMERST := LSWPB1H03_RST1, RunTimeRec_In := LSWPB1H03_RH1 | LSWPB1H03_RH1 := RUNTIME ) (** SWPB1H03_RunTime2(RUN :=LSWPB1H03_R2 , RUNTIMESET :=LSWPB1H03_RSTV2 , RUNTIMERST :=LSWPB1H03_RST2 , RunTimeRec_In :=LSWPB1H03_RH2 | LSWPB1H03_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H03_RunTime2 ( RUN := LSWPB1H03_R2, RUNTIMESET := LSWPB1H03_RSTV2, RUNTIMERST := LSWPB1H03_RST2, RunTimeRec_In := LSWPB1H03_RH2 | LSWPB1H03_RH2 := RUNTIME ) (** SWPB1H04_RunTime1(RUN :=LSWPB1H04_R1 , RUNTIMESET :=LSWPB1H04_RSTV1 , RUNTIMERST :=LSWPB1H04_RST1 , RunTimeRec_In :=LSWPB1H04_RH1 | LSWPB1H04_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H04_RunTime1 ( RUN := LSWPB1H04_R1, RUNTIMESET := LSWPB1H04_RSTV1, RUNTIMERST := LSWPB1H04_RST1, RunTimeRec_In := LSWPB1H04_RH1 | LSWPB1H04_RH1 := RUNTIME ) (** SWPB1H04_RunTime2(RUN :=LSWPB1H04_R2 , RUNTIMESET :=LSWPB1H04_RSTV2 , RUNTIMERST :=LSWPB1H04_RST2 , RunTimeRec_In :=LSWPB1H04_RH2 | LSWPB1H04_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H04_RunTime2 ( RUN := LSWPB1H04_R2, RUNTIMESET := LSWPB1H04_RSTV2, RUNTIMERST := LSWPB1H04_RST2, RunTimeRec_In := LSWPB1H04_RH2 | LSWPB1H04_RH2 := RUNTIME ) (** SWPB1H05_RunTime1(RUN :=LSWPB1H05_R1 , RUNTIMESET :=LSWPB1H05_RSTV1 , RUNTIMERST :=LSWPB1H05_RST1 , RunTimeRec_In :=LSWPB1H05_RH1 | LSWPB1H05_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H05_RunTime1 ( RUN := LSWPB1H05_R1, RUNTIMESET := LSWPB1H05_RSTV1, RUNTIMERST := LSWPB1H05_RST1, RunTimeRec_In := LSWPB1H05_RH1 | LSWPB1H05_RH1 := RUNTIME ) (** SWPB1H05_RunTime2(RUN :=LSWPB1H05_R2 , RUNTIMESET :=LSWPB1H05_RSTV2 , RUNTIMERST :=LSWPB1H05_RST2 , RunTimeRec_In :=LSWPB1H05_RH2 | LSWPB1H05_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1H05_RunTime2 ( RUN := LSWPB1H05_R2, RUNTIMESET := LSWPB1H05_RSTV2, RUNTIMERST := LSWPB1H05_RST2, RunTimeRec_In := LSWPB1H05_RH2 | LSWPB1H05_RH2 := RUNTIME ) (** **) (** **) (** {*运行累积时间*} **) (** EAFB1H01_RunTime(RUN :=LEAFB1H01_R , RUNTIMESET :=LEAFB1H01_RSTV , RUNTIMERST :=LEAFB1H01_RST, RunTimeRec_In :=LEAFB1H01_RH | LEAFB1H01_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1H01_RunTime ( RUN := LEAFB1H01_R, RUNTIMESET := LEAFB1H01_RSTV, RUNTIMERST := LEAFB1H01_RST, RunTimeRec_In := LEAFB1H01_RH | LEAFB1H01_RH := RUNTIME ) (** EAFB1H02_RunTime(RUN :=LEAFB1H02_R , RUNTIMESET :=LEAFB1H02_RSTV , RUNTIMERST :=LEAFB1H02_RST, RunTimeRec_In :=LEAFB1H02_RH | LEAFB1H02_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1H02_RunTime ( RUN := LEAFB1H02_R, RUNTIMESET := LEAFB1H02_RSTV, RUNTIMERST := LEAFB1H02_RST, RunTimeRec_In := LEAFB1H02_RH | LEAFB1H02_RH := RUNTIME ) (** EAFB1H03_RunTime(RUN :=LEAFB1H03_R , RUNTIMESET :=LEAFB1H03_RSTV , RUNTIMERST :=LEAFB1H03_RST, RunTimeRec_In :=LEAFB1H03_RH | LEAFB1H03_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1H03_RunTime ( RUN := LEAFB1H03_R, RUNTIMESET := LEAFB1H03_RSTV, RUNTIMERST := LEAFB1H03_RST, RunTimeRec_In := LEAFB1H03_RH | LEAFB1H03_RH := RUNTIME ) END_PROGRAM