Skip to main content

Saving the Values of a Persistent Variable List to a Recipe

Requirement: A project is opened and a persistent variable list with declarations of persistent variables exists under an application object.

  1. In the device tree, double-click the controller and click the Communication Settings tab.

  2. Select your gateway and click Scan Network.

    Your device is shown in bold in the tree view of the gateway.

  3. Select your device and click Set Active Path.

  4. Select your application object in the device tree and select the context menu command Set Active Application.

    The application object is displayed in bold.

  5. Click 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.

  6. Double-click the persistent variable list and click Declarations → Save Current Values to Recipe.

    CODESYS creates the Recipe Manager and PersistentVariables objects below the application object.

  7. Click Online → Logout.

    Requirement: The application is logged out of the controller.