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.
52 lines
3.3 KiB
52 lines
3.3 KiB
PROGRAM SUMP
|
|
VAR_EXTERNAL
|
|
|
|
END_VAR
|
|
|
|
VAR_GLOBAL
|
|
|
|
END_VAR
|
|
|
|
VAR
|
|
SWPB2A101_RunTime1:BS_RunTime;
|
|
SWPB2A101_RunTime2:BS_RunTime;
|
|
SWPB2A102_RunTime1:BS_RunTime;
|
|
SWPB2A102_RunTime2:BS_RunTime;
|
|
SWPB2A103_RunTime1:BS_RunTime;
|
|
SWPB2A103_RunTime2:BS_RunTime;
|
|
SWPB2A104_RunTime1:BS_RunTime;
|
|
SWPB2A104_RunTime2:BS_RunTime;
|
|
SWPB2A105_RunTime1:BS_RunTime;
|
|
SWPB2A105_RunTime2:BS_RunTime;
|
|
SWPB2A106_RunTime1:BS_RunTime;
|
|
SWPB2A106_RunTime2:BS_RunTime;
|
|
SWPB2A107_RunTime1:BS_RunTime;
|
|
SWPB2A107_RunTime2:BS_RunTime;
|
|
SWPB2A108_RunTime1:BS_RunTime;
|
|
SWPB2A108_RunTime2:BS_RunTime;
|
|
END_VAR
|
|
(*运行累积时间*)
|
|
SWPB2A101_RunTime1(RUN :=LSWPB2A101_R1 , RUNTIMESET :=LSWPB2A101_RSTV1 , RUNTIMERST :=LSWPB2A101_RST1 , RunTimeRec_In :=LSWPB2A101_RH1 | LSWPB2A101_RH1:= RUNTIME);
|
|
SWPB2A101_RunTime2(RUN :=LSWPB2A101_R2 , RUNTIMESET :=LSWPB2A101_RSTV2 , RUNTIMERST :=LSWPB2A101_RST2 , RunTimeRec_In :=LSWPB2A101_RH2 | LSWPB2A101_RH2:= RUNTIME);
|
|
(*运行累积时间*)
|
|
SWPB2A102_RunTime1(RUN :=LSWPB2A102_R1 , RUNTIMESET :=LSWPB2A102_RSTV1 , RUNTIMERST :=LSWPB2A102_RST1 , RunTimeRec_In :=LSWPB2A102_RH1 | LSWPB2A102_RH1:= RUNTIME);
|
|
SWPB2A102_RunTime2(RUN :=LSWPB2A102_R2 , RUNTIMESET :=LSWPB2A102_RSTV2 , RUNTIMERST :=LSWPB2A102_RST2 , RunTimeRec_In :=LSWPB2A102_RH2 | LSWPB2A102_RH2:= RUNTIME);
|
|
(*运行累积时间*)
|
|
SWPB2A103_RunTime1(RUN :=LSWPB2A103_R1 , RUNTIMESET :=LSWPB2A103_RSTV1 , RUNTIMERST :=LSWPB2A103_RST1 , RunTimeRec_In :=LSWPB2A103_RH1 | LSWPB2A103_RH1:= RUNTIME);
|
|
SWPB2A103_RunTime2(RUN :=LSWPB2A103_R2 , RUNTIMESET :=LSWPB2A103_RSTV2 , RUNTIMERST :=LSWPB2A103_RST2 , RunTimeRec_In :=LSWPB2A103_RH2 | LSWPB2A103_RH2:= RUNTIME);
|
|
(*运行累积时间*)
|
|
SWPB2A104_RunTime1(RUN :=LSWPB2A104_R1 , RUNTIMESET :=LSWPB2A104_RSTV1 , RUNTIMERST :=LSWPB2A104_RST1 , RunTimeRec_In :=LSWPB2A104_RH1 | LSWPB2A104_RH1:= RUNTIME);
|
|
SWPB2A104_RunTime2(RUN :=LSWPB2A104_R2 , RUNTIMESET :=LSWPB2A104_RSTV2 , RUNTIMERST :=LSWPB2A104_RST2 , RunTimeRec_In :=LSWPB2A104_RH2 | LSWPB2A104_RH2:= RUNTIME);
|
|
(*运行累积时间*)
|
|
SWPB2A105_RunTime1(RUN :=LSWPB2A105_R1 , RUNTIMESET :=LSWPB2A105_RSTV1 , RUNTIMERST :=LSWPB2A105_RST1 , RunTimeRec_In :=LSWPB2A105_RH1 | LSWPB2A105_RH1:= RUNTIME);
|
|
SWPB2A105_RunTime2(RUN :=LSWPB2A105_R2 , RUNTIMESET :=LSWPB2A105_RSTV2 , RUNTIMERST :=LSWPB2A105_RST2 , RunTimeRec_In :=LSWPB2A105_RH2 | LSWPB2A105_RH2:= RUNTIME);
|
|
(*运行累积时间*)
|
|
SWPB2A106_RunTime1(RUN :=LSWPB2A106_R1 , RUNTIMESET :=LSWPB2A106_RSTV1 , RUNTIMERST :=LSWPB2A106_RST1 , RunTimeRec_In :=LSWPB2A106_RH1 | LSWPB2A106_RH1:= RUNTIME);
|
|
SWPB2A106_RunTime2(RUN :=LSWPB2A106_R2 , RUNTIMESET :=LSWPB2A106_RSTV2 , RUNTIMERST :=LSWPB2A106_RST2 , RunTimeRec_In :=LSWPB2A106_RH2 | LSWPB2A106_RH2:= RUNTIME);
|
|
(*运行累积时间*)
|
|
SWPB2A107_RunTime1(RUN :=LSWPB2A107_R1 , RUNTIMESET :=LSWPB2A107_RSTV1 , RUNTIMERST :=LSWPB2A107_RST1 , RunTimeRec_In :=LSWPB2A107_RH1 | LSWPB2A107_RH1:= RUNTIME);
|
|
SWPB2A107_RunTime2(RUN :=LSWPB2A107_R2 , RUNTIMESET :=LSWPB2A107_RSTV2 , RUNTIMERST :=LSWPB2A107_RST2 , RunTimeRec_In :=LSWPB2A107_RH2 | LSWPB2A107_RH2:= RUNTIME);
|
|
(*运行累积时间*)
|
|
SWPB2A108_RunTime1(RUN :=LSWPB2A108_R1 , RUNTIMESET :=LSWPB2A108_RSTV1 , RUNTIMERST :=LSWPB2A108_RST1 , RunTimeRec_In :=LSWPB2A108_RH1 | LSWPB2A108_RH1:= RUNTIME);
|
|
SWPB2A108_RunTime2(RUN :=LSWPB2A108_R2 , RUNTIMESET :=LSWPB2A108_RSTV2 , RUNTIMERST :=LSWPB2A108_RST2 , RunTimeRec_In :=LSWPB2A108_RH2 | LSWPB2A108_RH2:= RUNTIME);
|
|
END_PROGRAM
|