Corrected from:
PLC Designer V3.22
Response of the new version:
The 'Options' dialog (menu 'Tools' > 'Options') has been extended in the category 'Intelligent Encoding' by the option 'Enable for ST Editor'. If this option is set, the 'Declare Variable' dialog is automatically opened when an unknown variable is entered.
With the dialog 'Declare Variable' a variable is to be declared (Auto declaration). After filling out the necessary fields of the dialog and confirming with <OK> the variable is not created.
When does the behaviour occur?
If a compiler version smaller than V3.5.14.40 is used, then the declaration of an unknown variable (auto declaration) is not possible via the 'Declare Variable' dialog.
Note:
Starting with PLC Designer V3.20, the 'Declare Variable' dialog no longer opens automatically after leaving a line with unknown variables. Instead, the symbol of a 'light bulb' appears when clicking on the undeclared variable to open the dialog.
Which products are affected?
PLC Designer V3.20
Short-term measures:
Enter the declaration of variables manually in the declaration part.
In the 'Project environment' dialog (menu command 'Project'>'Project environment') in the 'Compiler version' tab, check the compiler version used.
If possible, update the device (controller) used in the PLC Designer project to the current firmware version (menu command 'Project'>'Project environment').
Evaluation / Recommendations:
With PLC Designer V3.20 the behavior of the automatic declaration of unknown variables has changed. If an older compiler version is used, it is not possible to declare unknown variables using the auto declaration function. Under 'Short-term measures' an applicative solution is described.
Automatic Translation