PLC concepts made easy
4.4 Memory areas, addressing and data types
Easy Book
66 Manual, 03/2014, A5E02486774-AF
To overlay a parameter, declare an additional parameter directly after the parameter that is
to be overlaid and select the data type "AT". The editor creates the overlay, and you can
then choose the data type, struct, or array that you wish to use for the overlay.
This example shows the input parameters of a standard-access FB. The byte tag B1 is
overlaid with an array of Booleans:
Table 4- 5 Overlay of a byte with a Boolean array
Another example is a DWord tag overlaid with a Struct:
The overlay types can be addressed directly in the program logic:
...
END_IF;
W#16#000C) THEN
...
END_IF;