EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 540

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
9.10 Data block control
S7-1200 Programmable controller
540 System Manual, V4.2, 09/2016, A5E02486680-AK
Recipes and machine setup information
You can use the READ_DBL and WRIT_DBL instructions to manage recipes or machine
setup information. This essentially becomes another method of achieving retentive data for
values that do not change often, although you would want to limit the number of writes to
prevent wearing out the flash prematurely. This effectively allows you to increase the amount
of retentive memory beyond that supported for the normal power-down retentive data, at
least for values that do not change often. You could save recipe information or machine-
setup information from work memory to load memory using the WRIT_DBL instruction, and
you could retrieve such information from load memory into work memory using the
READ_DBL instruction.
Table 9- 222 Condition codes
RET_VAL
(W#16#...)
Description
0000
No error
0081 Warning: that the source area is smaller than the destination area. The source data is copied complete-
ly with the extra bytes in the destination area unchanged.
7000
Call with REQ = 0: BUSY = 0
7001 First call with REQ = 1 (working): BUSY = 1
7002
N
th
call (working): BUSY = 1
8051
Data block type error
8081 The source area is larger than the destination area. The destination area is completely filled and the
remaining bytes of the source are ignored.
8251
Source data block type error
82B1
Missing source data block
82C0
The source DB is being edited by another statement or a communication function.
8551
Destination data block type error
85B1
Missing destination data block
85C0
The destination DB is being edited by another statement or a communication function.
80C3
More than 50 READ_DBL or 50 WRIT_DBL statements are currently queued for execution.
See also
Recipes (Page 498)

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals