PROGRAM SWP VAR_EXTERNAL END_VAR VAR_GLOBAL END_VAR VAR SWPB1E01_RunTime1:BS_RunTime; SWPB1E01_RunTime2:BS_RunTime; SWPB1E02_RunTime1:BS_RunTime; SWPB1E02_RunTime2:BS_RunTime; SWPB1E03_RunTime1:BS_RunTime; SWPB1E03_RunTime2:BS_RunTime; SWPB1E04_RunTime1:BS_RunTime; SWPB1E04_RunTime2:BS_RunTime; SWPB1E05_RunTime1:BS_RunTime; SWPB1E05_RunTime2:BS_RunTime; SWPB1E06_RunTime1:BS_RunTime; SWPB1E06_RunTime2:BS_RunTime; SWPB1E07_RunTime1:BS_RunTime; SWPB1E07_RunTime2:BS_RunTime; SWPB1E08_RunTime1:BS_RunTime; SWPB1E08_RunTime2:BS_RunTime; EAFB1E01_RunTime:BS_RunTime; EAFB1E02_RunTime:BS_RunTime; END_VAR (*Automatically declared*) VAR_EXTERNAL LSWPB1E08_RSTV2 : REAL; LSWPB1E08_RST2 : BOOL; LSWPB1E08_RST1 : BOOL; LSWPB1E04_RSTV2 : REAL; LSWPB1E08_RSTV1 : REAL; LSWPB1E04_RSTV1 : REAL; LSWPB1E01_RH1 : REAL; LEAFB1E02_RSTV : REAL; LEAFB1E02_RST : BOOL; LSWPB1E07_RSTV1 : REAL; LSWPB1E04_RST2 : BOOL; LSWPB1E04_RST1 : BOOL; LSWPB1E03_RH2 : REAL; LSWPB1E01_RH2 : REAL; LSWPB1E07_R2 : BOOL; LSWPB1E07_R1 : BOOL; LSWPB1E01_R2 : BOOL; LSWPB1E01_R1 : BOOL; LEAFB1E01_RSTV : REAL; LEAFB1E01_RST : BOOL; LSWPB1E04_RH1 : REAL; LSWPB1E01_RSTV1 : REAL; LSWPB1E07_RH2 : REAL; LSWPB1E01_RSTV2 : REAL; LEAFB1E02_RH : REAL; LSWPB1E08_RH1 : REAL; LSWPB1E03_RH1 : REAL; LSWPB1E02_RH2 : REAL; LEAFB1E02_R : BOOL; LEAFB1E01_RH : REAL; LSWPB1E04_RH2 : REAL; LSWPB1E02_RH1 : REAL; LSWPB1E02_RSTV1 : REAL; LEAFB1E01_R : BOOL; LSWPB1E02_R2 : BOOL; LSWPB1E02_R1 : BOOL; LSWPB1E07_RH1 : REAL; LSWPB1E06_RH2 : REAL; LSWPB1E05_RSTV1 : REAL; LSWPB1E05_R2 : BOOL; LSWPB1E05_R1 : BOOL; LSWPB1E08_RH2 : REAL; LSWPB1E07_RST2 : BOOL; LSWPB1E07_RST1 : BOOL; LSWPB1E06_RH1 : REAL; LSWPB1E05_RSTV2 : REAL; LSWPB1E02_RSTV2 : REAL; LSWPB1E04_R2 : BOOL; LSWPB1E04_R1 : BOOL; LSWPB1E03_RST2 : BOOL; LSWPB1E03_RST1 : BOOL; LSWPB1E06_RST2 : BOOL; LSWPB1E06_RST1 : BOOL; LSWPB1E06_RSTV1 : REAL; LSWPB1E03_RSTV2 : REAL; LSWPB1E08_R2 : BOOL; LSWPB1E08_R1 : BOOL; LSWPB1E03_R2 : BOOL; LSWPB1E03_R1 : BOOL; LSWPB1E05_RH1 : REAL; LSWPB1E06_R2 : BOOL; LSWPB1E06_R1 : BOOL; LSWPB1E05_RH2 : REAL; LSWPB1E05_RST2 : BOOL; LSWPB1E05_RST1 : BOOL; LSWPB1E02_RST2 : BOOL; LSWPB1E02_RST1 : BOOL; LSWPB1E06_RSTV2 : REAL; LSWPB1E03_RSTV1 : REAL; LSWPB1E01_RST2 : BOOL; LSWPB1E01_RST1 : BOOL; LSWPB1E07_RSTV2 : REAL; END_VAR (** {*运行累积时间*} **) (** SWPB1E01_RunTime1(RUN :=LSWPB1E01_R1 , RUNTIMESET :=LSWPB1E01_RSTV1 , RUNTIMERST :=LSWPB1E01_RST1 , RunTimeRec_In :=LSWPB1E01_RH1 | LSWPB1E01_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E01_RunTime1 ( RUN := LSWPB1E01_R1, RUNTIMESET := LSWPB1E01_RSTV1, RUNTIMERST := LSWPB1E01_RST1, RunTimeRec_In := LSWPB1E01_RH1 | LSWPB1E01_RH1 := RUNTIME ) (** SWPB1E01_RunTime2(RUN :=LSWPB1E01_R2 , RUNTIMESET :=LSWPB1E01_RSTV2 , RUNTIMERST :=LSWPB1E01_RST2 , RunTimeRec_In :=LSWPB1E01_RH2 | LSWPB1E01_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E01_RunTime2 ( RUN := LSWPB1E01_R2, RUNTIMESET := LSWPB1E01_RSTV2, RUNTIMERST := LSWPB1E01_RST2, RunTimeRec_In := LSWPB1E01_RH2 | LSWPB1E01_RH2 := RUNTIME ) (** SWPB1E02_RunTime1(RUN :=LSWPB1E02_R1 , RUNTIMESET :=LSWPB1E02_RSTV1 , RUNTIMERST :=LSWPB1E02_RST1 , RunTimeRec_In :=LSWPB1E02_RH1 | LSWPB1E02_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E02_RunTime1 ( RUN := LSWPB1E02_R1, RUNTIMESET := LSWPB1E02_RSTV1, RUNTIMERST := LSWPB1E02_RST1, RunTimeRec_In := LSWPB1E02_RH1 | LSWPB1E02_RH1 := RUNTIME ) (** SWPB1E02_RunTime2(RUN :=LSWPB1E02_R2 , RUNTIMESET :=LSWPB1E02_RSTV2 , RUNTIMERST :=LSWPB1E02_RST2 , RunTimeRec_In :=LSWPB1E02_RH2 | LSWPB1E02_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E02_RunTime2 ( RUN := LSWPB1E02_R2, RUNTIMESET := LSWPB1E02_RSTV2, RUNTIMERST := LSWPB1E02_RST2, RunTimeRec_In := LSWPB1E02_RH2 | LSWPB1E02_RH2 := RUNTIME ) (** SWPB1E03_RunTime1(RUN :=LSWPB1E03_R1 , RUNTIMESET :=LSWPB1E03_RSTV1 , RUNTIMERST :=LSWPB1E03_RST1 , RunTimeRec_In :=LSWPB1E03_RH1 | LSWPB1E03_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E03_RunTime1 ( RUN := LSWPB1E03_R1, RUNTIMESET := LSWPB1E03_RSTV1, RUNTIMERST := LSWPB1E03_RST1, RunTimeRec_In := LSWPB1E03_RH1 | LSWPB1E03_RH1 := RUNTIME ) (** SWPB1E03_RunTime2(RUN :=LSWPB1E03_R2 , RUNTIMESET :=LSWPB1E03_RSTV2 , RUNTIMERST :=LSWPB1E03_RST2 , RunTimeRec_In :=LSWPB1E03_RH2 | LSWPB1E03_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E03_RunTime2 ( RUN := LSWPB1E03_R2, RUNTIMESET := LSWPB1E03_RSTV2, RUNTIMERST := LSWPB1E03_RST2, RunTimeRec_In := LSWPB1E03_RH2 | LSWPB1E03_RH2 := RUNTIME ) (** SWPB1E04_RunTime1(RUN :=LSWPB1E04_R1 , RUNTIMESET :=LSWPB1E04_RSTV1 , RUNTIMERST :=LSWPB1E04_RST1 , RunTimeRec_In :=LSWPB1E04_RH1 | LSWPB1E04_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E04_RunTime1 ( RUN := LSWPB1E04_R1, RUNTIMESET := LSWPB1E04_RSTV1, RUNTIMERST := LSWPB1E04_RST1, RunTimeRec_In := LSWPB1E04_RH1 | LSWPB1E04_RH1 := RUNTIME ) (** SWPB1E04_RunTime2(RUN :=LSWPB1E04_R2 , RUNTIMESET :=LSWPB1E04_RSTV2 , RUNTIMERST :=LSWPB1E04_RST2 , RunTimeRec_In :=LSWPB1E04_RH2 | LSWPB1E04_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E04_RunTime2 ( RUN := LSWPB1E04_R2, RUNTIMESET := LSWPB1E04_RSTV2, RUNTIMERST := LSWPB1E04_RST2, RunTimeRec_In := LSWPB1E04_RH2 | LSWPB1E04_RH2 := RUNTIME ) (** SWPB1E05_RunTime1(RUN :=LSWPB1E05_R1 , RUNTIMESET :=LSWPB1E05_RSTV1 , RUNTIMERST :=LSWPB1E05_RST1 , RunTimeRec_In :=LSWPB1E05_RH1 | LSWPB1E05_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E05_RunTime1 ( RUN := LSWPB1E05_R1, RUNTIMESET := LSWPB1E05_RSTV1, RUNTIMERST := LSWPB1E05_RST1, RunTimeRec_In := LSWPB1E05_RH1 | LSWPB1E05_RH1 := RUNTIME ) (** SWPB1E05_RunTime2(RUN :=LSWPB1E05_R2 , RUNTIMESET :=LSWPB1E05_RSTV2 , RUNTIMERST :=LSWPB1E05_RST2 , RunTimeRec_In :=LSWPB1E05_RH2 | LSWPB1E05_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E05_RunTime2 ( RUN := LSWPB1E05_R2, RUNTIMESET := LSWPB1E05_RSTV2, RUNTIMERST := LSWPB1E05_RST2, RunTimeRec_In := LSWPB1E05_RH2 | LSWPB1E05_RH2 := RUNTIME ) (** SWPB1E06_RunTime1(RUN :=LSWPB1E06_R1 , RUNTIMESET :=LSWPB1E06_RSTV1 , RUNTIMERST :=LSWPB1E06_RST1 , RunTimeRec_In :=LSWPB1E06_RH1 | LSWPB1E06_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E06_RunTime1 ( RUN := LSWPB1E06_R1, RUNTIMESET := LSWPB1E06_RSTV1, RUNTIMERST := LSWPB1E06_RST1, RunTimeRec_In := LSWPB1E06_RH1 | LSWPB1E06_RH1 := RUNTIME ) (** SWPB1E06_RunTime2(RUN :=LSWPB1E06_R2 , RUNTIMESET :=LSWPB1E06_RSTV2 , RUNTIMERST :=LSWPB1E06_RST2 , RunTimeRec_In :=LSWPB1E06_RH2 | LSWPB1E06_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E06_RunTime2 ( RUN := LSWPB1E06_R2, RUNTIMESET := LSWPB1E06_RSTV2, RUNTIMERST := LSWPB1E06_RST2, RunTimeRec_In := LSWPB1E06_RH2 | LSWPB1E06_RH2 := RUNTIME ) (** SWPB1E07_RunTime1(RUN :=LSWPB1E07_R1 , RUNTIMESET :=LSWPB1E07_RSTV1 , RUNTIMERST :=LSWPB1E07_RST1 , RunTimeRec_In :=LSWPB1E07_RH1 | LSWPB1E07_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E07_RunTime1 ( RUN := LSWPB1E07_R1, RUNTIMESET := LSWPB1E07_RSTV1, RUNTIMERST := LSWPB1E07_RST1, RunTimeRec_In := LSWPB1E07_RH1 | LSWPB1E07_RH1 := RUNTIME ) (** SWPB1E07_RunTime2(RUN :=LSWPB1E07_R2 , RUNTIMESET :=LSWPB1E07_RSTV2 , RUNTIMERST :=LSWPB1E07_RST2 , RunTimeRec_In :=LSWPB1E07_RH2 | LSWPB1E07_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E07_RunTime2 ( RUN := LSWPB1E07_R2, RUNTIMESET := LSWPB1E07_RSTV2, RUNTIMERST := LSWPB1E07_RST2, RunTimeRec_In := LSWPB1E07_RH2 | LSWPB1E07_RH2 := RUNTIME ) (** SWPB1E08_RunTime1(RUN :=LSWPB1E08_R1 , RUNTIMESET :=LSWPB1E08_RSTV1 , RUNTIMERST :=LSWPB1E08_RST1 , RunTimeRec_In :=LSWPB1E08_RH1 | LSWPB1E08_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E08_RunTime1 ( RUN := LSWPB1E08_R1, RUNTIMESET := LSWPB1E08_RSTV1, RUNTIMERST := LSWPB1E08_RST1, RunTimeRec_In := LSWPB1E08_RH1 | LSWPB1E08_RH1 := RUNTIME ) (** SWPB1E08_RunTime2(RUN :=LSWPB1E08_R2 , RUNTIMESET :=LSWPB1E08_RSTV2 , RUNTIMERST :=LSWPB1E08_RST2 , RunTimeRec_In :=LSWPB1E08_RH2 | LSWPB1E08_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1E08_RunTime2 ( RUN := LSWPB1E08_R2, RUNTIMESET := LSWPB1E08_RSTV2, RUNTIMERST := LSWPB1E08_RST2, RunTimeRec_In := LSWPB1E08_RH2 | LSWPB1E08_RH2 := RUNTIME ) (** **) (** {*运行累积时间*} **) (** EAFB1E01_RunTime(RUN :=LEAFB1E01_R , RUNTIMESET :=LEAFB1E01_RSTV , RUNTIMERST :=LEAFB1E01_RST, RunTimeRec_In :=LEAFB1E01_RH | LEAFB1E01_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1E01_RunTime ( RUN := LEAFB1E01_R, RUNTIMESET := LEAFB1E01_RSTV, RUNTIMERST := LEAFB1E01_RST, RunTimeRec_In := LEAFB1E01_RH | LEAFB1E01_RH := RUNTIME ) (** EAFB1E02_RunTime(RUN :=LEAFB1E02_R , RUNTIMESET :=LEAFB1E02_RSTV , RUNTIMERST :=LEAFB1E02_RST, RunTimeRec_In :=LEAFB1E02_RH | LEAFB1E02_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1E02_RunTime ( RUN := LEAFB1E02_R, RUNTIMESET := LEAFB1E02_RSTV, RUNTIMERST := LEAFB1E02_RST, RunTimeRec_In := LEAFB1E02_RH | LEAFB1E02_RH := RUNTIME ) END_PROGRAM