PROGRAM SWP VAR_EXTERNAL END_VAR VAR_GLOBAL END_VAR VAR SWPB1F01_RunTime1:BS_RunTime; SWPB1F01_RunTime2:BS_RunTime; SWPB1F02_RunTime1:BS_RunTime; SWPB1F02_RunTime2:BS_RunTime; SWPB1F03_RunTime1:BS_RunTime; SWPB1F03_RunTime2:BS_RunTime; SWPB1F04_RunTime1:BS_RunTime; SWPB1F04_RunTime2:BS_RunTime; SWPB1F05_RunTime1:BS_RunTime; SWPB1F05_RunTime2:BS_RunTime; SWPB1F06_RunTime1:BS_RunTime; SWPB1F06_RunTime2:BS_RunTime; SWPB1F07_RunTime1:BS_RunTime; SWPB1F07_RunTime2:BS_RunTime; EAFB1F01_RunTime:BS_RunTime; EAFB1F02_RunTime:BS_RunTime; EAFB1F03_RunTime:BS_RunTime; END_VAR (*Automatically declared*) VAR_EXTERNAL LSWPB1F07_RH1 : REAL; LSWPB1F04_RST2 : BOOL; LSWPB1F04_RST1 : BOOL; LSWPB1F03_RSTV1 : REAL; LSWPB1F06_RH2 : REAL; LSWPB1F02_RSTV1 : REAL; LSWPB1F04_R2 : BOOL; LSWPB1F04_R1 : BOOL; LEAFB1F01_RSTV : REAL; LEAFB1F01_RST : BOOL; LSWPB1F07_RST2 : BOOL; LSWPB1F07_RST1 : BOOL; LSWPB1F03_RSTV2 : REAL; LSWPB1F07_R2 : BOOL; LSWPB1F07_R1 : BOOL; LSWPB1F06_RH1 : REAL; LSWPB1F02_RST2 : BOOL; LSWPB1F02_RST1 : BOOL; LSWPB1F01_RSTV2 : REAL; LSWPB1F06_R2 : BOOL; LSWPB1F06_R1 : BOOL; LSWPB1F03_R2 : BOOL; LSWPB1F03_R1 : BOOL; LSWPB1F01_RSTV1 : REAL; LSWPB1F03_RST2 : BOOL; LSWPB1F03_RST1 : BOOL; LSWPB1F01_R2 : BOOL; LSWPB1F01_R1 : BOOL; LEAFB1F03_RH : REAL; LEAFB1F02_RH : REAL; LSWPB1F04_RSTV1 : REAL; LSWPB1F01_RST2 : BOOL; LSWPB1F01_RST1 : BOOL; LEAFB1F03_R : BOOL; LEAFB1F02_R : BOOL; LSWPB1F04_RSTV2 : REAL; LSWPB1F04_RH1 : REAL; LSWPB1F02_RH2 : REAL; LEAFB1F01_RH : REAL; LSWPB1F04_RH2 : REAL; LEAFB1F01_R : BOOL; LSWPB1F07_RSTV1 : REAL; LSWPB1F05_RST2 : BOOL; LSWPB1F05_RST1 : BOOL; LSWPB1F02_R2 : BOOL; LSWPB1F02_R1 : BOOL; LEAFB1F03_RSTV : REAL; LEAFB1F03_RST : BOOL; LSWPB1F06_RSTV2 : REAL; LSWPB1F05_RH1 : REAL; LSWPB1F03_RH2 : REAL; LSWPB1F02_RH1 : REAL; LSWPB1F03_RH1 : REAL; LEAFB1F02_RSTV : REAL; LEAFB1F02_RST : BOOL; LSWPB1F07_RSTV2 : REAL; LSWPB1F06_RST2 : BOOL; LSWPB1F06_RST1 : BOOL; LSWPB1F01_RH1 : REAL; LSWPB1F06_RSTV1 : REAL; LSWPB1F05_RH2 : REAL; LSWPB1F05_RSTV2 : REAL; LSWPB1F02_RSTV2 : REAL; LSWPB1F07_RH2 : REAL; LSWPB1F05_RSTV1 : REAL; LSWPB1F01_RH2 : REAL; LSWPB1F05_R2 : BOOL; LSWPB1F05_R1 : BOOL; END_VAR (** {*运行累积时间*} **) (** SWPB1F01_RunTime1(RUN :=LSWPB1F01_R1 , RUNTIMESET :=LSWPB1F01_RSTV1 , RUNTIMERST :=LSWPB1F01_RST1 , RunTimeRec_In :=LSWPB1F01_RH1 | LSWPB1F01_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F01_RunTime1 ( RUN := LSWPB1F01_R1, RUNTIMESET := LSWPB1F01_RSTV1, RUNTIMERST := LSWPB1F01_RST1, RunTimeRec_In := LSWPB1F01_RH1 | LSWPB1F01_RH1 := RUNTIME ) (** SWPB1F01_RunTime2(RUN :=LSWPB1F01_R2 , RUNTIMESET :=LSWPB1F01_RSTV2 , RUNTIMERST :=LSWPB1F01_RST2 , RunTimeRec_In :=LSWPB1F01_RH2 | LSWPB1F01_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F01_RunTime2 ( RUN := LSWPB1F01_R2, RUNTIMESET := LSWPB1F01_RSTV2, RUNTIMERST := LSWPB1F01_RST2, RunTimeRec_In := LSWPB1F01_RH2 | LSWPB1F01_RH2 := RUNTIME ) (** SWPB1F02_RunTime1(RUN :=LSWPB1F02_R1 , RUNTIMESET :=LSWPB1F02_RSTV1 , RUNTIMERST :=LSWPB1F02_RST1 , RunTimeRec_In :=LSWPB1F02_RH1 | LSWPB1F02_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F02_RunTime1 ( RUN := LSWPB1F02_R1, RUNTIMESET := LSWPB1F02_RSTV1, RUNTIMERST := LSWPB1F02_RST1, RunTimeRec_In := LSWPB1F02_RH1 | LSWPB1F02_RH1 := RUNTIME ) (** SWPB1F02_RunTime2(RUN :=LSWPB1F02_R2 , RUNTIMESET :=LSWPB1F02_RSTV2 , RUNTIMERST :=LSWPB1F02_RST2 , RunTimeRec_In :=LSWPB1F02_RH2 | LSWPB1F02_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F02_RunTime2 ( RUN := LSWPB1F02_R2, RUNTIMESET := LSWPB1F02_RSTV2, RUNTIMERST := LSWPB1F02_RST2, RunTimeRec_In := LSWPB1F02_RH2 | LSWPB1F02_RH2 := RUNTIME ) (** SWPB1F03_RunTime1(RUN :=LSWPB1F03_R1 , RUNTIMESET :=LSWPB1F03_RSTV1 , RUNTIMERST :=LSWPB1F03_RST1 , RunTimeRec_In :=LSWPB1F03_RH1 | LSWPB1F03_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F03_RunTime1 ( RUN := LSWPB1F03_R1, RUNTIMESET := LSWPB1F03_RSTV1, RUNTIMERST := LSWPB1F03_RST1, RunTimeRec_In := LSWPB1F03_RH1 | LSWPB1F03_RH1 := RUNTIME ) (** SWPB1F03_RunTime2(RUN :=LSWPB1F03_R2 , RUNTIMESET :=LSWPB1F03_RSTV2 , RUNTIMERST :=LSWPB1F03_RST2 , RunTimeRec_In :=LSWPB1F03_RH2 | LSWPB1F03_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F03_RunTime2 ( RUN := LSWPB1F03_R2, RUNTIMESET := LSWPB1F03_RSTV2, RUNTIMERST := LSWPB1F03_RST2, RunTimeRec_In := LSWPB1F03_RH2 | LSWPB1F03_RH2 := RUNTIME ) (** SWPB1F04_RunTime1(RUN :=LSWPB1F04_R1 , RUNTIMESET :=LSWPB1F04_RSTV1 , RUNTIMERST :=LSWPB1F04_RST1 , RunTimeRec_In :=LSWPB1F04_RH1 | LSWPB1F04_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F04_RunTime1 ( RUN := LSWPB1F04_R1, RUNTIMESET := LSWPB1F04_RSTV1, RUNTIMERST := LSWPB1F04_RST1, RunTimeRec_In := LSWPB1F04_RH1 | LSWPB1F04_RH1 := RUNTIME ) (** SWPB1F04_RunTime2(RUN :=LSWPB1F04_R2 , RUNTIMESET :=LSWPB1F04_RSTV2 , RUNTIMERST :=LSWPB1F04_RST2 , RunTimeRec_In :=LSWPB1F04_RH2 | LSWPB1F04_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F04_RunTime2 ( RUN := LSWPB1F04_R2, RUNTIMESET := LSWPB1F04_RSTV2, RUNTIMERST := LSWPB1F04_RST2, RunTimeRec_In := LSWPB1F04_RH2 | LSWPB1F04_RH2 := RUNTIME ) (** SWPB1F05_RunTime1(RUN :=LSWPB1F05_R1 , RUNTIMESET :=LSWPB1F05_RSTV1 , RUNTIMERST :=LSWPB1F05_RST1 , RunTimeRec_In :=LSWPB1F05_RH1 | LSWPB1F05_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F05_RunTime1 ( RUN := LSWPB1F05_R1, RUNTIMESET := LSWPB1F05_RSTV1, RUNTIMERST := LSWPB1F05_RST1, RunTimeRec_In := LSWPB1F05_RH1 | LSWPB1F05_RH1 := RUNTIME ) (** SWPB1F05_RunTime2(RUN :=LSWPB1F05_R2 , RUNTIMESET :=LSWPB1F05_RSTV2 , RUNTIMERST :=LSWPB1F05_RST2 , RunTimeRec_In :=LSWPB1F05_RH2 | LSWPB1F05_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F05_RunTime2 ( RUN := LSWPB1F05_R2, RUNTIMESET := LSWPB1F05_RSTV2, RUNTIMERST := LSWPB1F05_RST2, RunTimeRec_In := LSWPB1F05_RH2 | LSWPB1F05_RH2 := RUNTIME ) (** SWPB1F06_RunTime1(RUN :=LSWPB1F06_R1 , RUNTIMESET :=LSWPB1F06_RSTV1 , RUNTIMERST :=LSWPB1F06_RST1 , RunTimeRec_In :=LSWPB1F06_RH1 | LSWPB1F06_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F06_RunTime1 ( RUN := LSWPB1F06_R1, RUNTIMESET := LSWPB1F06_RSTV1, RUNTIMERST := LSWPB1F06_RST1, RunTimeRec_In := LSWPB1F06_RH1 | LSWPB1F06_RH1 := RUNTIME ) (** SWPB1F06_RunTime2(RUN :=LSWPB1F06_R2 , RUNTIMESET :=LSWPB1F06_RSTV2 , RUNTIMERST :=LSWPB1F06_RST2 , RunTimeRec_In :=LSWPB1F06_RH2 | LSWPB1F06_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F06_RunTime2 ( RUN := LSWPB1F06_R2, RUNTIMESET := LSWPB1F06_RSTV2, RUNTIMERST := LSWPB1F06_RST2, RunTimeRec_In := LSWPB1F06_RH2 | LSWPB1F06_RH2 := RUNTIME ) (** SWPB1F07_RunTime1(RUN :=LSWPB1F07_R1 , RUNTIMESET :=LSWPB1F07_RSTV1 , RUNTIMERST :=LSWPB1F07_RST1 , RunTimeRec_In :=LSWPB1F07_RH1 | LSWPB1F07_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F07_RunTime1 ( RUN := LSWPB1F07_R1, RUNTIMESET := LSWPB1F07_RSTV1, RUNTIMERST := LSWPB1F07_RST1, RunTimeRec_In := LSWPB1F07_RH1 | LSWPB1F07_RH1 := RUNTIME ) (** SWPB1F07_RunTime2(RUN :=LSWPB1F07_R2 , RUNTIMESET :=LSWPB1F07_RSTV2 , RUNTIMERST :=LSWPB1F07_RST2 , RunTimeRec_In :=LSWPB1F07_RH2 | LSWPB1F07_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1F07_RunTime2 ( RUN := LSWPB1F07_R2, RUNTIMESET := LSWPB1F07_RSTV2, RUNTIMERST := LSWPB1F07_RST2, RunTimeRec_In := LSWPB1F07_RH2 | LSWPB1F07_RH2 := RUNTIME ) (** **) (** {*运行累积时间*} **) (** EAFB1F01_RunTime(RUN :=LEAFB1F01_R , RUNTIMESET :=LEAFB1F01_RSTV , RUNTIMERST :=LEAFB1F01_RST, RunTimeRec_In :=LEAFB1F01_RH | LEAFB1F01_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1F01_RunTime ( RUN := LEAFB1F01_R, RUNTIMESET := LEAFB1F01_RSTV, RUNTIMERST := LEAFB1F01_RST, RunTimeRec_In := LEAFB1F01_RH | LEAFB1F01_RH := RUNTIME ) (** EAFB1F02_RunTime(RUN :=LEAFB1F02_R , RUNTIMESET :=LEAFB1F02_RSTV , RUNTIMERST :=LEAFB1F02_RST, RunTimeRec_In :=LEAFB1F02_RH | LEAFB1F02_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1F02_RunTime ( RUN := LEAFB1F02_R, RUNTIMESET := LEAFB1F02_RSTV, RUNTIMERST := LEAFB1F02_RST, RunTimeRec_In := LEAFB1F02_RH | LEAFB1F02_RH := RUNTIME ) (** EAFB1F03_RunTime(RUN :=LEAFB1F03_R , RUNTIMESET :=LEAFB1F03_RSTV , RUNTIMERST :=LEAFB1F03_RST, RunTimeRec_In :=LEAFB1F03_RH | LEAFB1F03_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1F03_RunTime ( RUN := LEAFB1F03_R, RUNTIMESET := LEAFB1F03_RSTV, RUNTIMERST := LEAFB1F03_RST, RunTimeRec_In := LEAFB1F03_RH | LEAFB1F03_RH := RUNTIME ) END_PROGRAM