Saving the Values of a Persistent Variable List in a Recipe¶
Requirement: a project is opened and a persistent variable list with declarations of persistent variables exists under an application object.
Double-click on the controller in the device tree and select the tab Communication Settings.
Select your gateway and click on the button Scan network.
- ⇒
Your device is shown in bold in the tree view of the gateway.
Select your device and click on the button Set active path.
Select your application object in the device tree and select the context menu command Set active application.
- ⇒
The application object is displayed in bold.
Select the menu command
- ⇒
Your application is logged in to the controller and the controller and the application object in the device tree have a green background.
Double-click on the persistent variable list and select the command
.- ⇒
CODESYS creates the objects Recipe Manager and PersistentVariables under the application object.
Select the menu command
.- ⇒
The application is logged out from the controller.
See also