D.3
Data records
Writing / reading data records with STEP7
You can access the data records of the motor starter from the user program.
• Writing data records:
S7-DPV1 master: By starting SFB 53 'WR_REC' or SFC 58
S7-Master:
• Reading data records:
S7-DPV1 master: By starting SFB 52 'RD_REC' or SFC 59
S7-Master:
Note
SFC 58 and 59 cannot be used for PROFINET. These components only work
with PROFIBUS.
For PROFINET, use the components SFB 52 or 53. These also work with PROFI-
BUS.
Other information
You will find additional information on the SFBs
• in the reference manual
'System software for S7-300 / 400, system and standard functions'
• In the STEP7 online help
Byte arrangements
When data is stored that is longer than one byte, the bytes are arranged as fol-
lows ("big endian"):
Byte arrangement
Byte 0
Byte 1
Byte 2
Byte 3
Byte 0
Byte 1
Byte 0
Byte 1
Figure D-2: Byte arrangements in the format 'big endian'
SIMATIC – ET 200pro motor starter
GWA 4NEB 950 5661-02 DS 04
By starting SFC 58
By starting SFC 59
High byte
High word
Low byte
High byte
Low word
Low byte
High byte
Low byte
Byte 0
Byte 1
Data formats and data records
Data type
Double word
Word
Byte
D-5