Variables

Previous chapterNext chapter Show allShow all    Hide allHide all

A process variable is the interface between the data source (PLC, field bus, etc.) and zenon. For correct detection and open-loop/closed control of a process, it is necessary to have an exchange of process data on the one hand and the input of setpoint values and commands on the other hand. Process data and settings are defined for single process variables and the parameters are entered and changed in the variable list.

In this step, you will learn how to create single variables and variable arrays, which are based on simple or structure data types.

 

info Info

Many zenon drivers allow the import of variables from the PLC program or directly from the PLC, which means that you do not have to create the variables manually. You will find the necessary information for the variable import in the according driver documentation.

 

Because we have neither a PLC nor an S7 project in our example project, we will create the variables manually.