Skip to main content
Version: 24.2 (stable)

Import PLC Variables

Setting up Recipe Management requires just a few clicks since we can build upon use all the data and variables that we've' set up for our HMI in the Connect & Control Your PLC section. However, as we are starting from scratch here, we must first create a PLC connection and import some variables.

1. Create a PLC Connection

An Actual PLC and the PLC Mode Are Required

It is not possible to save recipes using Placeholders for Offline Editing. You actually need to be connected to a PLC.

  1. Download & Start the Playground PLC

Setting up a PLC that we can connect to sounds pretty complex, right?

The HELIO Playground PLC Got Your Back

It's a software-based demo PLC that you can download for free and run on your development computer right away. A handy tool when you want to learn how to connect HELIO to an industrial machine that communicates using OPC-UA.

Download the latest version and start it.

  1. Add the Connection

Good job on getting the PLC set up and running. Let's keep going:

  1. Explore the Structure

Once you've got the connection all set up, feel free to take a look and explore the data tree of the Playground PLC.


2. Import Variables

Next we need to import the variables we want to use in our recipe types. For this example we are going to use variables that already exist on our on our Playground PLC.

  1. Locate the ForEveryone folder

Locate the folder in the Data Source Explorer. You should find it under:
Objects > Examples > Abstract > ReadWrite > ForEveryone.

  1. Import the Variables

Let's import the variables into your project so that we can use them in our recipes. Let's import the Boolean and Integer > WithEnumeration variables.

  1. Loosen Restrictions

To be able to write these variables, make sure that you relax the restrictions on the variables so that we can read and write them. Your Data Source Explorer should look something like this:

Mission accomplished!

Now that we've got our data ready, it's time to define some recipe types.