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!
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.