江苏省南京市溧水区秦淮人家下位机
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.

60 lines
3.2 KiB

3 months ago
PROGRAM SWP
VAR_EXTERNAL
END_VAR
VAR_GLOBAL
END_VAR
VAR
SWPB1A01_RunTime1:BS_RunTime;
SWPB1A01_RunTime2:BS_RunTime;
SWPB1A02_RunTime1:BS_RunTime;
SWPB1A02_RunTime2:BS_RunTime;
SWPB1A03_RunTime1:BS_RunTime;
SWPB1A03_RunTime2:BS_RunTime;
SWPB1A04_RunTime1:BS_RunTime;
SWPB1A04_RunTime2:BS_RunTime;
SWPB1A05_RunTime1:BS_RunTime;
SWPB1A05_RunTime2:BS_RunTime;
SWPB1A06_RunTime1:BS_RunTime;
SWPB1A06_RunTime2:BS_RunTime;
SWPB1A07_RunTime1:BS_RunTime;
SWPB1A07_RunTime2:BS_RunTime;
SWPB1A08_RunTime1:BS_RunTime;
SWPB1A08_RunTime2:BS_RunTime;
SWPB1A09_RunTime1:BS_RunTime;
SWPB1A09_RunTime2:BS_RunTime;
SWPB1A10_RunTime1:BS_RunTime;
SWPB1A10_RunTime2:BS_RunTime;
EAFB1A01_RunTime:BS_RunTime;
EAFB1A02_RunTime:BS_RunTime;
EAFB1A03_RunTime:BS_RunTime;
END_VAR
(*运行累积时间*)
SWPB1C01_RunTime1(RUN :=LSWPB1C01_R1 , RUNTIMESET :=LSWPB1C01_RSTV1 , RUNTIMERST :=LSWPB1C01_RST1 , RunTimeRec_In :=LSWPB1C01_RH1 | LSWPB1C01_RH1:= RUNTIME);
SWPB1C01_RunTime2(RUN :=LSWPB1C01_R2 , RUNTIMESET :=LSWPB1C01_RSTV2 , RUNTIMERST :=LSWPB1C01_RST2 , RunTimeRec_In :=LSWPB1C01_RH2 | LSWPB1C01_RH2:= RUNTIME);
SWPB1C02_RunTime1(RUN :=LSWPB1C02_R1 , RUNTIMESET :=LSWPB1C02_RSTV1 , RUNTIMERST :=LSWPB1C02_RST1 , RunTimeRec_In :=LSWPB1C02_RH1 | LSWPB1C02_RH1:= RUNTIME);
SWPB1C02_RunTime2(RUN :=LSWPB1C02_R2 , RUNTIMESET :=LSWPB1C02_RSTV2 , RUNTIMERST :=LSWPB1C02_RST2 , RunTimeRec_In :=LSWPB1C02_RH2 | LSWPB1C02_RH2:= RUNTIME);
SWPB1C03_RunTime1(RUN :=LSWPB1C03_R1 , RUNTIMESET :=LSWPB1C03_RSTV1 , RUNTIMERST :=LSWPB1C03_RST1 , RunTimeRec_In :=LSWPB1C03_RH1 | LSWPB1C03_RH1:= RUNTIME);
SWPB1C03_RunTime2(RUN :=LSWPB1C03_R2 , RUNTIMESET :=LSWPB1C03_RSTV2 , RUNTIMERST :=LSWPB1C03_RST2 , RunTimeRec_In :=LSWPB1C03_RH2 | LSWPB1C03_RH2:= RUNTIME);
SWPB1C04_RunTime1(RUN :=LSWPB1C04_R1 , RUNTIMESET :=LSWPB1C04_RSTV1 , RUNTIMERST :=LSWPB1C04_RST1 , RunTimeRec_In :=LSWPB1C04_RH1 | LSWPB1C04_RH1:= RUNTIME);
SWPB1C04_RunTime2(RUN :=LSWPB1C04_R2 , RUNTIMESET :=LSWPB1C04_RSTV2 , RUNTIMERST :=LSWPB1C04_RST2 , RunTimeRec_In :=LSWPB1C04_RH2 | LSWPB1C04_RH2:= RUNTIME);
SWPB1C05_RunTime1(RUN :=LSWPB1C05_R1 , RUNTIMESET :=LSWPB1C05_RSTV1 , RUNTIMERST :=LSWPB1C05_RST1 , RunTimeRec_In :=LSWPB1C05_RH1 | LSWPB1C05_RH1:= RUNTIME);
SWPB1C05_RunTime2(RUN :=LSWPB1C05_R2 , RUNTIMESET :=LSWPB1C05_RSTV2 , RUNTIMERST :=LSWPB1C05_RST2 , RunTimeRec_In :=LSWPB1C05_RH2 | LSWPB1C05_RH2:= RUNTIME);
SWPB1C06_RunTime1(RUN :=LSWPB1C06_R1 , RUNTIMESET :=LSWPB1C06_RSTV1 , RUNTIMERST :=LSWPB1C06_RST1 , RunTimeRec_In :=LSWPB1C06_RH1 | LSWPB1C06_RH1:= RUNTIME);
SWPB1C06_RunTime2(RUN :=LSWPB1C06_R2 , RUNTIMESET :=LSWPB1C06_RSTV2 , RUNTIMERST :=LSWPB1C06_RST2 , RunTimeRec_In :=LSWPB1C06_RH2 | LSWPB1C06_RH2:= RUNTIME);
(*运行累积时间*)
EAFB1C01_RunTime(RUN :=LEAFB1C01_R , RUNTIMESET :=LEAFB1C01_RSTV , RUNTIMERST :=LEAFB1C01_RST, RunTimeRec_In :=LEAFB1C01_RH | LEAFB1C01_RH:= RUNTIME);
EAFB1C02_RunTime(RUN :=LEAFB1C02_R , RUNTIMESET :=LEAFB1C02_RSTV , RUNTIMERST :=LEAFB1C02_RST, RunTimeRec_In :=LEAFB1C02_RH | LEAFB1C02_RH:= RUNTIME);
EAFB1C03_RunTime(RUN :=LEAFB1C03_R , RUNTIMESET :=LEAFB1C03_RSTV , RUNTIMERST :=LEAFB1C03_RST, RunTimeRec_In :=LEAFB1C03_RH | LEAFB1C03_RH:= RUNTIME);
END_PROGRAM