Module 3.4 Variables
Module 3.4 Variables
Variables
All of the above values are equal, they were just entered differently
Unlocated
Tag names without a hardware address
Unlocated variable cannot be set cyclically. If you need to set
variable cyclically in your project use located variables
Located
Tag names with a hardware address (State RAM)
Constants
Write protected variables
Use to assign a fix value to a variable
Every direct address has a reference that indicates its position in the
sequence and whether it is an input address (read only) or an output
address (read / write).
0x / %Qx area = bit outputs (discrete) - example 1: 000001 is
discrete Output 1 - example 2: %Q00001 is Output Bit 1
Identifier
Unlocated
Double-click on variables
cells to enter in
edit mode
Data Type
Located
variable
1
Columns can be moved using the
2 . 1
buttons on the right
The type of data can be selected from a list of previously used types 1
or directly from the Variable type selection by clicking on […] button 2
1 2
1 2
1 2
4 Define a prefix