You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
3.4 KiB
72 lines
3.4 KiB
PROGRAM SUMP
|
|
VAR_EXTERNAL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
END_VAR
|
|
|
|
VAR_GLOBAL
|
|
|
|
END_VAR
|
|
|
|
VAR
|
|
|
|
SWPB3C01_RunTime1:BS_RunTime;
|
|
SWPB3C01_RunTime2:BS_RunTime;
|
|
SWPB3C02_RunTime1:BS_RunTime;
|
|
SWPB3C02_RunTime2:BS_RunTime;
|
|
SWPB3C03_RunTime1:BS_RunTime;
|
|
SWPB3C03_RunTime2:BS_RunTime;
|
|
SWPB3C04_RunTime1:BS_RunTime;
|
|
SWPB3C04_RunTime2:BS_RunTime;
|
|
SWPB3A01_RunTime1:BS_RunTime;
|
|
SWPB3A01_RunTime2:BS_RunTime;
|
|
SWPB3A02_RunTime1:BS_RunTime;
|
|
SWPB3A02_RunTime2:BS_RunTime;
|
|
SWPB3A03_RunTime1:BS_RunTime;
|
|
SWPB3A03_RunTime2:BS_RunTime;
|
|
SWPB3A04_RunTime1:BS_RunTime;
|
|
SWPB3A04_RunTime2:BS_RunTime;
|
|
|
|
END_VAR
|
|
|
|
(*运行累积时间*)
|
|
SWPB3C01_RunTime1(RUN :=LSWPB3C01_R1 , RUNTIMESET :=LSWPB3C01_RSTV1 , RUNTIMERST :=LSWPB3C01_RST1 , RunTimeRec_In :=LSWPB3C01_RH1 | LSWPB3C01_RH1:= RUNTIME);
|
|
SWPB3C01_RunTime2(RUN :=LSWPB3C01_R2 , RUNTIMESET :=LSWPB3C01_RSTV2 , RUNTIMERST :=LSWPB3C01_RST2 , RunTimeRec_In :=LSWPB3C01_RH2 | LSWPB3C01_RH2:= RUNTIME);
|
|
|
|
(*运行累积时间*)
|
|
SWPB3C02_RunTime1(RUN :=LSWPB3C02_R1 , RUNTIMESET :=LSWPB3C02_RSTV1 , RUNTIMERST :=LSWPB3C02_RST1 , RunTimeRec_In :=LSWPB3C02_RH1 | LSWPB3C02_RH1:= RUNTIME);
|
|
SWPB3C02_RunTime2(RUN :=LSWPB3C02_R2 , RUNTIMESET :=LSWPB3C02_RSTV2 , RUNTIMERST :=LSWPB3C02_RST2 , RunTimeRec_In :=LSWPB3C02_RH2 | LSWPB3C02_RH2:= RUNTIME);
|
|
|
|
(*运行累积时间*)
|
|
SWPB3C03_RunTime1(RUN :=LSWPB3C03_R1 , RUNTIMESET :=LSWPB3C03_RSTV1 , RUNTIMERST :=LSWPB3C03_RST1 , RunTimeRec_In :=LSWPB3C03_RH1 | LSWPB3C03_RH1:= RUNTIME);
|
|
SWPB3C03_RunTime2(RUN :=LSWPB3C03_R2 , RUNTIMESET :=LSWPB3C03_RSTV2 , RUNTIMERST :=LSWPB3C03_RST2 , RunTimeRec_In :=LSWPB3C03_RH2 | LSWPB3C03_RH2:= RUNTIME);
|
|
|
|
(*运行累积时间*)
|
|
SWPB3C04_RunTime1(RUN :=LSWPB3C04_R1 , RUNTIMESET :=LSWPB3C04_RSTV1 , RUNTIMERST :=LSWPB3C04_RST1 , RunTimeRec_In :=LSWPB3C04_RH1 | LSWPB3C04_RH1:= RUNTIME);
|
|
SWPB3C04_RunTime2(RUN :=LSWPB3C04_R2 , RUNTIMESET :=LSWPB3C04_RSTV2 , RUNTIMERST :=LSWPB3C04_RST2 , RunTimeRec_In :=LSWPB3C04_RH2 | LSWPB3C04_RH2:= RUNTIME);
|
|
|
|
(*运行累积时间*)
|
|
SWPB3A01_RunTime1(RUN :=LSWPB3A01_R1 , RUNTIMESET :=LSWPB3A01_RSTV1 , RUNTIMERST :=LSWPB3A01_RST1 , RunTimeRec_In :=LSWPB3A01_RH1 | LSWPB3A01_RH1:= RUNTIME);
|
|
SWPB3A01_RunTime2(RUN :=LSWPB3A01_R2 , RUNTIMESET :=LSWPB3A01_RSTV2 , RUNTIMERST :=LSWPB3A01_RST2 , RunTimeRec_In :=LSWPB3A01_RH2 | LSWPB3A01_RH2:= RUNTIME);
|
|
|
|
(*运行累积时间*)
|
|
SWPB3A02_RunTime1(RUN :=LSWPB3A02_R1 , RUNTIMESET :=LSWPB3A02_RSTV1 , RUNTIMERST :=LSWPB3A02_RST1 , RunTimeRec_In :=LSWPB3A02_RH1 | LSWPB3A02_RH1:= RUNTIME);
|
|
SWPB3A02_RunTime2(RUN :=LSWPB3A02_R2 , RUNTIMESET :=LSWPB3A02_RSTV2 , RUNTIMERST :=LSWPB3A02_RST2 , RunTimeRec_In :=LSWPB3A02_RH2 | LSWPB3A02_RH2:= RUNTIME);
|
|
|
|
(*运行累积时间*)
|
|
SWPB3A03_RunTime1(RUN :=LSWPB3A03_R1 , RUNTIMESET :=LSWPB3A03_RSTV1 , RUNTIMERST :=LSWPB3A03_RST1 , RunTimeRec_In :=LSWPB3A03_RH1 | LSWPB3A03_RH1:= RUNTIME);
|
|
SWPB3A03_RunTime2(RUN :=LSWPB3A03_R2 , RUNTIMESET :=LSWPB3A03_RSTV2 , RUNTIMERST :=LSWPB3A03_RST2 , RunTimeRec_In :=LSWPB3A03_RH2 | LSWPB3A03_RH2:= RUNTIME);
|
|
|
|
(*运行累积时间*)
|
|
SWPB3A04_RunTime1(RUN :=LSWPB3A04_R1 , RUNTIMESET :=LSWPB3A04_RSTV1 , RUNTIMERST :=LSWPB3A04_RST1 , RunTimeRec_In :=LSWPB3A04_RH1 | LSWPB3A04_RH1:= RUNTIME);
|
|
SWPB3A04_RunTime2(RUN :=LSWPB3A04_R2 , RUNTIMESET :=LSWPB3A04_RSTV2 , RUNTIMERST :=LSWPB3A04_RST2 , RunTimeRec_In :=LSWPB3A04_RH2 | LSWPB3A04_RH2:= RUNTIME);
|
|
|
|
|
|
END_PROGRAM
|