
Parameter assignment error
A parameter assignment error is given at the following conditions:
● Data record length (
LenUsrDat
+ 12 Byte header) is greater than 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
(
LenUsrDat
)
Output
QParaf
is set and read jobs are rejected if a parameter assignment error occurs.
18.5.5
PiSA256H messaging
Messaging
This block does not offer messaging.
18.5.6
PiSA256H I/Os
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
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:
● 0 = no data type selected
● 1 = data type ’OctStr’ (Simatic: Array
of Byte)
● 2 = data type ’VisStr’ (Simatic:
String)
INT
0
LenUsrDat
Length of the read data without header
of the HART protocol
Driver blocks
18.5 PiSA256H
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11
835
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 ...