PROGRAM SWP VAR_EXTERNAL END_VAR VAR_GLOBAL END_VAR VAR SWP09A01_RunTime1:BS_RunTime; SWP09A01_RunTime2:BS_RunTime; SWP09A02_RunTime1:BS_RunTime; SWP09A02_RunTime2:BS_RunTime; SWP09A03_RunTime1:BS_RunTime; SWP09A03_RunTime2:BS_RunTime; END_VAR (*Automatically declared*) VAR_EXTERNAL LSWP09A01_RH1 : REAL; LSWP09A01_RST2 : BOOL; LSWP09A01_RST1 : BOOL; LSWP09A02_R2 : BOOL; LSWP09A02_R1 : BOOL; LSWP09A02_RSTV2 : REAL; LSWP09A02_RST2 : BOOL; LSWP09A02_RST1 : BOOL; LSWP09A03_R2 : BOOL; LSWP09A03_R1 : BOOL; LSWP09A02_RSTV1 : REAL; LSWP09A01_R2 : BOOL; LSWP09A01_R1 : BOOL; LSWP09A03_RH1 : REAL; LSWP09A01_RSTV2 : REAL; LSWP09A03_RH2 : REAL; LSWP09A03_RST2 : BOOL; LSWP09A03_RST1 : BOOL; LSWP09A01_RSTV1 : REAL; LSWP09A03_RSTV1 : REAL; LSWP09A02_RH1 : REAL; LSWP09A03_RSTV2 : REAL; LSWP09A01_RH2 : REAL; LSWP09A02_RH2 : REAL; END_VAR (** {*运行累积时间*} **) (** SWP09A01_RunTime1(RUN :=LSWP09A01_R1 , RUNTIMESET :=LSWP09A01_RSTV1 , RUNTIMERST :=LSWP09A01_RST1 , RunTimeRec_In :=LSWP09A01_RH1 | LSWP09A01_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP09A01_RunTime1 ( RUN := LSWP09A01_R1, RUNTIMESET := LSWP09A01_RSTV1, RUNTIMERST := LSWP09A01_RST1, RunTimeRec_In := LSWP09A01_RH1 | LSWP09A01_RH1 := RUNTIME ) (** SWP09A01_RunTime2(RUN :=LSWP09A01_R2 , RUNTIMESET :=LSWP09A01_RSTV2 , RUNTIMERST :=LSWP09A01_RST2 , RunTimeRec_In :=LSWP09A01_RH2 | LSWP09A01_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP09A01_RunTime2 ( RUN := LSWP09A01_R2, RUNTIMESET := LSWP09A01_RSTV2, RUNTIMERST := LSWP09A01_RST2, RunTimeRec_In := LSWP09A01_RH2 | LSWP09A01_RH2 := RUNTIME ) (** SWP09A02_RunTime1(RUN :=LSWP09A02_R1 , RUNTIMESET :=LSWP09A02_RSTV1 , RUNTIMERST :=LSWP09A02_RST1 , RunTimeRec_In :=LSWP09A02_RH1 | LSWP09A02_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP09A02_RunTime1 ( RUN := LSWP09A02_R1, RUNTIMESET := LSWP09A02_RSTV1, RUNTIMERST := LSWP09A02_RST1, RunTimeRec_In := LSWP09A02_RH1 | LSWP09A02_RH1 := RUNTIME ) (** SWP09A02_RunTime2(RUN :=LSWP09A02_R2 , RUNTIMESET :=LSWP09A02_RSTV2 , RUNTIMERST :=LSWP09A02_RST2 , RunTimeRec_In :=LSWP09A02_RH2 | LSWP09A02_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP09A02_RunTime2 ( RUN := LSWP09A02_R2, RUNTIMESET := LSWP09A02_RSTV2, RUNTIMERST := LSWP09A02_RST2, RunTimeRec_In := LSWP09A02_RH2 | LSWP09A02_RH2 := RUNTIME ) (** SWP09A03_RunTime1(RUN :=LSWP09A03_R1 , RUNTIMESET :=LSWP09A03_RSTV1 , RUNTIMERST :=LSWP09A03_RST1 , RunTimeRec_In :=LSWP09A03_RH1 | LSWP09A03_RH1:= RUNTIME); **) (* call - Stmt *) CAL SWP09A03_RunTime1 ( RUN := LSWP09A03_R1, RUNTIMESET := LSWP09A03_RSTV1, RUNTIMERST := LSWP09A03_RST1, RunTimeRec_In := LSWP09A03_RH1 | LSWP09A03_RH1 := RUNTIME ) (** SWP09A03_RunTime2(RUN :=LSWP09A03_R2 , RUNTIMESET :=LSWP09A03_RSTV2 , RUNTIMERST :=LSWP09A03_RST2 , RunTimeRec_In :=LSWP09A03_RH2 | LSWP09A03_RH2:= RUNTIME); **) (* call - Stmt *) CAL SWP09A03_RunTime2 ( RUN := LSWP09A03_R2, RUNTIMESET := LSWP09A03_RSTV2, RUNTIMERST := LSWP09A03_RST2, RunTimeRec_In := LSWP09A03_RH2 | LSWP09A03_RH2 := RUNTIME ) END_PROGRAM