Compilation error when using the LenzeIOSystemV0102.lib library (elimination)

Which products are affected?
ESP-DDS2-x (Global Drive PLC Developer Studio V2.3)

What happens?
When compiling a DDS project which contains a LenzeIOSystemV0102.lib library the following error messages are indicated in the message window:

Error 4024: L_IOParCounterDIModule (70): Expecting ELSIF, ELSE or END_IF before (*byFunction…*)
Error 4263: L_IOParCounterDIModule (70): Expecting Number, 'ELSE' or 'END_CASE'

When does the problem occur?
If the Nested comments option in the Build category of the Options dialog (menu item: Project>Options) is selected the error messages mentioned above are indicated in the DDS message window during the compilation process.

Possible diagnostics?
None.

Short-term measures/recommendations?
Deactivate the Nested comments option in the Build category of the Options dialog (menu item: Project>Options).

By means of Service Pack 1 of DDS V2.3 the LenzeIOSystem0103.lib library is installed. Irrespective of the Nested comments option selected, the library can be compiled correctly.
Replace in your project in the Library manager the LenzeIOSystemV0102.lib library by the new library (menu item: Window>Library manager).

Evaluation:
Error messages are indicated during the compilation process if the Nested comments option is selected and if the LenzeIOSystemV0102.lib library is used. The DDS project cannot be loaded in the PLC target system. The function restriction has been eliminated with Service Pack 1 of DDS V2.3.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200506359/1/
Contact form