
StrLen
Total length of the string to be read
1)
Offset
Start address of the string in the read data record, e.g. as of byte 12
1)
Total length of the string to be read:
Note
For string with a length of 16 bytes and Simatic format, for example, you must parameterize 18
bytes accordingly because bytes 0 and 1 also contain the maximum and current length of the
string.
Startup characteristics
This block has no startup characteristics.
Status word allocation for
Status
parameter
This block does not have the
Status
parameter.
18.5.2
Operating modes of PiSA256H
This block does not have any operating modes.
18.5.3
Functions of PiSA256H
The functions for this block are listed below.
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 PiDr256
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.5.4
Error handling of PiSA256H
The following errors can be displayed for this block:
● Parameter assignment error
Driver blocks
18.5 PiSA256H
SITRANS Library for PCS 7
834
Function Manual, 05/2019, A5E35351976-11
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 ...