SFBs
(Original Document)
Introduction
Conversion replaces the PL7 objects by their Control Expert equivalent.
Premium Targets
For Premium, the SFBs are replaced with EFBs.
The EFBs have the same layout as the SFBs in PL7.
These EFBs are used in the converted applications.
Modicon M340 Targets
For Modicon M340, the SFBs are replaced with DFBs.
The DFBs have the same layout as the SFBs in PL7.
They include also some program in ST to adapt the interface to the IEC function blocks that are used in Control Expert.
The DRUM SFB is represented by an empty DFB.
Quantum Targets
The conversion of SFBs is not available for Quantum.
SFB
The following table describes the converted PL7 SFBs.
SFB
Syntax
Type of data
PL7_3 Timer (3)
%Ti
T
enable input
%Ti.E
BOOL
control input
%Ti.C
BOOL
current value word
%Ti.ET
INT
preset value word
%Ti.PT
INT
time base
%Ti.TB
UINT
elapsed timer bit (Done)
%Ti.D
BOOL
current timer bit (Run)
%Ti.R
BOOL
PL7 Timers (3)
%TMi
TM
timer start input
%TMi.S
BOOL
current value word
%TMi.ET
INT
preset value word
%TMi.PT
INT
time base
%TMi.TB
UINT
current timer bit
%TMi.Q
BOOL
Monostable (3)
%MNi
M
start input
%MNi.S
BOOL
current value word
%MNi.ET
INT
preset value word
%MNi.PT
INT
time base
%MNi.TB
UINT
current timer bit (Run)
%MNi.R
BOOL
Up/down counter
%Ci
C
reset input
%Ci.R
BOOL
preset input
%Ci.P
BOOL
up-count input
%Ci.CU
BOOL
down-count input
%Ci.CD
BOOL
current value word
%Ci.CV
INT
preset value word
%Ci.PV
INT
downcounting overrun bit (Empty)
%Ci.E
BOOL
standby preset bit (Done)
%Ci.D
BOOL
upcounting overrun bit (Full)
%Ci.F
BOOL
Register
%Ri
R
reset input
%Ri.R
BOOL
store input
%Ri.I
BOOL
destock input
%Ri.O
BOOL
input word
%Ri.INW
INT
output word
%Ri.OUTW
INT
full register bit
%Ri.F
BOOL
empty register bit
%Ri.E
BOOL
register length
%Ri.LEN
UINT
register type
%Ri.FIFO
BOOL
Drum
%DRi
DR
reset input
%DRi.R
BOOL
up input
%DRi.U
BOOL
full drum bit
%DRi.F
BOOL
current step
%DRi.S
INT
duration word
%DRi.ET
INT
time base
%DRi.TB
UINT
number of steps
%DRi.LEN
UINT
i step states
%DRi.Wj
j = 0..15
INT