![Siemens SIMOCODE pro Скачать руководство пользователя страница 78](http://html.mh-extra.com/html/siemens/simocode-pro/simocode-pro_programming-and-operating-manual_1265395078.webp)
Description of the blocks
4.1 Functions for all blocks
SIMOCODE pro PCS 7 Library V9.0
78
Programming and Operating Manual, 06/2017, A5E40899442002A/RS-AA/001
4.1.6
Reading and writing data records
The blocks use SFB 52 "RDREC" function to read and process values from data records,
and the SFB 53 "WRREC" function to process and write values to data records of the
SIMOCODE pro device.
The "Read Data" button in the faceplates is used to update the displayed values by calling
the "RDREC" at the function block.
Reading can only be performed successfully if the function Write to data records "WRREC"
is not executed at the same time.
Read parameter data record
Reading data records is performed irrespective of the current mode.
Write function
It is only possible to write data records if the block is in REMOTE mode to configure current
limits for the SIMOCODE pro module configured with a current measuring module.
Errors when reading/writing data record
The following errors can occur when reading/writing the data record:
Table 4- 6
Errors when reading/writing data record
Error code
(W#16#...)
Description
8085
Due to a problem in the system, information is not currently available (for exam-
ple, due to a lack of resources).
80A2
DP protocol error at layer 2
80A3
•
PROFIBUS DP: DP protocol error with Direct-Data-Link-Mapper or user inter-
face/user
•
PROFINET IO: General CM error
80A4
Bus communication disrupted
80A9
Application – Feature/Function is not supported.
DPV1 service <> DS-Read/ DS-Write
80C0
The module has the data record, however there are no read data yet.
80C2
The module currently processes the maximum possible jobs for a CPU.
80C3
The required operating resources (memory, etc.) are currently occupied.
80C4
Internal temporary error. Job could not be carried out.
Repeat the job. If this error occurs often, check your installation for sources of
electrical interference.
80C6
Data record transfer was canceled due to priority class cancellation.
80C7
Job cancelled due to restart (warm restart) or cold restart of DP master.
If any of these errors is detected, the function call to read or write data record is executed
again. The maximum count of these repetitive calls is set to 300 beyond which an error is
reported as a read error or write error at the
RdErr
or
WrErr
output parameter respectively.