.

Release Notes: CODESYS Recipes 4.7.0.0

Key Issue Type Summary Resolution Note
REC-282 Bug

Runtime exception during download in recipedef.Read

Fixed
REC-281 Bug

NullreferenceException when selecting a variable via intellisense

Fixed
REC-277 Bug

Recipe: Some recipe methods return 0 when Recipe Management on the PLC is disabled

Fixed [[GENERAL]]
GetLastInfo provide the last information of the previous load recipe operation. So it provides information after the call of LoadRecipes, LoadRecipesFrom, LoadAndWriteRecipe or LoadFromAndWriteRecipe.
For ReadAndSaveAs use GetLastError instead of GetLastInfo.
REC-270 Bug

Persistent variable list cannot be saved in recipe

Fixed [[GENERAL]]
The execution time has been greatly optimised. A progress bar is now displayed when reading the values for the PersVar recipe.
For reference types the reference must be set before the command is called. The following improvement has been created to prevent reference types in recipe definitions: REC-287
REC-269 Improvement

Improve code generation with big recipes (2nd)

Fixed [[GENERAL]]
Due to compiler limitiations the code optimization within for loops must not be too long. With this improvement the maximum amount of variables in one for loop will be limited to 5000 per default. If the "Internal Error: Unable to resolve label.." errors still persists the limit can be set via new Compiler Define e.g. "REC_OPTIMIZE_MAX_USERDEF_VARS=3000". Setting this value to 0 removes any limit.
REC-267 Bug

ReadRecipeFromFile: CODESYS crashes in simulation mode

Fixed [[GENERAL]]
Problem caused by unsupported SysDir functions in simulation mode. It is fixed in the Visualization 4.9.0.0 addon (see VIS-5913).
REC-266 Bug

Do not load libraries synchronously in GetLanguageModel

Fixed
REC-265 Bug

Bad performance when many variables are added/removed in the Recipe Definition Editor

Fixed
REC-264 Bug

GetRecipeNames cannot be used with explicit string lengths

Fixed [[GENERAL]] The RecipeManCommands have been expanded to include the new “GetRecipeNamesSizeOf” function, which takes the string length into account.
REC-250 Bug

Recipe Management: InternalError shown after Onlinechange in the recipe definition

Fixed
REC-200 Bug

The IDE cannot produce recipe when operate "Save Current Values to Recipe" for large amount of persistent variables

Duplicate [[GENERAL]]
Duplicates REC-270
REC-199 Bug

The IDE shows some slow performance, when execute "Read and Save Recipe"

Fixed
REC-198 Bug

The IDE Shows some slow performance, when operating Login or Logout are executed, while the Recipe Editor is opened

Fixed [[GENERAL]]
The login and logout durations while the recipe editor is opened have been improved. Also, when the recipe editor is not opened during online mode the login/logout times have been improved.

[[KNOWN_LIMITATIONS]]
With a recipe editor in front during online mode the application logout can take a few seconds. This will be improved with CDS-95434.