PROGRAM SUMP VAR_EXTERNAL END_VAR VAR_GLOBAL END_VAR VAR SWPB3H01_RunTime1:BS_RunTime; SWPB3H01_RunTime2:BS_RunTime; SWPB3H02_RunTime1:BS_RunTime; SWPB3H02_RunTime2:BS_RunTime; SWPB3H03_RunTime1:BS_RunTime; SWPB3H03_RunTime2:BS_RunTime; SWPB3H04_RunTime1:BS_RunTime; SWPB3H04_RunTime2:BS_RunTime; SWPB3G01_RunTime1:BS_RunTime; SWPB3G01_RunTime2:BS_RunTime; SWPB3G02_RunTime1:BS_RunTime; SWPB3G02_RunTime2:BS_RunTime; SWPB3G03_RunTime1:BS_RunTime; SWPB3G03_RunTime2:BS_RunTime; SWPB3G04_RunTime1:BS_RunTime; SWPB3G04_RunTime2:BS_RunTime; SWPB3G05_RunTime1:BS_RunTime; SWPB3G05_RunTime2:BS_RunTime; SWPB3G06_RunTime1:BS_RunTime; SWPB3G06_RunTime2:BS_RunTime; END_VAR (*运行累积时间*) SWPB3H01_RunTime1(RUN :=LSWPB3H01_R1 , RUNTIMESET :=LSWPB3H01_RSTV1 , RUNTIMERST :=LSWPB3H01_RST1 , RunTimeRec_In :=LSWPB3H01_RH1 | LSWPB3H01_RH1:= RUNTIME); SWPB3H01_RunTime2(RUN :=LSWPB3H01_R2 , RUNTIMESET :=LSWPB3H01_RSTV2 , RUNTIMERST :=LSWPB3H01_RST2 , RunTimeRec_In :=LSWPB3H01_RH2 | LSWPB3H01_RH2:= RUNTIME); (*运行累积时间*) SWPB3H02_RunTime1(RUN :=LSWPB3H02_R1 , RUNTIMESET :=LSWPB3H02_RSTV1 , RUNTIMERST :=LSWPB3H02_RST1 , RunTimeRec_In :=LSWPB3H02_RH1 | LSWPB3H02_RH1:= RUNTIME); SWPB3H02_RunTime2(RUN :=LSWPB3H02_R2 , RUNTIMESET :=LSWPB3H02_RSTV2 , RUNTIMERST :=LSWPB3H02_RST2 , RunTimeRec_In :=LSWPB3H02_RH2 | LSWPB3H02_RH2:= RUNTIME); (*运行累积时间*) SWPB3H03_RunTime1(RUN :=LSWPB3H03_R1 , RUNTIMESET :=LSWPB3H03_RSTV1 , RUNTIMERST :=LSWPB3H03_RST1 , RunTimeRec_In :=LSWPB3H03_RH1 | LSWPB3H03_RH1:= RUNTIME); SWPB3H03_RunTime2(RUN :=LSWPB3H03_R2 , RUNTIMESET :=LSWPB3H03_RSTV2 , RUNTIMERST :=LSWPB3H03_RST2 , RunTimeRec_In :=LSWPB3H03_RH2 | LSWPB3H03_RH2:= RUNTIME); (*运行累积时间*) SWPB3H04_RunTime1(RUN :=LSWPB3H04_R1 , RUNTIMESET :=LSWPB3H04_RSTV1 , RUNTIMERST :=LSWPB3H04_RST1 , RunTimeRec_In :=LSWPB3H04_RH1 | LSWPB3H04_RH1:= RUNTIME); SWPB3H04_RunTime2(RUN :=LSWPB3H04_R2 , RUNTIMESET :=LSWPB3H04_RSTV2 , RUNTIMERST :=LSWPB3H04_RST2 , RunTimeRec_In :=LSWPB3H04_RH2 | LSWPB3H04_RH2:= RUNTIME); (*运行累积时间*) SWPB3G01_RunTime1(RUN :=LSWPB3G01_R1 , RUNTIMESET :=LSWPB3G01_RSTV1 , RUNTIMERST :=LSWPB3G01_RST1 , RunTimeRec_In :=LSWPB3G01_RH1 | LSWPB3G01_RH1:= RUNTIME); SWPB3G01_RunTime2(RUN :=LSWPB3G01_R2 , RUNTIMESET :=LSWPB3G01_RSTV2 , RUNTIMERST :=LSWPB3G01_RST2 , RunTimeRec_In :=LSWPB3G01_RH2 | LSWPB3G01_RH2:= RUNTIME); (*运行累积时间*) SWPB3G02_RunTime1(RUN :=LSWPB3G02_R1 , RUNTIMESET :=LSWPB3G02_RSTV1 , RUNTIMERST :=LSWPB3G02_RST1 , RunTimeRec_In :=LSWPB3G02_RH1 | LSWPB3G02_RH1:= RUNTIME); SWPB3G02_RunTime2(RUN :=LSWPB3G02_R2 , RUNTIMESET :=LSWPB3G02_RSTV2 , RUNTIMERST :=LSWPB3G02_RST2 , RunTimeRec_In :=LSWPB3G02_RH2 | LSWPB3G02_RH2:= RUNTIME); (*运行累积时间*) SWPB3G03_RunTime1(RUN :=LSWPB3G03_R1 , RUNTIMESET :=LSWPB3G03_RSTV1 , RUNTIMERST :=LSWPB3G03_RST1 , RunTimeRec_In :=LSWPB3G03_RH1 | LSWPB3G03_RH1:= RUNTIME); SWPB3G03_RunTime2(RUN :=LSWPB3G03_R2 , RUNTIMESET :=LSWPB3G03_RSTV2 , RUNTIMERST :=LSWPB3G03_RST2 , RunTimeRec_In :=LSWPB3G03_RH2 | LSWPB3G03_RH2:= RUNTIME); (*运行累积时间*) SWPB3G04_RunTime1(RUN :=LSWPB3G04_R1 , RUNTIMESET :=LSWPB3G04_RSTV1 , RUNTIMERST :=LSWPB3G04_RST1 , RunTimeRec_In :=LSWPB3G04_RH1 | LSWPB3G04_RH1:= RUNTIME); SWPB3G04_RunTime2(RUN :=LSWPB3G04_R2 , RUNTIMESET :=LSWPB3G04_RSTV2 , RUNTIMERST :=LSWPB3G04_RST2 , RunTimeRec_In :=LSWPB3G04_RH2 | LSWPB3G04_RH2:= RUNTIME); (*运行累积时间*) SWPB3G05_RunTime1(RUN :=LSWPB3G05_R1 , RUNTIMESET :=LSWPB3G05_RSTV1 , RUNTIMERST :=LSWPB3G05_RST1 , RunTimeRec_In :=LSWPB3G05_RH1 | LSWPB3G05_RH1:= RUNTIME); SWPB3G05_RunTime2(RUN :=LSWPB3G05_R2 , RUNTIMESET :=LSWPB3G05_RSTV2 , RUNTIMERST :=LSWPB3G05_RST2 , RunTimeRec_In :=LSWPB3G05_RH2 | LSWPB3G05_RH2:= RUNTIME); (*运行累积时间*) SWPB3G06_RunTime1(RUN :=LSWPB3G06_R1 , RUNTIMESET :=LSWPB3G06_RSTV1 , RUNTIMERST :=LSWPB3G06_RST1 , RunTimeRec_In :=LSWPB3G06_RH1 | LSWPB3G06_RH1:= RUNTIME); SWPB3G06_RunTime2(RUN :=LSWPB3G06_R2 , RUNTIMESET :=LSWPB3G06_RSTV2 , RUNTIMERST :=LSWPB3G06_RST2 , RunTimeRec_In :=LSWPB3G06_RH2 | LSWPB3G06_RH2:= RUNTIME); END_PROGRAM