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.
115 lines
3.1 KiB
115 lines
3.1 KiB
3 months ago
|
PROGRAM SWP
|
||
|
VAR_EXTERNAL
|
||
|
|
||
|
END_VAR
|
||
|
|
||
|
VAR_GLOBAL
|
||
|
|
||
|
END_VAR
|
||
|
|
||
|
VAR
|
||
|
SWP05A01_RunTime1:BS_RunTime;
|
||
|
SWP05A01_RunTime2:BS_RunTime;
|
||
|
SWP05A02_RunTime1:BS_RunTime;
|
||
|
SWP05A02_RunTime2:BS_RunTime;
|
||
|
SWP05A03_RunTime1:BS_RunTime;
|
||
|
SWP05A03_RunTime2:BS_RunTime;
|
||
|
|
||
|
END_VAR
|
||
|
|
||
|
(*Automatically declared*)
|
||
|
VAR_EXTERNAL
|
||
|
LSWP05A01_RH1 : REAL;
|
||
|
LSWP05A01_RST2 : BOOL;
|
||
|
LSWP05A01_RST1 : BOOL;
|
||
|
LSWP05A02_R2 : BOOL;
|
||
|
LSWP05A02_R1 : BOOL;
|
||
|
LSWP05A02_RSTV2 : REAL;
|
||
|
LSWP05A02_RST2 : BOOL;
|
||
|
LSWP05A02_RST1 : BOOL;
|
||
|
LSWP05A03_R2 : BOOL;
|
||
|
LSWP05A03_R1 : BOOL;
|
||
|
LSWP05A02_RSTV1 : REAL;
|
||
|
LSWP05A01_R2 : BOOL;
|
||
|
LSWP05A01_R1 : BOOL;
|
||
|
LSWP05A03_RH1 : REAL;
|
||
|
LSWP05A01_RSTV2 : REAL;
|
||
|
LSWP05A03_RH2 : REAL;
|
||
|
LSWP05A03_RST2 : BOOL;
|
||
|
LSWP05A03_RST1 : BOOL;
|
||
|
LSWP05A01_RSTV1 : REAL;
|
||
|
LSWP05A03_RSTV1 : REAL;
|
||
|
LSWP05A02_RH1 : REAL;
|
||
|
LSWP05A03_RSTV2 : REAL;
|
||
|
LSWP05A01_RH2 : REAL;
|
||
|
LSWP05A02_RH2 : REAL;
|
||
|
END_VAR
|
||
|
(** {*�����ۻ�ʱ��*} **)
|
||
|
(** SWP05A01_RunTime1(RUN :=LSWP05A01_R1 , RUNTIMESET :=LSWP05A01_RSTV1 , RUNTIMERST :=LSWP05A01_RST1 , RunTimeRec_In :=LSWP05A01_RH1 | LSWP05A01_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWP05A01_RunTime1 (
|
||
|
RUN := LSWP05A01_R1,
|
||
|
RUNTIMESET := LSWP05A01_RSTV1,
|
||
|
RUNTIMERST := LSWP05A01_RST1,
|
||
|
RunTimeRec_In := LSWP05A01_RH1
|
||
|
|
|
||
|
LSWP05A01_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWP05A01_RunTime2(RUN :=LSWP05A01_R2 , RUNTIMESET :=LSWP05A01_RSTV2 , RUNTIMERST :=LSWP05A01_RST2 , RunTimeRec_In :=LSWP05A01_RH2 | LSWP05A01_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWP05A01_RunTime2 (
|
||
|
RUN := LSWP05A01_R2,
|
||
|
RUNTIMESET := LSWP05A01_RSTV2,
|
||
|
RUNTIMERST := LSWP05A01_RST2,
|
||
|
RunTimeRec_In := LSWP05A01_RH2
|
||
|
|
|
||
|
LSWP05A01_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWP05A02_RunTime1(RUN :=LSWP05A02_R1 , RUNTIMESET :=LSWP05A02_RSTV1 , RUNTIMERST :=LSWP05A02_RST1 , RunTimeRec_In :=LSWP05A02_RH1 | LSWP05A02_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWP05A02_RunTime1 (
|
||
|
RUN := LSWP05A02_R1,
|
||
|
RUNTIMESET := LSWP05A02_RSTV1,
|
||
|
RUNTIMERST := LSWP05A02_RST1,
|
||
|
RunTimeRec_In := LSWP05A02_RH1
|
||
|
|
|
||
|
LSWP05A02_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWP05A02_RunTime2(RUN :=LSWP05A02_R2 , RUNTIMESET :=LSWP05A02_RSTV2 , RUNTIMERST :=LSWP05A02_RST2 , RunTimeRec_In :=LSWP05A02_RH2 | LSWP05A02_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWP05A02_RunTime2 (
|
||
|
RUN := LSWP05A02_R2,
|
||
|
RUNTIMESET := LSWP05A02_RSTV2,
|
||
|
RUNTIMERST := LSWP05A02_RST2,
|
||
|
RunTimeRec_In := LSWP05A02_RH2
|
||
|
|
|
||
|
LSWP05A02_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWP05A03_RunTime1(RUN :=LSWP05A03_R1 , RUNTIMESET :=LSWP05A03_RSTV1 , RUNTIMERST :=LSWP05A03_RST1 , RunTimeRec_In :=LSWP05A03_RH1 | LSWP05A03_RH1:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWP05A03_RunTime1 (
|
||
|
RUN := LSWP05A03_R1,
|
||
|
RUNTIMESET := LSWP05A03_RSTV1,
|
||
|
RUNTIMERST := LSWP05A03_RST1,
|
||
|
RunTimeRec_In := LSWP05A03_RH1
|
||
|
|
|
||
|
LSWP05A03_RH1 := RUNTIME
|
||
|
)
|
||
|
|
||
|
(** SWP05A03_RunTime2(RUN :=LSWP05A03_R2 , RUNTIMESET :=LSWP05A03_RSTV2 , RUNTIMERST :=LSWP05A03_RST2 , RunTimeRec_In :=LSWP05A03_RH2 | LSWP05A03_RH2:= RUNTIME); **)
|
||
|
(* call - Stmt *)
|
||
|
CAL SWP05A03_RunTime2 (
|
||
|
RUN := LSWP05A03_R2,
|
||
|
RUNTIMESET := LSWP05A03_RSTV2,
|
||
|
RUNTIMERST := LSWP05A03_RST2,
|
||
|
RunTimeRec_In := LSWP05A03_RH2
|
||
|
|
|
||
|
LSWP05A03_RH2 := RUNTIME
|
||
|
)
|
||
|
|
||
|
|
||
|
END_PROGRAM
|