SIEMENS AG
as200_mix_read
The as200_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 assignmemnt of
type = A,E,M size may be set = "b" or "w".
type = "E"
type = "A"
type = "M"
type = "V"
type = "S"
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:
type
data
size
res
no
:
:
:
type
size
res
no
0
Toolbox for Data Link PGs/PCs to SIMATIC S7
read input range
read output range
read flag range
read variable memory
read special flag range
E,A,M,S,V
B
0
E,A,M,S,V
B
0
List end identifier = 0
50
PRODAVE S7