PROGRAM SWP VAR_EXTERNAL END_VAR VAR_GLOBAL END_VAR VAR SWPB1C01_RunTime1:BS_RunTime; SWPB1C01_RunTime2:BS_RunTime; SWPB1C02_RunTime1:BS_RunTime; SWPB1C02_RunTime2:BS_RunTime; SWPB1C03_RunTime1:BS_RunTime; SWPB1C03_RunTime2:BS_RunTime; SWPB1C04_RunTime1:BS_RunTime; SWPB1C04_RunTime2:BS_RunTime; SWPB1C05_RunTime1:BS_RunTime; SWPB1C05_RunTime2:BS_RunTime; SWPB1C06_RunTime1:BS_RunTime; SWPB1C06_RunTime2:BS_RunTime; SWPB1C07_RunTime1:BS_RunTime; SWPB1C07_RunTime2:BS_RunTime; SWPB1C08_RunTime1:BS_RunTime; SWPB1C08_RunTime2:BS_RunTime; SWPB1C09_RunTime1:BS_RunTime; SWPB1C09_RunTime2:BS_RunTime; SWPB1C10_RunTime1:BS_RunTime; SWPB1C10_RunTime2:BS_RunTime; EAFB1C01_RunTime:BS_RunTime; EAFB1C02_RunTime:BS_RunTime; EAFB1C03_RunTime:BS_RunTime; END_VAR (*Automatically declared*) VAR_EXTERNAL LEAFB1C02_RSTV : REAL; LEAFB1C02_RST : BOOL; LEAFB1C01_RSTV : REAL; LEAFB1C01_RST : BOOL; LSWPB1C06_RSTV2 : REAL; LSWPB1C04_RST2 : BOOL; LSWPB1C04_RST1 : BOOL; LSWPB1C06_RSTV1 : REAL; LSWPB1C01_RH1 : REAL; LSWPB1C06_R2 : BOOL; LSWPB1C06_R1 : BOOL; LSWPB1C02_RSTV2 : REAL; LSWPB1C02_RST2 : BOOL; LSWPB1C02_RST1 : BOOL; LSWPB1C01_RSTV2 : REAL; LSWPB1C02_RSTV1 : REAL; LEAFB1C03_RH : REAL; LSWPB1C05_R2 : BOOL; LSWPB1C05_R1 : BOOL; LEAFB1C03_R : BOOL; LSWPB1C05_RSTV2 : REAL; LSWPB1C01_RSTV1 : REAL; LSWPB1C03_RST2 : BOOL; LSWPB1C03_RST1 : BOOL; LSWPB1C05_RSTV1 : REAL; LSWPB1C02_RH1 : REAL; LSWPB1C03_R2 : BOOL; LSWPB1C03_R1 : BOOL; LSWPB1C03_RH1 : REAL; LSWPB1C06_RH1 : REAL; LSWPB1C05_RH2 : REAL; LSWPB1C03_RH2 : REAL; LSWPB1C02_R2 : BOOL; LSWPB1C02_R1 : BOOL; LEAFB1C01_RH : REAL; LSWPB1C02_RH2 : REAL; LEAFB1C01_R : BOOL; LSWPB1C04_RSTV1 : REAL; LSWPB1C01_R2 : BOOL; LSWPB1C01_R1 : BOOL; LEAFB1C03_RSTV : REAL; LEAFB1C03_RST : BOOL; LSWPB1C06_RH2 : REAL; LSWPB1C06_RST2 : BOOL; LSWPB1C06_RST1 : BOOL; LSWPB1C05_RH1 : REAL; LSWPB1C04_RH2 : REAL; LSWPB1C05_RST2 : BOOL; LSWPB1C05_RST1 : BOOL; LSWPB1C04_RH1 : REAL; LSWPB1C03_RSTV1 : REAL; LEAFB1C02_RH : REAL; LSWPB1C04_RSTV2 : REAL; LSWPB1C03_RSTV2 : REAL; LSWPB1C01_RH2 : REAL; LSWPB1C01_RST2 : BOOL; LSWPB1C01_RST1 : BOOL; LSWPB1C04_R2 : BOOL; LSWPB1C04_R1 : BOOL; LEAFB1C02_R : BOOL; END_VAR (** {*运行累积时间*} **) (** SWPB1C01_RunTime1(RUN :=LSWPB1C01_R1 , RUNTIMESET :=LSWPB1C01_RSTV1 , RUNTIMERST :=LSWPB1C01_RST1 , RunTimeRec_In :=LSWPB1C01_RH1 | LSWPB1C01_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C01_RunTime1 ( RUN := LSWPB1C01_R1, RUNTIMESET := LSWPB1C01_RSTV1, RUNTIMERST := LSWPB1C01_RST1, RunTimeRec_In := LSWPB1C01_RH1 | LSWPB1C01_RH1 := RUNTIME ) (** SWPB1C01_RunTime2(RUN :=LSWPB1C01_R2 , RUNTIMESET :=LSWPB1C01_RSTV2 , RUNTIMERST :=LSWPB1C01_RST2 , RunTimeRec_In :=LSWPB1C01_RH2 | LSWPB1C01_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C01_RunTime2 ( RUN := LSWPB1C01_R2, RUNTIMESET := LSWPB1C01_RSTV2, RUNTIMERST := LSWPB1C01_RST2, RunTimeRec_In := LSWPB1C01_RH2 | LSWPB1C01_RH2 := RUNTIME ) (** SWPB1C02_RunTime1(RUN :=LSWPB1C02_R1 , RUNTIMESET :=LSWPB1C02_RSTV1 , RUNTIMERST :=LSWPB1C02_RST1 , RunTimeRec_In :=LSWPB1C02_RH1 | LSWPB1C02_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C02_RunTime1 ( RUN := LSWPB1C02_R1, RUNTIMESET := LSWPB1C02_RSTV1, RUNTIMERST := LSWPB1C02_RST1, RunTimeRec_In := LSWPB1C02_RH1 | LSWPB1C02_RH1 := RUNTIME ) (** SWPB1C02_RunTime2(RUN :=LSWPB1C02_R2 , RUNTIMESET :=LSWPB1C02_RSTV2 , RUNTIMERST :=LSWPB1C02_RST2 , RunTimeRec_In :=LSWPB1C02_RH2 | LSWPB1C02_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C02_RunTime2 ( RUN := LSWPB1C02_R2, RUNTIMESET := LSWPB1C02_RSTV2, RUNTIMERST := LSWPB1C02_RST2, RunTimeRec_In := LSWPB1C02_RH2 | LSWPB1C02_RH2 := RUNTIME ) (** SWPB1C03_RunTime1(RUN :=LSWPB1C03_R1 , RUNTIMESET :=LSWPB1C03_RSTV1 , RUNTIMERST :=LSWPB1C03_RST1 , RunTimeRec_In :=LSWPB1C03_RH1 | LSWPB1C03_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C03_RunTime1 ( RUN := LSWPB1C03_R1, RUNTIMESET := LSWPB1C03_RSTV1, RUNTIMERST := LSWPB1C03_RST1, RunTimeRec_In := LSWPB1C03_RH1 | LSWPB1C03_RH1 := RUNTIME ) (** SWPB1C03_RunTime2(RUN :=LSWPB1C03_R2 , RUNTIMESET :=LSWPB1C03_RSTV2 , RUNTIMERST :=LSWPB1C03_RST2 , RunTimeRec_In :=LSWPB1C03_RH2 | LSWPB1C03_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C03_RunTime2 ( RUN := LSWPB1C03_R2, RUNTIMESET := LSWPB1C03_RSTV2, RUNTIMERST := LSWPB1C03_RST2, RunTimeRec_In := LSWPB1C03_RH2 | LSWPB1C03_RH2 := RUNTIME ) (** SWPB1C04_RunTime1(RUN :=LSWPB1C04_R1 , RUNTIMESET :=LSWPB1C04_RSTV1 , RUNTIMERST :=LSWPB1C04_RST1 , RunTimeRec_In :=LSWPB1C04_RH1 | LSWPB1C04_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C04_RunTime1 ( RUN := LSWPB1C04_R1, RUNTIMESET := LSWPB1C04_RSTV1, RUNTIMERST := LSWPB1C04_RST1, RunTimeRec_In := LSWPB1C04_RH1 | LSWPB1C04_RH1 := RUNTIME ) (** SWPB1C04_RunTime2(RUN :=LSWPB1C04_R2 , RUNTIMESET :=LSWPB1C04_RSTV2 , RUNTIMERST :=LSWPB1C04_RST2 , RunTimeRec_In :=LSWPB1C04_RH2 | LSWPB1C04_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C04_RunTime2 ( RUN := LSWPB1C04_R2, RUNTIMESET := LSWPB1C04_RSTV2, RUNTIMERST := LSWPB1C04_RST2, RunTimeRec_In := LSWPB1C04_RH2 | LSWPB1C04_RH2 := RUNTIME ) (** SWPB1C05_RunTime1(RUN :=LSWPB1C05_R1 , RUNTIMESET :=LSWPB1C05_RSTV1 , RUNTIMERST :=LSWPB1C05_RST1 , RunTimeRec_In :=LSWPB1C05_RH1 | LSWPB1C05_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C05_RunTime1 ( RUN := LSWPB1C05_R1, RUNTIMESET := LSWPB1C05_RSTV1, RUNTIMERST := LSWPB1C05_RST1, RunTimeRec_In := LSWPB1C05_RH1 | LSWPB1C05_RH1 := RUNTIME ) (** SWPB1C05_RunTime2(RUN :=LSWPB1C05_R2 , RUNTIMESET :=LSWPB1C05_RSTV2 , RUNTIMERST :=LSWPB1C05_RST2 , RunTimeRec_In :=LSWPB1C05_RH2 | LSWPB1C05_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C05_RunTime2 ( RUN := LSWPB1C05_R2, RUNTIMESET := LSWPB1C05_RSTV2, RUNTIMERST := LSWPB1C05_RST2, RunTimeRec_In := LSWPB1C05_RH2 | LSWPB1C05_RH2 := RUNTIME ) (** SWPB1C06_RunTime1(RUN :=LSWPB1C06_R1 , RUNTIMESET :=LSWPB1C06_RSTV1 , RUNTIMERST :=LSWPB1C06_RST1 , RunTimeRec_In :=LSWPB1C06_RH1 | LSWPB1C06_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C06_RunTime1 ( RUN := LSWPB1C06_R1, RUNTIMESET := LSWPB1C06_RSTV1, RUNTIMERST := LSWPB1C06_RST1, RunTimeRec_In := LSWPB1C06_RH1 | LSWPB1C06_RH1 := RUNTIME ) (** SWPB1C06_RunTime2(RUN :=LSWPB1C06_R2 , RUNTIMESET :=LSWPB1C06_RSTV2 , RUNTIMERST :=LSWPB1C06_RST2 , RunTimeRec_In :=LSWPB1C06_RH2 | LSWPB1C06_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWPB1C06_RunTime2 ( RUN := LSWPB1C06_R2, RUNTIMESET := LSWPB1C06_RSTV2, RUNTIMERST := LSWPB1C06_RST2, RunTimeRec_In := LSWPB1C06_RH2 | LSWPB1C06_RH2 := RUNTIME ) (** **) (** **) (** **) (** {*运行累积时间*} **) (** EAFB1C01_RunTime(RUN :=LEAFB1C01_R , RUNTIMESET :=LEAFB1C01_RSTV , RUNTIMERST :=LEAFB1C01_RST, RunTimeRec_In :=LEAFB1C01_RH | LEAFB1C01_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1C01_RunTime ( RUN := LEAFB1C01_R, RUNTIMESET := LEAFB1C01_RSTV, RUNTIMERST := LEAFB1C01_RST, RunTimeRec_In := LEAFB1C01_RH | LEAFB1C01_RH := RUNTIME ) (** EAFB1C02_RunTime(RUN :=LEAFB1C02_R , RUNTIMESET :=LEAFB1C02_RSTV , RUNTIMERST :=LEAFB1C02_RST, RunTimeRec_In :=LEAFB1C02_RH | LEAFB1C02_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1C02_RunTime ( RUN := LEAFB1C02_R, RUNTIMESET := LEAFB1C02_RSTV, RUNTIMERST := LEAFB1C02_RST, RunTimeRec_In := LEAFB1C02_RH | LEAFB1C02_RH := RUNTIME ) (** EAFB1C03_RunTime(RUN :=LEAFB1C03_R , RUNTIMESET :=LEAFB1C03_RSTV , RUNTIMERST :=LEAFB1C03_RST, RunTimeRec_In :=LEAFB1C03_RH | LEAFB1C03_RH:= RUNTIME); **) (* call - Stmt *) CAL EAFB1C03_RunTime ( RUN := LEAFB1C03_R, RUNTIMESET := LEAFB1C03_RSTV, RUNTIMERST := LEAFB1C03_RST, RunTimeRec_In := LEAFB1C03_RH | LEAFB1C03_RH := RUNTIME ) END_PROGRAM