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; SWPB3E01_RunTime1:BS_RunTime; SWPB3E01_RunTime2:BS_RunTime; SWPB3E02_RunTime1:BS_RunTime; SWPB3E02_RunTime2:BS_RunTime; SWPB3E03_RunTime1:BS_RunTime; SWPB3E03_RunTime2:BS_RunTime; SWPB3E04_RunTime1:BS_RunTime; SWPB3E04_RunTime2:BS_RunTime; SWPB3E05_RunTime1:BS_RunTime; SWPB3E05_RunTime2:BS_RunTime; SWPB3E06_RunTime1:BS_RunTime; SWPB3E06_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); (*运行累积时间*) SWPB3E01_RunTime1(RUN :=LSWPB3E01_R1 , RUNTIMESET :=LSWPB3E01_RSTV1 , RUNTIMERST :=LSWPB3E01_RST1 , RunTimeRec_In :=LSWPB3E01_RH1 | LSWPB3E01_RH1:= RUNTIME); SWPB3E01_RunTime2(RUN :=LSWPB3E01_R2 , RUNTIMESET :=LSWPB3E01_RSTV2 , RUNTIMERST :=LSWPB3E01_RST2 , RunTimeRec_In :=LSWPB3E01_RH2 | LSWPB3E01_RH2:= RUNTIME); (*运行累积时间*) SWPB3E02_RunTime1(RUN :=LSWPB3E02_R1 , RUNTIMESET :=LSWPB3E02_RSTV1 , RUNTIMERST :=LSWPB3E02_RST1 , RunTimeRec_In :=LSWPB3E02_RH1 | LSWPB3E02_RH1:= RUNTIME); SWPB3E02_RunTime2(RUN :=LSWPB3E02_R2 , RUNTIMESET :=LSWPB3E02_RSTV2 , RUNTIMERST :=LSWPB3E02_RST2 , RunTimeRec_In :=LSWPB3E02_RH2 | LSWPB3E02_RH2:= RUNTIME); (*运行累积时间*) SWPB3E03_RunTime1(RUN :=LSWPB3E03_R1 , RUNTIMESET :=LSWPB3E03_RSTV1 , RUNTIMERST :=LSWPB3E03_RST1 , RunTimeRec_In :=LSWPB3E03_RH1 | LSWPB3E03_RH1:= RUNTIME); SWPB3E03_RunTime2(RUN :=LSWPB3E03_R2 , RUNTIMESET :=LSWPB3E03_RSTV2 , RUNTIMERST :=LSWPB3E03_RST2 , RunTimeRec_In :=LSWPB3E03_RH2 | LSWPB3E03_RH2:= RUNTIME); (*运行累积时间*) SWPB3E04_RunTime1(RUN :=LSWPB3E04_R1 , RUNTIMESET :=LSWPB3E04_RSTV1 , RUNTIMERST :=LSWPB3E04_RST1 , RunTimeRec_In :=LSWPB3E04_RH1 | LSWPB3E04_RH1:= RUNTIME); SWPB3E04_RunTime2(RUN :=LSWPB3E04_R2 , RUNTIMESET :=LSWPB3E04_RSTV2 , RUNTIMERST :=LSWPB3E04_RST2 , RunTimeRec_In :=LSWPB3E04_RH2 | LSWPB3E04_RH2:= RUNTIME); (*运行累积时间*) SWPB3E05_RunTime1(RUN :=LSWPB3E05_R1 , RUNTIMESET :=LSWPB3E05_RSTV1 , RUNTIMERST :=LSWPB3E05_RST1 , RunTimeRec_In :=LSWPB3E05_RH1 | LSWPB3E05_RH1:= RUNTIME); SWPB3E05_RunTime2(RUN :=LSWPB3E05_R2 , RUNTIMESET :=LSWPB3E05_RSTV2 , RUNTIMERST :=LSWPB3E05_RST2 , RunTimeRec_In :=LSWPB3E05_RH2 | LSWPB3E05_RH2:= RUNTIME); (*运行累积时间*) SWPB3E06_RunTime1(RUN :=LSWPB3E06_R1 , RUNTIMESET :=LSWPB3E06_RSTV1 , RUNTIMERST :=LSWPB3E06_RST1 , RunTimeRec_In :=LSWPB3E06_RH1 | LSWPB3E06_RH1:= RUNTIME); SWPB3E06_RunTime2(RUN :=LSWPB3E06_R2 , RUNTIMESET :=LSWPB3E06_RSTV2 , RUNTIMERST :=LSWPB3E06_RST2 , RunTimeRec_In :=LSWPB3E06_RH2 | LSWPB3E06_RH2:= RUNTIME); END_PROGRAM