General
(Original Document)
Introduction
Converting a PL7 DFB into Control Expert requires the following:
Update
All PL7 applications earlier than version 4.3 must be updated to ≥V4.3 before being converted into a Control Expert application.
Disabling the protection
To deactivate the protection of a PL7 DFB, execute the following actions running PL7 ≥V4.3:
Step
Action
1
In the application browser, double-click on the DFB type to be unprotected.
Result: The DFB type Editor opens the screen for the selected DFB type.
2
Select the Properties command from the Edit menu.
3
Check the Not protected box.
4
Confirm with OK.
Note: The confirmation is only effective once the password is entered.
CAUTION
UNEXPECTED APPLICATION BEHAVIOR - CODE REWORK AFTER CONVERSION
The user's own diagnostics DFBs must be completed manually, after conversion.
To complete them:
  • erase the private variables (ADR_PROG and INST_NAME for UREGDFB, ADR_PROG, INST_NAME and COMMENT for REGDFB),
  • create two private variables PIN_NB (type INT) and PIN_VAL (type BOOL),
  • modify the algorithm of the DFB in order to calculate the values of PIN_NB and PIN_VAL which contain the pin number in error and its expected value,
  • modify the call parameters of the EF REGDFB: replace the parameters ADR_PROG, COMMENT, INST_NAME with PIN_NB and PIN_VAL,
  • modify the call parameters of the EF UREGDFB: replace the parameters ADR_PROG, INST_NAME with 1, PIN_NB and PIN_VAL,
  • adapt the DFB code.
Failure to follow these instructions can result in injury or equipment damage.
CAUTION
UNEXPECTED APPLICATION BEHAVIOR - INCOMPLETE CONVERSION
The Schneider PL7 Diagnostics DFBs ALRM_DIA, EV_DIA, MV_DIA, NEPO_DIA, TEPO_DIA and SAFETY_MONITOR are automatically converted to Schneider Control Expert Diagnostics DFBs. It is therefore not necessary to unprotect these DFBs before starting the conversion procedure.
The other PL7 diagnostics DFBs are not converted.
All Schneider Diagnostics DFBs available using Control Expert are catalogued in the diagnostics family of the diagnostics library.
Failure to follow these instructions can result in injury or equipment damage.
Exporting the source file
To export a PL7 DFB, execute the following actions running PL7 ≥V4.3:
Step
Action
1
  • To export from the application browser:
    • select the type of DFB by left-clicking.
  • To export from the DFB type editor:
    • double-click on the DFB type,
2
Select the Export command from the File menu.
3
Select the disk and/or directory where the file must be stored.
4
Enter the file name in the Name field.
5
Confirm with Save.