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
Description
Type
Default
SlotHart
Number of the slot (channel) within the
AI or AO module to which HART device
is connected in the HW Config
INT
0
ReqByte0..3
Request bytes that must be transmitted
when sending the HART command to
the module, if required
BYTE
0
Driver blocks
18.3 PiEl256H
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11
825
Summary of Contents for SITRANS PCS 7
Page 12: ...Table of contents SITRANS Library for PCS 7 12 Function Manual 05 2019 A5E35351976 11 ...
Page 418: ...SITRANS P 10 2 SitraPDr SITRANS Library for PCS 7 418 Function Manual 05 2019 A5E35351976 11 ...
Page 850: ...Index SITRANS Library for PCS 7 850 Function Manual 05 2019 A5E35351976 11 ...