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 “Online Login”
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 “Declarations Save Current Values to Recipe”.
CODESYS creates the objects “Recipe Manager” and “PersistentVariables” under the application object.
-
Select the menu command “Online Logout”.
The application is logged out from the controller.