Skip to main content

Fields

When defining a variable through the variable list, some data must be defined for the variables. The following items will present this data according to the group to which the variable belongs.

Local and Retentive Local

Local and Retentive Local

  • Tag: Variable ID
  • Size: Number of elements in the array related to the variable
  • Data Type: Numeric type of the variable
  • Initial Value: Value that will be loaded into the variable during device initialization
  • Comment: Variable comment in the selected language

Constant

Constant

  • Tag: Variable ID
  • Data Type: Numeric type of the variable
  • Value: Constant value of the variable
  • Comment: Variable comment in the selected language

Global and Global Retentive

Global and Global Retentive

  • Tag: Variable ID

  • Size: Number of elements in the array related to the variable

  • Data Type: Numeric type of the variable

  • At: Defines which global memory area the variable accesses

  • Address: Address related to the global memory area. If not set (empty), the compiler will automatically define its address.

  • Bit: For a Boolean data type, it is necessary to define the bit it accesses (0 - 7)

  • Initial Value: The value that will be loaded into the variable during device initialization

  • Comment: Variable comment in the selected language

  • Modbus: Modbus address

System

System

  • Tag: Variable identification
  • Size: Number of elements in the array related to the variable
  • Data Type: Numeric type of the variable
  • At: Defines which global memory area the variable accesses
  • Address: Address related to the global memory area
  • Bit: For a Boolean data type, it is necessary to define the bit it accesses (0 - 7)
  • Comment: Variable comment in Selected language
  • Modbus: Modbus address

Global Parameter

Global Parameter

  • Tag: Variable identification
  • Data Type: Numeric type of the variable
  • At: Defines which global memory area the variable accesses
  • Address: Address related to the global memory area
  • Initial value: Default value
  • Comment: Variable comment in the selected language
  • Modbus: Modbus address

I/O

I/O

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

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