Before the Autogen function is executed, it is necessary to:
Right click the attached device and select "Set autogen".
Enable Autogen, select the project the variables have to be generated to, and click OK.
If the optinon "Include attributes" is chosen, autogen will generate all variables including "timestamp", "commblock", "commerror". If "Reset Autogen" is chosen, attributes reset can be chosen again and all variables including attributes will be deleted.
The variables are automatically generated to the project, and when the "PLC", the "I/O mapping" tab is opened, the linked variables are displayed.
The variables in the project, in "generated.Mixed.st".