Error Handling Of Pidr64/256 - Siemens SITRANS PCS 7 Function Manual

Library
Table of Contents

Advertisement

structure AcyclData.Input, while the return value of the RDREC call (SFB52) is set in
output variable AcyclData.RetValRd. For information on the meaning of the return value,
refer to the Online Help of the RDRECblock.
If a temporary error occurs, the block repeats the read job up to five times at delay intervals of
one second before the job is closed with a temporary error. Otherwise, the block does not
evaluate the return value.
Writing acyclic values to the process image
Writing of acyclic data is initiated by writing the number of the data record to be written to
output AcyclData.ReqWr. The number of the slot to which the data is written must be set
simultaneously at output AcyclData.SlotWr, the data record length is set at
output AcyclData.LenWr , and the data to be written is set at output
structure AcyclData.Output.
On completion of the write job (with/without error), the block copies the number of the data
record that was written to output AcyclData.RdyWrite , and the return value of the WRREC
call (SFB53) to output variable AcyclData.RetValRd. For information on the meaning of the
return value, refer to the Online Help of the WRRECblock.
If a temporary error occurs, the block repeats the write job up to five times at delay intervals of
one second before the job is closed with a temporary error. Otherwise, the block does not
evaluate the return value.
Reading diagnostics data
If a diagnostics interrupt (OB82) is reported for the block instance, the diagnostics data is read
and copied to output structure AcyclData.DiagData . Output AcyclData.NewDiag is
incremented by one to signal new diagnostics data. The length of diagnostics data is limited to
20 bytes.
Retaining last values
Since the block only reads data on request, the data will not be changed if the connection to the
DP slave is missing (Mode input <> 16#80xxxxxx or RackF = TRUE). All jobs for reading/writing
acyclic data are rejected if an error is pending.
Simulating signals
The block does not have a function for simulating process values.
18.1.4

Error handling of PiDr64/256

The following errors can be displayed for this block:
● Higher-level error
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11
Driver blocks
18.1 PiDr64/PiDr256
815

Advertisement

Table of Contents
loading

Table of Contents