Error Handling Of Piel64/256; Piel64/256 Messaging - Siemens SITRANS PCS 7 Function Manual

Library
Table of Contents

Advertisement

Driver blocks
18.2 PiEl64/PiEl256
Reading acyclic values
The reading of acyclic values is initiated by a positive edge at input RdReq. Output ReqDetect
is set when the block has detected a positive edge. Once the job was transferred to the
PiDr64/256 block, output ReqActive will be set to TRUE. The end of reading is indicated at
outputs RdyOK (error-free) and RdyErr (error). These outputs remain set until input RdReq is
set to FALSE. The return value of the RDREC call (SFB52) is copied to output RetValRd and,
depending on the data type (input DataType), the read parameter is copied to the
corresponding output (Outxxx).
18.2.4

Error handling of PiEl64/256

The following errors can be displayed for this block:
● Parameter assignment error
Parameter assignment error
A parameter assignment error is given at the following conditions:
● Data record length (LenDr) is bigger than 64/256 bytes
● No data type or invalid data type selected (input DataType is less than 1 or greater than 5)
● Offset plus length of the selected data type exceeds the length of the data record (LenDr)
Output QParaf is set and read jobs are rejected if a parameter assignment error occurs.
18.2.5

PiEl64/256 messaging

Messaging
This block does not offer messaging.
820
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11

Advertisement

Table of Contents
loading

Table of Contents