Differences between PL7 and Control Expert: SFBs
(Original Document)
Introduction
The conversion of a PL7 application into a Control Expert application generates certain differences, which are described in the following paragraphs.
Value of current step
The PL7_DRUM EFB has an extra output parameter compared with its PL7 equivalent. This parameter contains the value of the current step.
Henceforth, the values of the current step are assigned in the user program to DRUM output objects.
Example in structured text: RESET %DRi is replaced by:
RESET_PL7_DRUM (DRi)
WORD_TO_BIT (INT_TO_WORD (DRi.W),
%M4,
%O2.3,
%O4.5,
%M6, , , , , , , , , , , ,)
NOTE: in the case of converting the ladder language, if the network including the call to DRUM contains the output objects of this DRUM, an error message is displayed. If these objects are assigned in the network, you must modify the program manually using the Converror message in the output window.