Which products are affected?
ESP-DDS2-x (Drive PLC Developer Studio V2.x)
What happens?
If a POU is converted from the instruction list (IL) programming language to another programming language (menu item: Project>Object>Convert), a POU is not called up conditionally within this POU. This means that after conversion of the calling POU the POU called up is always executed.
When does the problem occur?
By means of the CALC command a POU can be called up conditionally in the instruction list programming language (IL). If this command is converted into the ladder diagram (LD) or function block diagram (FBD) programming language, the POU is called up unconditionally.
Possible diagnostics?
Before the conversion it is to be checked if the CALC command is used in the POU to be converted. For this purpose use e. g. the global search function of DDS (menu item: Project>Global Search).
Short-term measures/recommendations?
Before a POU which has been programmed in the IL programming language is converted the CALC command is to be replaced by an unconditional jump command (JMPC).
Evaluation:
The CALC command is not converted correctly to other languages out of the IL programming language. This means if a POU including the CALC command converts into the LD or FBD programming language the program logic changes due to this conversion.
The conversion function of DDS is used very seldom.