SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
12
In order to avoid confusion in the data management, we recommend to have
the PLC process the data block symbolically via type allocation in the following
form:
Type Declaration in Symbol List:
Block: DB10
DB_10
Address Variable Data Type Start Value Comments
STRUCT
DW ARRAY[0 .. 255]
WORD
END STRUCT
Example of access to the varilable in PLC:
L “DB_10“.DW[2]
T MW10
or
L MW10
T “DB_10“.DW[2]