I/Os Of Piel64/256 - Siemens SITRANS PCS 7 Function Manual

Library
Table of Contents

Advertisement

18.2.6

I/Os of PiEl64/256

Input parameters
Parameter
RdReq
DataType
SlotNo
AbsInd
LenDr
Offset
In/out parameters
Parameter
AcyclData
Configuration of the output structure AcyclData:
1)
AcyclData STRUCT
SITRANS Library for PCS 7
Function Manual, 05/2019, A5E35351976-11
Description
Read request with positive edge
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)
Number of the slot in HW Config, which
is assigned the data record
Absolute Index (= number) of the data
record
Length in bytes of the data record
Start address of the parameter in the
read data record, e.g. as of byte 12
Description
Acyclic data
SlotRd : INT
ReqRd : INT
LenRd : INT
SlotWr : INT
ReqWr : INT
LenWr : INT
RdyRead : INT
RdyWrite : INT
RetValRd :
WORD
RetValWr :
WORD
Input
STRUCT
Type
BOOL
INT
INT
INT
INT
INT
Type
STRUCT
1)
Description
Number of the slot for read requests
Request for reading the data record with this num‐
ber (-1 = no request)
Length in bytes of the data record to read
Number of the slot for write requests
Request for writing the data record with this num‐
ber (-1 = no request)
Length in bytes of the data record to write
The data record with this number was read (-1 =
no data record read)
The data record with this number was written (-1 =
no data record written)
Return value of SFB RDREC (SFB52) for the read
job
Return value of SFB WRREC (SFB53) for the read
job
Data that was read from the DP slave
Driver blocks
18.2 PiEl64/PiEl256
Default
0
0
0
0
0
0
Default
0
821

Advertisement

Table of Contents
loading

Table of Contents