Siemens S7-1200 System Manual page 327

Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

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- 80
DPRD_DAT and DPWR_DAT error codes
Error code
Description
0000
No error occurred
8090
One of the following cases apply:
8092
The RECORD parameter supports the following data types: Byte, Char, Word, DWord, Int, UInt,
USInt, SInt, DInt, UDInt, and arrays of these types.
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 (DPRD_DAT) and (DPWR_DAT)
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
System error with external DP interface module (DPRD_DAT) and (DPWR_DAT)
80B3
System error with external DP interface module (DPRD_DAT) and (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).
80C2
System error with external DP interface module (DPRD_DAT) and (DPWR_DAT)
80Fx
System error with external DP interface module (DPRD_DAT) and (DPWR_DAT)
85xy
System error with external DP interface module (DPWR_DAT)
87xy
System error with external DP interface module (DPRD_DAT)
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
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.
8.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
Extended instructions
327

Advertisement

Table of Contents
loading

Table of Contents