Communication
78
Note: In IEC 61131-3 compatible systems function blocks are
provided for accessing data non-cyclically. In Siemens S7, SFB 52
"RDREC" can be used for reading and SFB53 "WRREC" for
writing Data Records.
For more information on above function blocks, see document
Communication Function Blocks for PROFIBUS DP and
PROFINET IO v2.0 available at www.profibus.com
.
Supported Record Data Objects and their indices are listed in the
table below.
Table 12.Record Data Objects
Base Mode Parameter Access - Local
The DO-ID field in the Record Data Object request header is not
evaluated by the parameter manager and a valid Parameter
Access Point (PAP) should be used to access record data. The
PAP is located in subslot 1 of the slot 1.
Base Mode Parameter Access - Global
The slot and subslot fields in the Record Data Object request
header are not evaluated by the parameter manager. The DO-ID
is used instead and it should have either value 0x00 or 0x01.
RDREC WRREC
BOOL --- REQ VALID --- BOOL BOOL --- REQ DONE --- BOOL
DWORD ID BUSY --- BOOL DWORD --- ID BUSY --- BOOL
INT INDEX ERROR --- BOOL INT --- INDEX ERROR --- BOOL
INT MLEN STATUS --- DWORD INT --- LEN STATUS --- DWORD
LEN --- INT ANY --- RECORD-- --RECORD
ANY RECORD-- --RECORD
Parameter Access Service Index
Base Mode Parameter Access - Local 0xB02E
Base Mode Parameter Access - Global 0xB02F
User Specific Record Data (For compatibility
reasons)
0x2F