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.
 
 
 
 
 
 

77 lines
1.4 KiB

PROGRAM SUMP
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;
SWPB1A01_RunTime1:BS_RunTime;
SWPB1A01_RunTime2:BS_RunTime;
END_VAR
(*Automatically declared*)
VAR_EXTERNAL
LSWPB1A01_R2 : BOOL;
LSWPB1A01_R1 : BOOL;
LSWPB1A01_RSTV1 : REAL;
LSWPB1A01_RSTV2 : REAL;
LSWPB1A01_RST2 : BOOL;
LSWPB1A01_RST1 : BOOL;
LSWPB1A01_RH1 : REAL;
LSWPB1A01_RH2 : REAL;
END_VAR
(** **)
(** **)
(** **)
(** {*ÔËÐÐÀÛ»ýʱ¼ä*} **)
(** SWPB1A01_RunTime1(RUN :=LSWPB1A01_R1 , RUNTIMESET :=LSWPB1A01_RSTV1 , RUNTIMERST :=LSWPB1A01_RST1 , RunTimeRec_In :=LSWPB1A01_RH1 | LSWPB1A01_RH1:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB1A01_RunTime1 (
RUN := LSWPB1A01_R1,
RUNTIMESET := LSWPB1A01_RSTV1,
RUNTIMERST := LSWPB1A01_RST1,
RunTimeRec_In := LSWPB1A01_RH1
|
LSWPB1A01_RH1 := RUNTIME
)
(** SWPB1A01_RunTime2(RUN :=LSWPB1A01_R2 , RUNTIMESET :=LSWPB1A01_RSTV2 , RUNTIMERST :=LSWPB1A01_RST2 , RunTimeRec_In :=LSWPB1A01_RH2 | LSWPB1A01_RH2:= RUNTIME); **)
(* call - Stmt *)
CAL SWPB1A01_RunTime2 (
RUN := LSWPB1A01_R2,
RUNTIMESET := LSWPB1A01_RSTV2,
RUNTIMERST := LSWPB1A01_RST2,
RunTimeRec_In := LSWPB1A01_RH2
|
LSWPB1A01_RH2 := RUNTIME
)
(** **)
(** **)
END_PROGRAM