PROGRAM SWP VAR_EXTERNAL END_VAR VAR_GLOBAL END_VAR VAR SWP11A01_RunTime1:BS_RunTime; SWP11A01_RunTime2:BS_RunTime; SWP11A02_RunTime1:BS_RunTime; SWP11A02_RunTime2:BS_RunTime; SWP11A03_RunTime1:BS_RunTime; SWP11A03_RunTime2:BS_RunTime; SWP11A04_RunTime1:BS_RunTime; SWP11A04_RunTime2:BS_RunTime; SWP11A05_RunTime1:BS_RunTime; SWP11A05_RunTime2:BS_RunTime; SWP11A06_RunTime1:BS_RunTime; SWP11A06_RunTime2:BS_RunTime; END_VAR (*Automatically declared*) VAR_EXTERNAL LSWP11A03_RSTV1 : REAL; LSWP11A01_RH2 : REAL; LSWP11A01_RSTV1 : REAL; LSWP11A05_R2 : BOOL; LSWP11A05_R1 : BOOL; LSWP11A01_RH1 : REAL; LSWP11A06_RSTV1 : REAL; LSWP11A03_RH1 : REAL; LSWP11A06_RSTV2 : REAL; LSWP11A05_RST2 : BOOL; LSWP11A05_RST1 : BOOL; LSWP11A02_RH1 : REAL; LSWP11A01_RSTV2 : REAL; LSWP11A04_RH2 : REAL; LSWP11A02_RH2 : REAL; LSWP11A06_R2 : BOOL; LSWP11A06_R1 : BOOL; LSWP11A06_RH1 : REAL; LSWP11A03_RH2 : REAL; LSWP11A03_RST2 : BOOL; LSWP11A03_RST1 : BOOL; LSWP11A06_RH2 : REAL; LSWP11A06_RST2 : BOOL; LSWP11A06_RST1 : BOOL; LSWP11A04_RSTV2 : REAL; LSWP11A04_R2 : BOOL; LSWP11A04_R1 : BOOL; LSWP11A05_RH2 : REAL; LSWP11A04_RH1 : REAL; LSWP11A01_R2 : BOOL; LSWP11A01_R1 : BOOL; LSWP11A05_RH1 : REAL; LSWP11A01_RST2 : BOOL; LSWP11A01_RST1 : BOOL; LSWP11A05_RSTV1 : REAL; LSWP11A04_RSTV1 : REAL; LSWP11A02_RST2 : BOOL; LSWP11A02_RST1 : BOOL; LSWP11A02_R2 : BOOL; LSWP11A02_R1 : BOOL; LSWP11A02_RSTV1 : REAL; LSWP11A05_RSTV2 : REAL; LSWP11A02_RSTV2 : REAL; LSWP11A03_R2 : BOOL; LSWP11A03_R1 : BOOL; LSWP11A04_RST2 : BOOL; LSWP11A04_RST1 : BOOL; LSWP11A03_RSTV2 : REAL; END_VAR (** {*运行累积时间*} **) (** SWP11A01_RunTime1(RUN :=LSWP11A01_R1 , RUNTIMESET :=LSWP11A01_RSTV1 , RUNTIMERST :=LSWP11A01_RST1 , RunTimeRec_In :=LSWP11A01_RH1 | LSWP11A01_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP11A01_RunTime1 ( RUN := LSWP11A01_R1, RUNTIMESET := LSWP11A01_RSTV1, RUNTIMERST := LSWP11A01_RST1, RunTimeRec_In := LSWP11A01_RH1 | LSWP11A01_RH1 := RUNTIME ) (** SWP11A01_RunTime2(RUN :=LSWP11A01_R2 , RUNTIMESET :=LSWP11A01_RSTV2 , RUNTIMERST :=LSWP11A01_RST2 , RunTimeRec_In :=LSWP11A01_RH2 | LSWP11A01_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP11A01_RunTime2 ( RUN := LSWP11A01_R2, RUNTIMESET := LSWP11A01_RSTV2, RUNTIMERST := LSWP11A01_RST2, RunTimeRec_In := LSWP11A01_RH2 | LSWP11A01_RH2 := RUNTIME ) (** SWP11A02_RunTime1(RUN :=LSWP11A02_R1 , RUNTIMESET :=LSWP11A02_RSTV1 , RUNTIMERST :=LSWP11A02_RST1 , RunTimeRec_In :=LSWP11A02_RH1 | LSWP11A02_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP11A02_RunTime1 ( RUN := LSWP11A02_R1, RUNTIMESET := LSWP11A02_RSTV1, RUNTIMERST := LSWP11A02_RST1, RunTimeRec_In := LSWP11A02_RH1 | LSWP11A02_RH1 := RUNTIME ) (** SWP11A02_RunTime2(RUN :=LSWP11A02_R2 , RUNTIMESET :=LSWP11A02_RSTV2 , RUNTIMERST :=LSWP11A02_RST2 , RunTimeRec_In :=LSWP11A02_RH2 | LSWP11A02_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP11A02_RunTime2 ( RUN := LSWP11A02_R2, RUNTIMESET := LSWP11A02_RSTV2, RUNTIMERST := LSWP11A02_RST2, RunTimeRec_In := LSWP11A02_RH2 | LSWP11A02_RH2 := RUNTIME ) (** SWP11A03_RunTime1(RUN :=LSWP11A03_R1 , RUNTIMESET :=LSWP11A03_RSTV1 , RUNTIMERST :=LSWP11A03_RST1 , RunTimeRec_In :=LSWP11A03_RH1 | LSWP11A03_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP11A03_RunTime1 ( RUN := LSWP11A03_R1, RUNTIMESET := LSWP11A03_RSTV1, RUNTIMERST := LSWP11A03_RST1, RunTimeRec_In := LSWP11A03_RH1 | LSWP11A03_RH1 := RUNTIME ) (** SWP11A03_RunTime2(RUN :=LSWP11A03_R2 , RUNTIMESET :=LSWP11A03_RSTV2 , RUNTIMERST :=LSWP11A03_RST2 , RunTimeRec_In :=LSWP11A03_RH2 | LSWP11A03_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP11A03_RunTime2 ( RUN := LSWP11A03_R2, RUNTIMESET := LSWP11A03_RSTV2, RUNTIMERST := LSWP11A03_RST2, RunTimeRec_In := LSWP11A03_RH2 | LSWP11A03_RH2 := RUNTIME ) (** SWP11A04_RunTime1(RUN :=LSWP11A04_R1 , RUNTIMESET :=LSWP11A04_RSTV1 , RUNTIMERST :=LSWP11A04_RST1 , RunTimeRec_In :=LSWP11A04_RH1 | LSWP11A04_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP11A04_RunTime1 ( RUN := LSWP11A04_R1, RUNTIMESET := LSWP11A04_RSTV1, RUNTIMERST := LSWP11A04_RST1, RunTimeRec_In := LSWP11A04_RH1 | LSWP11A04_RH1 := RUNTIME ) (** SWP11A04_RunTime2(RUN :=LSWP11A04_R2 , RUNTIMESET :=LSWP11A04_RSTV2 , RUNTIMERST :=LSWP11A04_RST2 , RunTimeRec_In :=LSWP11A04_RH2 | LSWP11A04_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP11A04_RunTime2 ( RUN := LSWP11A04_R2, RUNTIMESET := LSWP11A04_RSTV2, RUNTIMERST := LSWP11A04_RST2, RunTimeRec_In := LSWP11A04_RH2 | LSWP11A04_RH2 := RUNTIME ) (** SWP11A05_RunTime1(RUN :=LSWP11A05_R1 , RUNTIMESET :=LSWP11A05_RSTV1 , RUNTIMERST :=LSWP11A05_RST1 , RunTimeRec_In :=LSWP11A05_RH1 | LSWP11A05_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP11A05_RunTime1 ( RUN := LSWP11A05_R1, RUNTIMESET := LSWP11A05_RSTV1, RUNTIMERST := LSWP11A05_RST1, RunTimeRec_In := LSWP11A05_RH1 | LSWP11A05_RH1 := RUNTIME ) (** SWP11A05_RunTime2(RUN :=LSWP11A05_R2 , RUNTIMESET :=LSWP11A05_RSTV2 , RUNTIMERST :=LSWP11A05_RST2 , RunTimeRec_In :=LSWP11A05_RH2 | LSWP11A05_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP11A05_RunTime2 ( RUN := LSWP11A05_R2, RUNTIMESET := LSWP11A05_RSTV2, RUNTIMERST := LSWP11A05_RST2, RunTimeRec_In := LSWP11A05_RH2 | LSWP11A05_RH2 := RUNTIME ) (** SWP11A06_RunTime1(RUN :=LSWP11A06_R1 , RUNTIMESET :=LSWP11A06_RSTV1 , RUNTIMERST :=LSWP11A06_RST1 , RunTimeRec_In :=LSWP11A06_RH1 | LSWP11A06_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP11A06_RunTime1 ( RUN := LSWP11A06_R1, RUNTIMESET := LSWP11A06_RSTV1, RUNTIMERST := LSWP11A06_RST1, RunTimeRec_In := LSWP11A06_RH1 | LSWP11A06_RH1 := RUNTIME ) (** SWP11A06_RunTime2(RUN :=LSWP11A06_R2 , RUNTIMESET :=LSWP11A06_RSTV2 , RUNTIMERST :=LSWP11A06_RST2 , RunTimeRec_In :=LSWP11A06_RH2 | LSWP11A06_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP11A06_RunTime2 ( RUN := LSWP11A06_R2, RUNTIMESET := LSWP11A06_RSTV2, RUNTIMERST := LSWP11A06_RST2, RunTimeRec_In := LSWP11A06_RH2 | LSWP11A06_RH2 := RUNTIME ) END_PROGRAM