Technical data
Appendix
27.7 Accessing Process and I/O Data Areas
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 677
Accessing Data Records
You can use the information in the data records of a module to reassign parameters to configurable
modules and to read diagnostic information from modules with diagnostic capability.
The following table shows which system functions you can use to access data records.
SFC Purpose
Assigning parameters to modules
SFC55 WR_PARM Transfers the modifiable parameters (data record 1) to the addressed signal module
SFC56 WR_DPARM Transfers parameters from SDBs 100 to 129 to the addressed signal module
SFC57 PARM_MOD Transfers parameters from SDBs 100 to 129 to the addressed signal module
SFC58 WR_REC Transfers any data record to the addressed signal module
Reading out diagnostic information
SFC59 RD_REC Reads the diagnostic data
Note
If a DPV1 slave is configured using a GSD file (GSD as of Rev. 3) and the DP interface of the DP
master is set to "
S7 compatible", then data records must not be read from or written to the I/O modules
in the user program with SFC 58/59 or SFB 53/52. The reason is that in this case the DP master
addresses the incorrect slot (configured slot +3).
Remedy: Set the interface for the DP master to "DPV1".
Addressing S5 Modules
You can access S5 modules as follows:
• By connecting an S7-400 to SIMATIC S5 expansion racks using the interface module IM 463-2
• By plugging in certain S5 modules in an adapter casing in the central rack of the S7-400
How you address S5 modules with SIMATIC S7 is explained in the "S7-400, M7-400
Programmable Controllers, Hardware and Installation" Manual or the description supplied with the
adapter casing.