Siemens SIMATIC S7 System Manual page 270

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

101BExtended instructions
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
DPRD_DAT operations
The destination area must have the same length as configured for the selected module with
STEP 7. If no error occurs during the data transfer, the data that have been read are entered
into the destination area identified by RECORD.
If you read from a DP standard slave with a modular design or with several DP identifiers,
you can only access the data of one module/DP identifier for each DPRD_DAT instruction
call, specifying the configured start address.
DPWR_DAT operations
You transfer the data in RECORD consistently to the addressed DP standard
slave/PROFINET IO. The data is transferred synchronously, that is, the write process is
completed when the instruction is completed.
The source area must have the same length as you configured for the selected module with
STEP 7.
If the DP standard slave has a modular design, you can only access one module of the DP
slave.
Table 8- 81
DPRD_DAT and DPWR_DAT error codes
Error code
Description
0000
No error occurred
808x
System error with external DP interface module
8090
One of the following cases apply:
8092
A type other than Byte is specified in the Any reference.
8093
No DP module/PROFINET IO device from which you can read (DPRD_DAT) or to which you can
write (DPWR_DAT) consistent data exists at the logical address specified in LADDR.
80A0
Access error detected while the I/O devices were being accessed (DPRD_DAT).
80A1
Access error detected while the I/O devices were being accessed (DPWR_DAT).
80B0
Slave failure on external DP interface module
80B1
The length of the specified destination (DPRD_DAT) or source (DPWR_DAT) area is not identical to
the user data length configured with STEP 7 Basic.
80B2, 80B3, 80C2,
System error with external DP interface module (DPRD_DAT) and (DPWR_DAT)
80Fx
87xy, 808x
System error with external DP interface module (DPRD_DAT)
85xy
System error with external DP interface module (DPWR_DAT)
80C0
The data have not yet been read by the module (DPRD_DAT).
80C1
The data of the previous write job on the module have not yet been processed by the module
(DPWR_DAT).
8xyy
General error information
1
270
You have not configured a module for the specified logical base address.
You have ignored the restriction concerning the length of consistent data.
You have not entered the start address in the LADDR parameter in hexadecimal format.
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents