Technical data
MESOMATIC Automation und Messtechnik GmbH D-71394 Kernen
Proceed with any other SPC makes and computers accordingly.
Fig. 8 shows the SFC14 "DPRD_DAT" function called to read out data from the DK900:
4
6
5
2
3 1
Fig. 8 SFC14 "DPRD_DAT
Explanations of Fig. 8:
1 SFC14 system function
2 System function call
3 The F1 key can be used to request help from the system with respect to this module.
4 LADDR parameter: This is the projected start address from the E area of the assembly
from which the value is to be read out. This is the value "200" (=C8) in hexadecimal
form, which is marked 4 in Fig. 7. Hexadecimal notation is mandatory!
5 RET_VAL parameter: If an error occurs while the function is processed, the return
value will contain an error code. The data of the DK900 were not properly read unless
this value is =0.
6 RECORD parameter: Target area for the reference data read (here DB15, for example).
The DB must have a minimum length of 9 Bytes so that the data of the "E-Adresse"
200..208 = 9 Bytes (see Fig. 7 in the column marked 4). The only data type permitted
is BYTE.
In order to write data to the DK900 the SFC 15 "DPWR_DAT" is to be used, which must then be
parameterised likewise.
DK900 11










