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.
251 lines
7.0 KiB
251 lines
7.0 KiB
3 months ago
|
PROGRAM SWP
|
||
|
VAR_EXTERNAL
|
||
|
|
||
|
END_VAR
|
||
|
|
||
|
VAR_GLOBAL
|
||
|
|
||
|
END_VAR
|
||
|
|
||
|
VAR
|
||
|
SWPB1D01_RunTime1:BS_RunTime;
|
||
|
SWPB1D01_RunTime2:BS_RunTime;
|
||
|
SWPB1D02_RunTime1:BS_RunTime;
|
||
|
SWPB1D02_RunTime2:BS_RunTime;
|
||
|
SWPB1D03_RunTime1:BS_RunTime;
|
||
|
SWPB1D03_RunTime2:BS_RunTime;
|
||
|
SWPB1D04_RunTime1:BS_RunTime;
|
||
|
SWPB1D04_RunTime2:BS_RunTime;
|
||
|
SWPB1D05_RunTime1:BS_RunTime;
|
||
|
SWPB1D05_RunTime2:BS_RunTime;
|
||
|
SWPB1D06_RunTime1:BS_RunTime;
|
||
|
SWPB1D06_RunTime2:BS_RunTime;
|
||
|
|
||
|
|
||
|
EAFB1D01_RunTime:BS_RunTime;
|
||
|
EAFB1D02_RunTime:BS_RunTime;
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
END_VAR
|
||
|
|
||
|
(*Automatically declared*)
|
||
|
VAR_EXTERNAL
|
||
|
LSWPB1D03_RST2 : BOOL;
|
||
|
LSWPB1D03_RST1 : BOOL;
|
||
|
LSWPB1D01_RH2 : REAL;
|
||
|
LSWPB1D05_RST2 : BOOL;
|
||
|
LSWPB1D05_RST1 : BOOL;
|
||
|
LSWPB1D04_RH1 : REAL;
|
||
|
LSWPB1D03_RH1 : REAL;
|
||
|
LSWPB1D01_RH1 : REAL;
|
||
|
LSWPB1D06_R2 : BOOL;
|
||
|
LSWPB1D06_R1 : BOOL;
|
||
|
LSWPB1D06_RSTV1 : REAL;
|
||
|
LSWPB1D06_RSTV2 : REAL;
|
||
|
LSWPB1D05_R2 : BOOL;
|
||
|
LSWPB1D05_R1 : BOOL;
|
||
|
LSWPB1D06_RH1 : REAL;
|
||
|
LSWPB1D03_RH2 : REAL;
|
||
|
LSWPB1D02_RSTV1 : REAL;
|
||
|
LSWPB1D04_R2 : BOOL;
|
||
|
LSWPB1D04_R1 : BOOL;
|
||
|
LEAFB1D01_RH : REAL;
|
||
|
LEAFB1D01_RSTV : REAL;
|
||
|
LEAFB1D01_RST : BOOL;
|
||
|
LSWPB1D06_RH2 : REAL;
|
||
|
LSWPB1D02_RSTV2 : REAL;
|
||
|
LEAFB1D01_R : BOOL;
|
||
|
LEAFB1D02_RSTV : REAL;
|
||
|
LEAFB1D02_RST : BOOL;
|
||
|
LSWPB1D03_RSTV2 : REAL;
|
||
|
LSWPB1D01_RSTV1 : REAL;
|
||
|
LEAFB1D02_RH : REAL;
|
||
|
LSWPB1D04_RSTV2 : REAL;
|
||
|
LSWPB1D03_RSTV1 : REAL;
|
||
|
LEAFB1D02_R : BOOL;
|
||
|
LSWPB1D02_R2 : BOOL;
|
||
|
LSWPB1D02_R1 : BOOL;
|
||
|
LSWPB1D01_RSTV2 : REAL;
|
||
|
LSWPB1D01_RST2 : BOOL;
|
||
|
LSWPB1D01_RST1 : BOOL;
|
||
|
LSWPB1D04_RSTV1 : REAL;
|
||
|
LSWPB1D03_R2 : BOOL;
|
||
|
LSWPB1D03_R1 : BOOL;
|
||
|
LSWPB1D05_RSTV1 : REAL;
|
||
|
LSWPB1D04_RST2 : BOOL;
|
||
|
LSWPB1D04_RST1 : BOOL;
|
||
|
LSWPB1D01_R2 : BOOL;
|
||
|
LSWPB1D01_R1 : BOOL;
|
||
|
LSWPB1D02_RH1 : REAL;
|
||
|
LSWPB1D06_RST2 : BOOL;
|
||
|
LSWPB1D06_RST1 : BOOL;
|
||
|
LSWPB1D05_RH2 : REAL;
|
||
|
LSWPB1D05_RSTV2 : REAL;
|
||
|
LSWPB1D02_RH2 : REAL;
|
||
|
LSWPB1D02_RST2 : BOOL;
|
||
|
LSWPB1D02_RST1 : BOOL;
|
||
|
LSWPB1D05_RH1 : REAL;
|
||
|
LSWPB1D04_RH2 : REAL;
|
||
|
END_VAR
|
||
|
(** {*�����ۻ�ʱ��*} **)
|
||
|
(** SWPB1D01_RunTime1(RUN :=LSWPB1D01_R1 , RUNTIMESET :=LSWPB1D01_RSTV1 , RUNTIMERST :=LSWPB1D01_RST1 , RunTimeRec_In :=LSWPB1D01_RH1 | LSWPB1D01_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D01_RunTime1 (
|
||
|
RUN := LSWPB1D01_R1,
|
||
|
RUNTIMESET := LSWPB1D01_RSTV1,
|
||
|
RUNTIMERST := LSWPB1D01_RST1,
|
||
|
RunTimeRec_In := LSWPB1D01_RH1
|
||
|
|
|
||
|
LSWPB1D01_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D01_RunTime2(RUN :=LSWPB1D01_R2 , RUNTIMESET :=LSWPB1D01_RSTV2 , RUNTIMERST :=LSWPB1D01_RST2 , RunTimeRec_In :=LSWPB1D01_RH2 | LSWPB1D01_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D01_RunTime2 (
|
||
|
RUN := LSWPB1D01_R2,
|
||
|
RUNTIMESET := LSWPB1D01_RSTV2,
|
||
|
RUNTIMERST := LSWPB1D01_RST2,
|
||
|
RunTimeRec_In := LSWPB1D01_RH2
|
||
|
|
|
||
|
LSWPB1D01_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D02_RunTime1(RUN :=LSWPB1D02_R1 , RUNTIMESET :=LSWPB1D02_RSTV1 , RUNTIMERST :=LSWPB1D02_RST1 , RunTimeRec_In :=LSWPB1D02_RH1 | LSWPB1D02_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D02_RunTime1 (
|
||
|
RUN := LSWPB1D02_R1,
|
||
|
RUNTIMESET := LSWPB1D02_RSTV1,
|
||
|
RUNTIMERST := LSWPB1D02_RST1,
|
||
|
RunTimeRec_In := LSWPB1D02_RH1
|
||
|
|
|
||
|
LSWPB1D02_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D02_RunTime2(RUN :=LSWPB1D02_R2 , RUNTIMESET :=LSWPB1D02_RSTV2 , RUNTIMERST :=LSWPB1D02_RST2 , RunTimeRec_In :=LSWPB1D02_RH2 | LSWPB1D02_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D02_RunTime2 (
|
||
|
RUN := LSWPB1D02_R2,
|
||
|
RUNTIMESET := LSWPB1D02_RSTV2,
|
||
|
RUNTIMERST := LSWPB1D02_RST2,
|
||
|
RunTimeRec_In := LSWPB1D02_RH2
|
||
|
|
|
||
|
LSWPB1D02_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D03_RunTime1(RUN :=LSWPB1D03_R1 , RUNTIMESET :=LSWPB1D03_RSTV1 , RUNTIMERST :=LSWPB1D03_RST1 , RunTimeRec_In :=LSWPB1D03_RH1 | LSWPB1D03_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D03_RunTime1 (
|
||
|
RUN := LSWPB1D03_R1,
|
||
|
RUNTIMESET := LSWPB1D03_RSTV1,
|
||
|
RUNTIMERST := LSWPB1D03_RST1,
|
||
|
RunTimeRec_In := LSWPB1D03_RH1
|
||
|
|
|
||
|
LSWPB1D03_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D03_RunTime2(RUN :=LSWPB1D03_R2 , RUNTIMESET :=LSWPB1D03_RSTV2 , RUNTIMERST :=LSWPB1D03_RST2 , RunTimeRec_In :=LSWPB1D03_RH2 | LSWPB1D03_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D03_RunTime2 (
|
||
|
RUN := LSWPB1D03_R2,
|
||
|
RUNTIMESET := LSWPB1D03_RSTV2,
|
||
|
RUNTIMERST := LSWPB1D03_RST2,
|
||
|
RunTimeRec_In := LSWPB1D03_RH2
|
||
|
|
|
||
|
LSWPB1D03_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D04_RunTime1(RUN :=LSWPB1D04_R1 , RUNTIMESET :=LSWPB1D04_RSTV1 , RUNTIMERST :=LSWPB1D04_RST1 , RunTimeRec_In :=LSWPB1D04_RH1 | LSWPB1D04_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D04_RunTime1 (
|
||
|
RUN := LSWPB1D04_R1,
|
||
|
RUNTIMESET := LSWPB1D04_RSTV1,
|
||
|
RUNTIMERST := LSWPB1D04_RST1,
|
||
|
RunTimeRec_In := LSWPB1D04_RH1
|
||
|
|
|
||
|
LSWPB1D04_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D04_RunTime2(RUN :=LSWPB1D04_R2 , RUNTIMESET :=LSWPB1D04_RSTV2 , RUNTIMERST :=LSWPB1D04_RST2 , RunTimeRec_In :=LSWPB1D04_RH2 | LSWPB1D04_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D04_RunTime2 (
|
||
|
RUN := LSWPB1D04_R2,
|
||
|
RUNTIMESET := LSWPB1D04_RSTV2,
|
||
|
RUNTIMERST := LSWPB1D04_RST2,
|
||
|
RunTimeRec_In := LSWPB1D04_RH2
|
||
|
|
|
||
|
LSWPB1D04_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D05_RunTime1(RUN :=LSWPB1D05_R1 , RUNTIMESET :=LSWPB1D05_RSTV1 , RUNTIMERST :=LSWPB1D05_RST1 , RunTimeRec_In :=LSWPB1D05_RH1 | LSWPB1D05_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D05_RunTime1 (
|
||
|
RUN := LSWPB1D05_R1,
|
||
|
RUNTIMESET := LSWPB1D05_RSTV1,
|
||
|
RUNTIMERST := LSWPB1D05_RST1,
|
||
|
RunTimeRec_In := LSWPB1D05_RH1
|
||
|
|
|
||
|
LSWPB1D05_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D05_RunTime2(RUN :=LSWPB1D05_R2 , RUNTIMESET :=LSWPB1D05_RSTV2 , RUNTIMERST :=LSWPB1D05_RST2 , RunTimeRec_In :=LSWPB1D05_RH2 | LSWPB1D05_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D05_RunTime2 (
|
||
|
RUN := LSWPB1D05_R2,
|
||
|
RUNTIMESET := LSWPB1D05_RSTV2,
|
||
|
RUNTIMERST := LSWPB1D05_RST2,
|
||
|
RunTimeRec_In := LSWPB1D05_RH2
|
||
|
|
|
||
|
LSWPB1D05_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D06_RunTime1(RUN :=LSWPB1D06_R1 , RUNTIMESET :=LSWPB1D06_RSTV1 , RUNTIMERST :=LSWPB1D06_RST1 , RunTimeRec_In :=LSWPB1D06_RH1 | LSWPB1D06_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D06_RunTime1 (
|
||
|
RUN := LSWPB1D06_R1,
|
||
|
RUNTIMESET := LSWPB1D06_RSTV1,
|
||
|
RUNTIMERST := LSWPB1D06_RST1,
|
||
|
RunTimeRec_In := LSWPB1D06_RH1
|
||
|
|
|
||
|
LSWPB1D06_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWPB1D06_RunTime2(RUN :=LSWPB1D06_R2 , RUNTIMESET :=LSWPB1D06_RSTV2 , RUNTIMERST :=LSWPB1D06_RST2 , RunTimeRec_In :=LSWPB1D06_RH2 | LSWPB1D06_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWPB1D06_RunTime2 (
|
||
|
RUN := LSWPB1D06_R2,
|
||
|
RUNTIMESET := LSWPB1D06_RSTV2,
|
||
|
RUNTIMERST := LSWPB1D06_RST2,
|
||
|
RunTimeRec_In := LSWPB1D06_RH2
|
||
|
|
|
||
|
LSWPB1D06_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** **)
|
||
|
(** {*�����ۻ�ʱ��*} **)
|
||
|
(** EAFB1D01_RunTime(RUN :=LEAFB1D01_R , RUNTIMESET :=LEAFB1D01_RSTV , RUNTIMERST :=LEAFB1D01_RST, RunTimeRec_In :=LEAFB1D01_RH | LEAFB1D01_RH:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL EAFB1D01_RunTime (
|
||
|
RUN := LEAFB1D01_R,
|
||
|
RUNTIMESET := LEAFB1D01_RSTV,
|
||
|
RUNTIMERST := LEAFB1D01_RST,
|
||
|
RunTimeRec_In := LEAFB1D01_RH
|
||
|
|
|
||
|
LEAFB1D01_RH := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** EAFB1D02_RunTime(RUN :=LEAFB1D02_R , RUNTIMESET :=LEAFB1D02_RSTV , RUNTIMERST :=LEAFB1D02_RST, RunTimeRec_In :=LEAFB1D02_RH | LEAFB1D02_RH:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL EAFB1D02_RunTime (
|
||
|
RUN := LEAFB1D02_R,
|
||
|
RUNTIMESET := LEAFB1D02_RSTV,
|
||
|
RUNTIMERST := LEAFB1D02_RST,
|
||
|
RunTimeRec_In := LEAFB1D02_RH
|
||
|
|
|
||
|
LEAFB1D02_RH := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** **)
|
||
|
|
||
|
END_PROGRAM
|