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.
211 lines
6.0 KiB
211 lines
6.0 KiB
PROGRAM SWP
|
|
VAR_EXTERNAL
|
|
|
|
END_VAR
|
|
|
|
VAR_GLOBAL
|
|
|
|
END_VAR
|
|
|
|
VAR
|
|
SWP04A01_RunTime1:BS_RunTime;
|
|
SWP04A01_RunTime2:BS_RunTime;
|
|
SWP04A02_RunTime1:BS_RunTime;
|
|
SWP04A02_RunTime2:BS_RunTime;
|
|
SWP04A03_RunTime1:BS_RunTime;
|
|
SWP04A03_RunTime2:BS_RunTime;
|
|
SWP04A04_RunTime1:BS_RunTime;
|
|
SWP04A04_RunTime2:BS_RunTime;
|
|
SWP04A05_RunTime1:BS_RunTime;
|
|
SWP04A05_RunTime2:BS_RunTime;
|
|
SWP04A06_RunTime1:BS_RunTime;
|
|
SWP04A06_RunTime2:BS_RunTime;
|
|
|
|
END_VAR
|
|
|
|
(*Automatically declared*)
|
|
VAR_EXTERNAL
|
|
LSWP04A06_RSTV2 : REAL;
|
|
LSWP04A01_RH1 : REAL;
|
|
LSWP04A06_RSTV1 : REAL;
|
|
LSWP04A01_RST2 : BOOL;
|
|
LSWP04A01_RST1 : BOOL;
|
|
LSWP04A02_R2 : BOOL;
|
|
LSWP04A02_R1 : BOOL;
|
|
LSWP04A02_RSTV2 : REAL;
|
|
LSWP04A02_RST2 : BOOL;
|
|
LSWP04A02_RST1 : BOOL;
|
|
LSWP04A03_R2 : BOOL;
|
|
LSWP04A03_R1 : BOOL;
|
|
LSWP04A02_RSTV1 : REAL;
|
|
LSWP04A04_RSTV1 : REAL;
|
|
LSWP04A04_R2 : BOOL;
|
|
LSWP04A04_R1 : BOOL;
|
|
LSWP04A01_R2 : BOOL;
|
|
LSWP04A01_R1 : BOOL;
|
|
LSWP04A05_RSTV2 : REAL;
|
|
LSWP04A04_RSTV2 : REAL;
|
|
LSWP04A03_RH1 : REAL;
|
|
LSWP04A01_RSTV2 : REAL;
|
|
LSWP04A06_RH1 : REAL;
|
|
LSWP04A05_RH2 : REAL;
|
|
LSWP04A03_RH2 : REAL;
|
|
LSWP04A03_RST2 : BOOL;
|
|
LSWP04A03_RST1 : BOOL;
|
|
LSWP04A06_R2 : BOOL;
|
|
LSWP04A06_R1 : BOOL;
|
|
LSWP04A05_RSTV1 : REAL;
|
|
LSWP04A01_RSTV1 : REAL;
|
|
LSWP04A06_RH2 : REAL;
|
|
LSWP04A06_RST2 : BOOL;
|
|
LSWP04A06_RST1 : BOOL;
|
|
LSWP04A05_RH1 : REAL;
|
|
LSWP04A04_RH2 : REAL;
|
|
LSWP04A03_RSTV1 : REAL;
|
|
LSWP04A02_RH1 : REAL;
|
|
LSWP04A05_R2 : BOOL;
|
|
LSWP04A05_R1 : BOOL;
|
|
LSWP04A05_RST2 : BOOL;
|
|
LSWP04A05_RST1 : BOOL;
|
|
LSWP04A04_RH1 : REAL;
|
|
LSWP04A03_RSTV2 : REAL;
|
|
LSWP04A01_RH2 : REAL;
|
|
LSWP04A02_RH2 : REAL;
|
|
LSWP04A04_RST2 : BOOL;
|
|
LSWP04A04_RST1 : BOOL;
|
|
END_VAR
|
|
(** {*ÔËÐÐÀÛ»ýʱ¼ä*} **)
|
|
(** SWP04A01_RunTime1(RUN :=LSWP04A01_R1 , RUNTIMESET :=LSWP04A01_RSTV1 , RUNTIMERST :=LSWP04A01_RST1 , RunTimeRec_In :=LSWP04A01_RH1 | LSWP04A01_RH1:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A01_RunTime1 (
|
|
RUN := LSWP04A01_R1,
|
|
RUNTIMESET := LSWP04A01_RSTV1,
|
|
RUNTIMERST := LSWP04A01_RST1,
|
|
RunTimeRec_In := LSWP04A01_RH1
|
|
|
|
|
LSWP04A01_RH1 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A01_RunTime2(RUN :=LSWP04A01_R2 , RUNTIMESET :=LSWP04A01_RSTV2 , RUNTIMERST :=LSWP04A01_RST2 , RunTimeRec_In :=LSWP04A01_RH2 | LSWP04A01_RH2:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A01_RunTime2 (
|
|
RUN := LSWP04A01_R2,
|
|
RUNTIMESET := LSWP04A01_RSTV2,
|
|
RUNTIMERST := LSWP04A01_RST2,
|
|
RunTimeRec_In := LSWP04A01_RH2
|
|
|
|
|
LSWP04A01_RH2 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A02_RunTime1(RUN :=LSWP04A02_R1 , RUNTIMESET :=LSWP04A02_RSTV1 , RUNTIMERST :=LSWP04A02_RST1 , RunTimeRec_In :=LSWP04A02_RH1 | LSWP04A02_RH1:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A02_RunTime1 (
|
|
RUN := LSWP04A02_R1,
|
|
RUNTIMESET := LSWP04A02_RSTV1,
|
|
RUNTIMERST := LSWP04A02_RST1,
|
|
RunTimeRec_In := LSWP04A02_RH1
|
|
|
|
|
LSWP04A02_RH1 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A02_RunTime2(RUN :=LSWP04A02_R2 , RUNTIMESET :=LSWP04A02_RSTV2 , RUNTIMERST :=LSWP04A02_RST2 , RunTimeRec_In :=LSWP04A02_RH2 | LSWP04A02_RH2:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A02_RunTime2 (
|
|
RUN := LSWP04A02_R2,
|
|
RUNTIMESET := LSWP04A02_RSTV2,
|
|
RUNTIMERST := LSWP04A02_RST2,
|
|
RunTimeRec_In := LSWP04A02_RH2
|
|
|
|
|
LSWP04A02_RH2 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A03_RunTime1(RUN :=LSWP04A03_R1 , RUNTIMESET :=LSWP04A03_RSTV1 , RUNTIMERST :=LSWP04A03_RST1 , RunTimeRec_In :=LSWP04A03_RH1 | LSWP04A03_RH1:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A03_RunTime1 (
|
|
RUN := LSWP04A03_R1,
|
|
RUNTIMESET := LSWP04A03_RSTV1,
|
|
RUNTIMERST := LSWP04A03_RST1,
|
|
RunTimeRec_In := LSWP04A03_RH1
|
|
|
|
|
LSWP04A03_RH1 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A03_RunTime2(RUN :=LSWP04A03_R2 , RUNTIMESET :=LSWP04A03_RSTV2 , RUNTIMERST :=LSWP04A03_RST2 , RunTimeRec_In :=LSWP04A03_RH2 | LSWP04A03_RH2:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A03_RunTime2 (
|
|
RUN := LSWP04A03_R2,
|
|
RUNTIMESET := LSWP04A03_RSTV2,
|
|
RUNTIMERST := LSWP04A03_RST2,
|
|
RunTimeRec_In := LSWP04A03_RH2
|
|
|
|
|
LSWP04A03_RH2 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A04_RunTime1(RUN :=LSWP04A04_R1 , RUNTIMESET :=LSWP04A04_RSTV1 , RUNTIMERST :=LSWP04A04_RST1 , RunTimeRec_In :=LSWP04A04_RH1 | LSWP04A04_RH1:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A04_RunTime1 (
|
|
RUN := LSWP04A04_R1,
|
|
RUNTIMESET := LSWP04A04_RSTV1,
|
|
RUNTIMERST := LSWP04A04_RST1,
|
|
RunTimeRec_In := LSWP04A04_RH1
|
|
|
|
|
LSWP04A04_RH1 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A04_RunTime2(RUN :=LSWP04A04_R2 , RUNTIMESET :=LSWP04A04_RSTV2 , RUNTIMERST :=LSWP04A04_RST2 , RunTimeRec_In :=LSWP04A04_RH2 | LSWP04A04_RH2:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A04_RunTime2 (
|
|
RUN := LSWP04A04_R2,
|
|
RUNTIMESET := LSWP04A04_RSTV2,
|
|
RUNTIMERST := LSWP04A04_RST2,
|
|
RunTimeRec_In := LSWP04A04_RH2
|
|
|
|
|
LSWP04A04_RH2 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A05_RunTime1(RUN :=LSWP04A05_R1 , RUNTIMESET :=LSWP04A05_RSTV1 , RUNTIMERST :=LSWP04A05_RST1 , RunTimeRec_In :=LSWP04A05_RH1 | LSWP04A05_RH1:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A05_RunTime1 (
|
|
RUN := LSWP04A05_R1,
|
|
RUNTIMESET := LSWP04A05_RSTV1,
|
|
RUNTIMERST := LSWP04A05_RST1,
|
|
RunTimeRec_In := LSWP04A05_RH1
|
|
|
|
|
LSWP04A05_RH1 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A05_RunTime2(RUN :=LSWP04A05_R2 , RUNTIMESET :=LSWP04A05_RSTV2 , RUNTIMERST :=LSWP04A05_RST2 , RunTimeRec_In :=LSWP04A05_RH2 | LSWP04A05_RH2:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A05_RunTime2 (
|
|
RUN := LSWP04A05_R2,
|
|
RUNTIMESET := LSWP04A05_RSTV2,
|
|
RUNTIMERST := LSWP04A05_RST2,
|
|
RunTimeRec_In := LSWP04A05_RH2
|
|
|
|
|
LSWP04A05_RH2 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A06_RunTime1(RUN :=LSWP04A06_R1 , RUNTIMESET :=LSWP04A06_RSTV1 , RUNTIMERST :=LSWP04A06_RST1 , RunTimeRec_In :=LSWP04A06_RH1 | LSWP04A06_RH1:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A06_RunTime1 (
|
|
RUN := LSWP04A06_R1,
|
|
RUNTIMESET := LSWP04A06_RSTV1,
|
|
RUNTIMERST := LSWP04A06_RST1,
|
|
RunTimeRec_In := LSWP04A06_RH1
|
|
|
|
|
LSWP04A06_RH1 := RUNTIME
|
|
)
|
|
|
|
(** SWP04A06_RunTime2(RUN :=LSWP04A06_R2 , RUNTIMESET :=LSWP04A06_RSTV2 , RUNTIMERST :=LSWP04A06_RST2 , RunTimeRec_In :=LSWP04A06_RH2 | LSWP04A06_RH2:= RUNTIME); **)
|
|
(* call - Stmt *)
|
|
CAL SWP04A06_RunTime2 (
|
|
RUN := LSWP04A06_R2,
|
|
RUNTIMESET := LSWP04A06_RSTV2,
|
|
RUNTIMERST := LSWP04A06_RST2,
|
|
RunTimeRec_In := LSWP04A06_RH2
|
|
|
|
|
LSWP04A06_RH2 := RUNTIME
|
|
)
|
|
|
|
|
|
END_PROGRAM
|