Reading And Writing Records; Methods For Reading And Writing Records - Siemens Simatic 6ES7 157-0AD81-0 A0 Series Manual

Dp/pa link and y link bus couplings
Table of Contents

Advertisement

8.4

Reading and writing records

Depending on the operating mode of the DP master (S7-compatible or DPV1),
records of the IM 157 and the underlying slaves can be read and written by
different methods.
S Reading records with SFC 59 "RD_REC" or SFB 52 "RDREC"
S Writing records with SFC 58 "WR_REC" or SFB 53 "WRREC"
S Reading and writing records with a programming device/PC via communication
links, e.g. with SIMATIC PDM
Table 8-3
Records of the IM 157
Records of underlying
slaves
Records of the IM 157
Depending on the operating mode of the DP master (S7-compatible or DPV1), the
IM 157 support reading and writing of the following records:
S On the DPV1 master:
– Records 0 and 1 (diagnostic data, read only)
– Records 248 ... (identification data, see Section 8.5)
S On the S7-compatible master
– Records 0 and 1 (diagnostic data, read only)
DP/PA Link and Y Link Bus Couplings
A5E00193841-01 1

Methods for reading and writing records

S7-compatible DP master
S
SFC 59 "RD_REC"
S
Read with programming
device/PC
S
Read/write with
programming device/PC
Operation of the DP/PA Link and the Y Link
DPV1 master
S
SFC 59 "RD_REC",
SFB 52 "RDREC"
S
SFC 58 "WR_REC",
SFB 53 "WRREC"
S
Read/write with
programming device/PC
S
SFC 59 "RD_REC",
SFB 52 "RDREC"
S
SFC 58 "WR_REC",
SFB 53 "WRREC"
S
Read/write with
programming device/PC
8-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents