How to create Global Variable List on CODESYS

In this video, you will learn how to create the Global variable list and call the variables in the program.

To be able to use a variable in the CODESYS environment, you need to declare the variable. However, each variable has a scope within which it is accessible (in the main program, inside a specific function block, ...). To create variables that are accessible all along the project, you can create a Global variable list and declare the variables over there. These variables will be accessible anywhere in the project.

Subscribe

Sign up for our Newsletter and be the first to know about the latest content and services available on Motion Peek.
Thanks for signing up!
Oops! Something went wrong while submitting the form. Please try again.