PLC

Variable types and special variables

The variable type defines how and where you can use the variable. The variable type is defined during the variable declaration.

Additional information
Local Variables - VAR
Input Variables - VAR_INPUT
Output Variables - VAR_OUTPUT
Input/Output Variables - VAR_IN_OUT, VAR_IN_OUT CONSTANT
Global Variables - VAR_GLOBAL
Temporary Variable - VAR_TEMP
Static Variables - VAR_STAT
External Variables - VAR_EXTERNAL
Instance Variables - VAR_INST
Remanent Variables - PERSISTENT, RETAIN
SUPER
THIS
Variable types - attribute keywords