SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
36
mix_read
This function enables the user to read mixed data.
The following data can be read and / or written:
E = Input bytes
A = Output bytes
M = Flag bytes
T = Timer words
Z = Counter words
D = Data from DB
The mix_read function reads the data parameterised by “data“ from the PLC
and stores the read values in the specified storage area.
A maximum of 20 data may be read. In the event of parameter assignment type
= A,E,M size may be set = ”b” or ”w”, parameter assignment type = T,Z,D, size
may be set = ”w”.
size = ”w” read word and save
size = ”b” read byte and save
The read values are saved in sequence. I.e. the user himself must carry out
structured processing of the field occupied with the read values. "data" must
have the following structure: