Download Unity Pro - Schneider Electric

Transcript
Correspondences between common language elements
Call of SFB Substitutions in Structured Text
Introduction
The call of SFB substitutions in structured text (ST) is different between Premium
and Modicon M340.
Call of PL7 SFB substitutions in Unity Pro ST
The following table describes the conversion of SFB substitution calls for Premium
and Modicon M340.
SFB
Specific
%T
%TM
TON
TOF
TP
%C
%MN
130
PL7
Unity Pro - Premium
Unity Pro - Modicon M340
START %Ti
START_PL7_3_TIMER(Ti);
Ti(E:= TRUE),C:= TRUE);
(*START*);
STOP %Ti
STOP_PL7_3_TIMER(Ti);
Ti(E:= TRUE),C:= FALSE);
(* STOP*);
PRESET %Ti PRESET_PL7_3_TIMER(Ti);
Ti(E:= FALSE),C:= FALSE);
(* PRESET*);
START %TMi START_PL7_TON(TMi);
TMi(S:=TRUE);
(* START*);
DOWN %TMi
TMi(S:=FALSE);
(* DOWN*);
DOWN_PL7_TON(TMi);
START %TMi START_PL7_TOF(TMi);
TMi(S:=TRUE);
(* START*);
DOWN %TMi
TMi(S:=FALSE);
(* DOWN*);
DOWN_PL7_TOF(TMi);
START %TMi START_PL7_TP(TMi);
TMi(S:=TRUE);
(* START*);
DOWN %TMi
DOWN_PL7_TP(TMi);
TMi(S:=FALSE);
(* DOWN*);
RESET %Ci
RESET_PL7_COUNTER(Ci);
Ci(R:=TRUE);Ci(R:=FALSE);
(* RESET*);
PRESET %Ci PRESET_PL7_COUNTER(Ci);
Ci(P:=TRUE);Ci(P:=FALSE);
(* PRESET*);
UP %Ci
UP_PL7_COUNTER(Ci);
Ci(CU:= TRUE);Ci(CU:=
FALSE);
(* UP*);
DOWN %Ci
DOWN_PL7_COUNTER(Ci);
Ci(CD:= TRUE);Ci(CD:=
FALSE);
(*DOWN*);
START %MNi START_PL7_MONOSTABLE(MNi);
MNi(S:=TRUE);
(* START*);
35006148 07/2011