Variables Editor
GF_ProjectVX code includes a graphical editor for both global and local variables that supplies a user-friendly interface for declaring and editing variables: the tool takes care of the translation of the contents of these editors into syntactically correct IEC 61131-3 source code.As an example, consider the contents of the Global variables editor represented in the following figure.
The corresponding source code will look like this:VAR_GLOBALgA : BOOL := TRUE;gB : ARRAY[ 0..4 ] OF REAL;gC AT %MD60.20 : REAL := 1.0;END_VARVAR_GLOBAL CONSTANTgD : INT := -74;END_VARAlternatively, GF_ProjectVX code includes also a textual editor for both global and local variables; using this editor will allow you to declare and edit the source code of the variables.