
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 (
OuStruct
/
OuString
).
18.4.4
Error handling of PiStAr64/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 2)
● Offset plus length of the string (
StrLen
) exceeds the length of the data record (
LenDr
)
Output
QParaf
is set and read jobs are rejected if a parameter assignment error occurs.
18.4.5
Messaging of PiStAr64/256
Messaging
This block does not offer messaging.
18.4.6
I/Os of PiStAr64/256
Input parameters
Parameter
Description
Type
Default
RdReq
Read request with positive edge
BOOL
0
DataType
Data type selection:
0 = no data type selected
1 = Data type ’OctStr’ (Simatic: Array of
Byte)
2 = Data type ’VisStr’ (Simatic: String)
INT
0
Driver blocks
18.4 PiStAr64/PiStAr256
SITRANS Library for PCS 7
830
Function Manual, 05/2019, A5E35351976-11
Содержание SITRANS PCS 7
Страница 12: ...Table of contents SITRANS Library for PCS 7 12 Function Manual 05 2019 A5E35351976 11 ...
Страница 38: ...Functions of the faceplates 2 4 Trend view SITRANS Library for PCS 7 38 Function Manual 05 2019 A5E35351976 11 ...
Страница 190: ...SITRANS LUT400 6 2 PLut400 SITRANS Library for PCS 7 190 Function Manual 05 2019 A5E35351976 11 ...
Страница 320: ...SIPART PS2 PA 8 1 SipPS2PA SITRANS Library for PCS 7 320 Function Manual 05 2019 A5E35351976 11 ...
Страница 418: ...SITRANS P 10 2 SitraPDr SITRANS Library for PCS 7 418 Function Manual 05 2019 A5E35351976 11 ...
Страница 458: ...SITRANS P PA 11 1 SitrP_PA SITRANS Library for PCS 7 458 Function Manual 05 2019 A5E35351976 11 ...
Страница 542: ...SITRANS FC430 12 2 SiFC43Dr SITRANS Library for PCS 7 542 Function Manual 05 2019 A5E35351976 11 ...
Страница 640: ...SITRANS FC430 PA 13 4 FbFC43PA SITRANS Library for PCS 7 640 Function Manual 05 2019 A5E35351976 11 ...
Страница 676: ...SITRANS LR PA 14 1 SitrLRPA SITRANS Library for PCS 7 676 Function Manual 05 2019 A5E35351976 11 ...
Страница 712: ...SITRANS LR HART 15 1 SitrLRHA SITRANS Library for PCS 7 712 Function Manual 05 2019 A5E35351976 11 ...
Страница 776: ...MultiRanger 200 16 3 Mr200Dia SITRANS Library for PCS 7 776 Function Manual 05 2019 A5E35351976 11 ...
Страница 812: ...SITRANS LU HART 17 1 SitrLuHA SITRANS Library for PCS 7 812 Function Manual 05 2019 A5E35351976 11 ...
Страница 838: ...Driver blocks 18 5 PiSA256H SITRANS Library for PCS 7 838 Function Manual 05 2019 A5E35351976 11 ...
Страница 850: ...Index SITRANS Library for PCS 7 850 Function Manual 05 2019 A5E35351976 11 ...