Error Handling Of Piel256H; Messaging Of Piel256H; I/Os Of Piel256H - Siemens SITRANS PCS 7 Function Manual

Library
Table of Contents

Advertisement

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.3.4

Error handling of PiEl256H

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 (LenUsrDat + 12 bytes header) is greater than 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
(LenUsrDat)
Output QParaf is set and read jobs are rejected if a parameter assignment error occurs.
18.3.5

Messaging of PiEl256H

Messaging
This block does not offer messaging.
18.3.6

I/Os of PiEl256H

Input parameters
Parameter
SlotHart
ReqByte0..3
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11
Description
Number of the slot (channel) within the
AI or AO module to which HART device
is connected in the HW Config
Request bytes that must be transmitted
when sending the HART command to
the module, if required
Type
Default
INT
0
BYTE
0
Driver blocks
18.3 PiEl256H
825

Advertisement

Table of Contents
loading

Table of Contents