Parameter
Description
Type
Default
NumReqB
Number of request bytes sent
INT
0
Cmd
Number of HART command with which
the data record is read
INT
0
RdReq
Read request with positive edge
BOOL
0
DataType
Data type selection:
1 = data type ’101’ (Simatic: Real with
quality code)
2 = data type ’Float’ (Simatic: Real)
3 = data type ’Uns8’ (Simatic: Byte)
4 = data type ’Uns16’ (Simatic: Word)
5 = data type ’Uns32’ (Simatic: DWord)
INT
0
LenUsrDat
Length of the read data without header
of the HART protocol
INT
0
Offset
Start address of the parameter in the
read data record without the header of
the HART protocol, e.g., as of byte 12
INT
0
In/out parameters
Parameter
Description
Type
Default
AcyclData
Acyclic data
STRUCT
1)
0
1)
Configuration of the output structure AcyclData:
AcyclData STRUCT
Description
SlotRd : INT
Number of the slot for read requests
ReqRd : INT
Request for reading the data record with this num‐
ber (-1 = no request)
LenRd : INT
Length in bytes of the data record to read
SlotWr : INT
Number of the slot for write requests
ReqWr : INT
Request for writing the data record with this num‐
ber (-1 = no request)
LenWr : INT
Length in bytes of the data record to write
RdyRead : INT
The data record with this number was read (-1 =
no data record read)
RdyWrite : INT
The data record with this number was written (-1 =
no data record written)
RetValRd :
WORD
Return value of SFB RDREC (SFB52) for the read
job
RetValWr :
WORD
Return value of SFB WRREC (SFB53) for the read
job
Input
STRUCT
Data that was read from the DP slave
Para0 : DWORD
Value of input data
…
…
Para63 : DWORD
Value of input data
END_STRUCT
Driver blocks
18.3 PiEl256H
SITRANS Library for PCS 7
826
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 ...