海南电网项目下位机程序
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.

323 lines
9.2 KiB

5 days ago
PROGRAM SUMP
VAR_EXTERNAL
END_VAR
VAR_GLOBAL
END_VAR
VAR
SWPB2A01_RunTime1:BS_RunTime;
SWPB2A01_RunTime2:BS_RunTime;
SWPB2A02_RunTime1:BS_RunTime;
SWPB2A02_RunTime2:BS_RunTime;
SWPB2A03_RunTime1:BS_RunTime;
SWPB2A03_RunTime2:BS_RunTime;
SWPB2A04_RunTime1:BS_RunTime;
SWPB2A04_RunTime2:BS_RunTime;
SWPB2A05_RunTime1:BS_RunTime;
SWPB2A05_RunTime2:BS_RunTime;
SWPB2A06_RunTime1:BS_RunTime;
SWPB2A06_RunTime2:BS_RunTime;
SWPB2A07_RunTime1:BS_RunTime;
SWPB2A07_RunTime2:BS_RunTime;
SWPB2A08_RunTime1:BS_RunTime;
SWPB2A08_RunTime2:BS_RunTime;
SWPB2A09_RunTime1:BS_RunTime;
SWPB2A09_RunTime2:BS_RunTime;
END_VAR
(*Automatically declared*)
VAR_EXTERNAL
LSWPB2A01_RST2 : BOOL;
LSWPB2A05_R2 : BOOL;
LSWPB2A04_R1 : BOOL;
LSWPB2A04_R2 : BOOL;
LSWPB2A03_R1 : BOOL;
LSWPB2A03_R2 : BOOL;
LSWPB2A02_R1 : BOOL;
LSWPB2A01_RH1 : REAL;
LSWPB2A01_RSTV1 : REAL;
LSWPB2A02_R2 : BOOL;
LSWPB2A01_R1 : BOOL;
LSWPB2A03_RSTV1 : REAL;
LSWPB2A02_RH1 : REAL;
LSWPB2A02_RSTV1 : REAL;
LSWPB2A01_RH2 : REAL;
LSWPB2A01_RSTV2 : REAL;
LSWPB2A01_R2 : BOOL;
LSWPB2A04_RSTV1 : REAL;
LSWPB2A03_RSTV2 : REAL;
LSWPB2A03_RH1 : REAL;
LSWPB2A02_RH2 : REAL;
LSWPB2A02_RSTV2 : REAL;
LSWPB2A06_RSTV1 : REAL;
LSWPB2A05_RSTV1 : REAL;
LSWPB2A04_RSTV2 : REAL;
LSWPB2A04_RH1 : REAL;
LSWPB2A03_RH2 : REAL;
LSWPB2A07_RSTV1 : REAL;
LSWPB2A06_RSTV2 : REAL;
LSWPB2A05_RSTV2 : REAL;
LSWPB2A05_RH1 : REAL;
LSWPB2A04_RH2 : REAL;
LSWPB2A09_RSTV1 : REAL;
LSWPB2A09_RST1 : BOOL;
LSWPB2A08_RSTV1 : REAL;
LSWPB2A07_RSTV2 : REAL;
LSWPB2A06_RH1 : REAL;
LSWPB2A05_RH2 : REAL;
LSWPB2A09_RSTV2 : REAL;
LSWPB2A09_RST2 : BOOL;
LSWPB2A08_RSTV2 : REAL;
LSWPB2A08_RST1 : BOOL;
LSWPB2A07_RH1 : REAL;
LSWPB2A06_RH2 : REAL;
LSWPB2A08_RST2 : BOOL;
LSWPB2A08_RH1 : REAL;
LSWPB2A07_RH2 : REAL;
LSWPB2A07_RST1 : BOOL;
LSWPB2A09_RH1 : REAL;
LSWPB2A08_RH2 : REAL;
LSWPB2A07_RST2 : BOOL;
LSWPB2A06_RST1 : BOOL;
LSWPB2A09_RH2 : REAL;
LSWPB2A06_RST2 : BOOL;
LSWPB2A05_RST1 : BOOL;
LSWPB2A09_R1 : BOOL;
LSWPB2A05_RST2 : BOOL;
LSWPB2A04_RST1 : BOOL;
LSWPB2A09_R2 : BOOL;
LSWPB2A08_R1 : BOOL;
LSWPB2A04_RST2 : BOOL;
LSWPB2A03_RST1 : BOOL;
LSWPB2A08_R2 : BOOL;
LSWPB2A07_R1 : BOOL;
LSWPB2A03_RST2 : BOOL;
LSWPB2A02_RST1 : BOOL;
LSWPB2A07_R2 : BOOL;
LSWPB2A06_R1 : BOOL;
LSWPB2A02_RST2 : BOOL;
LSWPB2A01_RST1 : BOOL;
LSWPB2A06_R2 : BOOL;
LSWPB2A05_R1 : BOOL;
END_VAR
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A01_RunTime1(RUN :=LSWPB2A01_R1 , RUNTIMESET :=LSWPB2A01_RSTV1 , RUNTIMERST :=LSWPB2A01_RST1 , RunTimeRec_In :=LSWPB2A01_RH1 | LSWPB2A01_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A01_RunTime1 (
RUN := LSWPB2A01_R1,
RUNTIMESET := LSWPB2A01_RSTV1,
RUNTIMERST := LSWPB2A01_RST1,
RunTimeRec_In := LSWPB2A01_RH1
|
LSWPB2A01_RH1 := RUNTIME
)
(** SWPB2A01_RunTime2(RUN :=LSWPB2A01_R2 , RUNTIMESET :=LSWPB2A01_RSTV2 , RUNTIMERST :=LSWPB2A01_RST2 , RunTimeRec_In :=LSWPB2A01_RH2 | LSWPB2A01_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A01_RunTime2 (
RUN := LSWPB2A01_R2,
RUNTIMESET := LSWPB2A01_RSTV2,
RUNTIMERST := LSWPB2A01_RST2,
RunTimeRec_In := LSWPB2A01_RH2
|
LSWPB2A01_RH2 := RUNTIME
)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A02_RunTime1(RUN :=LSWPB2A02_R1 , RUNTIMESET :=LSWPB2A02_RSTV1 , RUNTIMERST :=LSWPB2A02_RST1 , RunTimeRec_In :=LSWPB2A02_RH1 | LSWPB2A02_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A02_RunTime1 (
RUN := LSWPB2A02_R1,
RUNTIMESET := LSWPB2A02_RSTV1,
RUNTIMERST := LSWPB2A02_RST1,
RunTimeRec_In := LSWPB2A02_RH1
|
LSWPB2A02_RH1 := RUNTIME
)
(** SWPB2A02_RunTime2(RUN :=LSWPB2A02_R2 , RUNTIMESET :=LSWPB2A02_RSTV2 , RUNTIMERST :=LSWPB2A02_RST2 , RunTimeRec_In :=LSWPB2A02_RH2 | LSWPB2A02_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A02_RunTime2 (
RUN := LSWPB2A02_R2,
RUNTIMESET := LSWPB2A02_RSTV2,
RUNTIMERST := LSWPB2A02_RST2,
RunTimeRec_In := LSWPB2A02_RH2
|
LSWPB2A02_RH2 := RUNTIME
)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A03_RunTime1(RUN :=LSWPB2A03_R1 , RUNTIMESET :=LSWPB2A03_RSTV1 , RUNTIMERST :=LSWPB2A03_RST1 , RunTimeRec_In :=LSWPB2A03_RH1 | LSWPB2A03_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A03_RunTime1 (
RUN := LSWPB2A03_R1,
RUNTIMESET := LSWPB2A03_RSTV1,
RUNTIMERST := LSWPB2A03_RST1,
RunTimeRec_In := LSWPB2A03_RH1
|
LSWPB2A03_RH1 := RUNTIME
)
(** SWPB2A03_RunTime2(RUN :=LSWPB2A03_R2 , RUNTIMESET :=LSWPB2A03_RSTV2 , RUNTIMERST :=LSWPB2A03_RST2 , RunTimeRec_In :=LSWPB2A03_RH2 | LSWPB2A03_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A03_RunTime2 (
RUN := LSWPB2A03_R2,
RUNTIMESET := LSWPB2A03_RSTV2,
RUNTIMERST := LSWPB2A03_RST2,
RunTimeRec_In := LSWPB2A03_RH2
|
LSWPB2A03_RH2 := RUNTIME
)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A04_RunTime1(RUN :=LSWPB2A04_R1 , RUNTIMESET :=LSWPB2A04_RSTV1 , RUNTIMERST :=LSWPB2A04_RST1 , RunTimeRec_In :=LSWPB2A04_RH1 | LSWPB2A04_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A04_RunTime1 (
RUN := LSWPB2A04_R1,
RUNTIMESET := LSWPB2A04_RSTV1,
RUNTIMERST := LSWPB2A04_RST1,
RunTimeRec_In := LSWPB2A04_RH1
|
LSWPB2A04_RH1 := RUNTIME
)
(** SWPB2A04_RunTime2(RUN :=LSWPB2A04_R2 , RUNTIMESET :=LSWPB2A04_RSTV2 , RUNTIMERST :=LSWPB2A04_RST2 , RunTimeRec_In :=LSWPB2A04_RH2 | LSWPB2A04_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A04_RunTime2 (
RUN := LSWPB2A04_R2,
RUNTIMESET := LSWPB2A04_RSTV2,
RUNTIMERST := LSWPB2A04_RST2,
RunTimeRec_In := LSWPB2A04_RH2
|
LSWPB2A04_RH2 := RUNTIME
)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A05_RunTime1(RUN :=LSWPB2A05_R1 , RUNTIMESET :=LSWPB2A05_RSTV1 , RUNTIMERST :=LSWPB2A05_RST1 , RunTimeRec_In :=LSWPB2A05_RH1 | LSWPB2A05_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A05_RunTime1 (
RUN := LSWPB2A05_R1,
RUNTIMESET := LSWPB2A05_RSTV1,
RUNTIMERST := LSWPB2A05_RST1,
RunTimeRec_In := LSWPB2A05_RH1
|
LSWPB2A05_RH1 := RUNTIME
)
(** SWPB2A05_RunTime2(RUN :=LSWPB2A05_R2 , RUNTIMESET :=LSWPB2A05_RSTV2 , RUNTIMERST :=LSWPB2A05_RST2 , RunTimeRec_In :=LSWPB2A05_RH2 | LSWPB2A05_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A05_RunTime2 (
RUN := LSWPB2A05_R2,
RUNTIMESET := LSWPB2A05_RSTV2,
RUNTIMERST := LSWPB2A05_RST2,
RunTimeRec_In := LSWPB2A05_RH2
|
LSWPB2A05_RH2 := RUNTIME
)
(** **)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A06_RunTime1(RUN :=LSWPB2A06_R1 , RUNTIMESET :=LSWPB2A06_RSTV1 , RUNTIMERST :=LSWPB2A06_RST1 , RunTimeRec_In :=LSWPB2A06_RH1 | LSWPB2A06_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A06_RunTime1 (
RUN := LSWPB2A06_R1,
RUNTIMESET := LSWPB2A06_RSTV1,
RUNTIMERST := LSWPB2A06_RST1,
RunTimeRec_In := LSWPB2A06_RH1
|
LSWPB2A06_RH1 := RUNTIME
)
(** SWPB2A06_RunTime2(RUN :=LSWPB2A06_R2 , RUNTIMESET :=LSWPB2A06_RSTV2 , RUNTIMERST :=LSWPB2A06_RST2 , RunTimeRec_In :=LSWPB2A06_RH2 | LSWPB2A06_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A06_RunTime2 (
RUN := LSWPB2A06_R2,
RUNTIMESET := LSWPB2A06_RSTV2,
RUNTIMERST := LSWPB2A06_RST2,
RunTimeRec_In := LSWPB2A06_RH2
|
LSWPB2A06_RH2 := RUNTIME
)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A07_RunTime1(RUN :=LSWPB2A07_R1 , RUNTIMESET :=LSWPB2A07_RSTV1 , RUNTIMERST :=LSWPB2A07_RST1 , RunTimeRec_In :=LSWPB2A07_RH1 | LSWPB2A07_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A07_RunTime1 (
RUN := LSWPB2A07_R1,
RUNTIMESET := LSWPB2A07_RSTV1,
RUNTIMERST := LSWPB2A07_RST1,
RunTimeRec_In := LSWPB2A07_RH1
|
LSWPB2A07_RH1 := RUNTIME
)
(** SWPB2A07_RunTime2(RUN :=LSWPB2A07_R2 , RUNTIMESET :=LSWPB2A07_RSTV2 , RUNTIMERST :=LSWPB2A07_RST2 , RunTimeRec_In :=LSWPB2A07_RH2 | LSWPB2A07_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A07_RunTime2 (
RUN := LSWPB2A07_R2,
RUNTIMESET := LSWPB2A07_RSTV2,
RUNTIMERST := LSWPB2A07_RST2,
RunTimeRec_In := LSWPB2A07_RH2
|
LSWPB2A07_RH2 := RUNTIME
)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A08_RunTime1(RUN :=LSWPB2A08_R1 , RUNTIMESET :=LSWPB2A08_RSTV1 , RUNTIMERST :=LSWPB2A08_RST1 , RunTimeRec_In :=LSWPB2A08_RH1 | LSWPB2A08_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A08_RunTime1 (
RUN := LSWPB2A08_R1,
RUNTIMESET := LSWPB2A08_RSTV1,
RUNTIMERST := LSWPB2A08_RST1,
RunTimeRec_In := LSWPB2A08_RH1
|
LSWPB2A08_RH1 := RUNTIME
)
(** SWPB2A08_RunTime2(RUN :=LSWPB2A08_R2 , RUNTIMESET :=LSWPB2A08_RSTV2 , RUNTIMERST :=LSWPB2A08_RST2 , RunTimeRec_In :=LSWPB2A08_RH2 | LSWPB2A08_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A08_RunTime2 (
RUN := LSWPB2A08_R2,
RUNTIMESET := LSWPB2A08_RSTV2,
RUNTIMERST := LSWPB2A08_RST2,
RunTimeRec_In := LSWPB2A08_RH2
|
LSWPB2A08_RH2 := RUNTIME
)
(** **)
(** {*�����ۻ�ʱ��*} **)
(** SWPB2A09_RunTime1(RUN :=LSWPB2A09_R1 , RUNTIMESET :=LSWPB2A09_RSTV1 , RUNTIMERST :=LSWPB2A09_RST1 , RunTimeRec_In :=LSWPB2A09_RH1 | LSWPB2A09_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A09_RunTime1 (
RUN := LSWPB2A09_R1,
RUNTIMESET := LSWPB2A09_RSTV1,
RUNTIMERST := LSWPB2A09_RST1,
RunTimeRec_In := LSWPB2A09_RH1
|
LSWPB2A09_RH1 := RUNTIME
)
(** SWPB2A09_RunTime2(RUN :=LSWPB2A09_R2 , RUNTIMESET :=LSWPB2A09_RSTV2 , RUNTIMERST :=LSWPB2A09_RST2 , RunTimeRec_In :=LSWPB2A09_RH2 | LSWPB2A09_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB2A09_RunTime2 (
RUN := LSWPB2A09_R2,
RUNTIMESET := LSWPB2A09_RSTV2,
RUNTIMERST := LSWPB2A09_RST2,
RunTimeRec_In := LSWPB2A09_RH2
|
LSWPB2A09_RH2 := RUNTIME
)
END_PROGRAM