Navigation:  Programming > Variables >

Fields

Previous pageReturn to chapter overviewNext page

When defining a variable through the variable editor/list, some data must be defined for the variables.  In the following items, those data will be presented according to the group the variable belongs to.

 

 

Local and Local Retentive:

 

wpshelp_ladder_editor_var_field_fig1

 

Tag: variable identification
Size: number of elements of the array* related to the variable
Data Type: variable numeric type
Initial Value: value that will be loaded for variable during the initialization of the equipment
Comment: comment of the variable in the selected language

 

 

Constant:

 

wpshelp_ladder_editor_var_field_fig2

 

Tag: variable identification
Data Type: variable numeric type
Value: constant value of the variable
Comment: comment of the variable in the selected language

 

 

Global and Global Retentive:

 

wpshelp_ladder_editor_var_field_fig3

 

Tag: variable identification
Size: number of elements of the array* related to the variable
Data Type: variable numeric type
At: defines which global memory area the variable accesses
Address: address related to the global memory area. If not configured (empty), the compiler will automatically define its address.
Bit: for Boolean data type, it is necessary to define the bit it accesses (0...7)
Initial Value: value that will be loaded for variable during the initialization of the equipment
Comment: comment of the variable in the selected language
Modbus: modbus address

 

 

System:

 

wpshelp_ladder_editor_var_field_fig5

 

Tag: variable identification
Data Type: variable numeric type
At: defines which global memory area the variable accesses
Address: address related to the global memory area.
Bit: for Boolean data type, it is necessary to define the bit it accesses (0...7)
Comment: comment of the variable in the selected language
Modbus: modbus address

 

 

Global Parameter:

 

wpshelp_ladder_editor_var_field_fig7

 

Tag: variable identification
Data Type: variable numeric type
At: defines which global memory area the variable accesses
Address: address related to the global memory area.
Initial Value: initial standard value
Comment: comment of the variable in the selected language
Modbus: modbus address

 

 

I/O:

 

wpshelp_ladder_editor_var_field_fig6

 

Tag: variable identification
Size: number of elements of the array* related to the variable
Data Type: variable numeric type
At: defines which global memory area the variable accesses
Address: address related to the global memory area.
Bit: for Boolean data type, it is necessary to define the bit it accesses (0...7)
Comment: comment of the variable in the selected language
Modbus: modbus address

 

wpshelp_common_fig_note

NOTE!

When size is greater than zero, the variables are accessed in the Ladder through their array index.