S7-400H
System Manual, 03/2012, A5E00267695-11
111
Consistent data
9
Overview
Data that belongs together in terms of its content and describe a process state at a specific
point in time is known as consistent data. In order to maintain data consistency, do not
modify or update the data during their transfer.
Example 1:
In order to provide a consistent image of the process signals to the CPU for the duration of
cyclic program processing, the process signals are written to the process image of inputs
prior to program execution, or the processing results are written to the process image of
outputs after program execution. Subsequently, during program processing when the inputs
(I) and outputs (O) operand areas are addressed, the user program addresses the internal
memory area of the CPU on which the process image is located instead of directly accessing
the signal modules.
Example 2:
Inconsistency may develop when a communication block, such as SFB 14 "GET" or SFB 15
"PUT", is interrupted by a process alarm OB of higher priority. If the user program modifies
any data of this process alarm OB which in part have already been processed by the
communication block, certain parts of the transferred data will have retained their original
status which was valid prior to process alarm processing, while others represent data from
after process alarm processing.
This results in inconsistent data, i.e. data which are no longer associated.
SFC 81 "UBLKMOV"
Use SFC 81 "UBLKMOV" to copy the content of a memory range, the source area,
consistently to another memory range, the target range. The copy operation cannot be
interrupted by other operating system activities.
SFC 81 "UBLKMOV" enables you to copy the following memory areas:
●
Bit memory
●
DB contents
●
Process input image
●
Process output image
The maximum amount of data you can copy is 512 bytes. Make allowances for the CPU-
specific restrictions listed in the instruction list.
Since copying cannot be interrupted, the alarm response times of your CPU may increase
when using SFC 81 "UBLKMOV".
Содержание SIMATIC S7-400H
Страница 24: ...Preface 1 1 Preface S7 400H 24 System Manual 03 2012 A5E00267695 11 ...
Страница 46: ...Getting Started 4 5 Special layout features of SIMATIC Manager S7 400H 46 System Manual 03 2012 A5E00267695 11 ...
Страница 120: ...Memory concept 10 1 Overview of the memory concept of S7 400H CPUs S7 400H 120 System Manual 03 2012 A5E00267695 11 ...
Страница 258: ...Communication 14 8 General issues regarding communication S7 400H 258 System Manual 03 2012 A5E00267695 11 ...
Страница 354: ...Synchronization modules 18 3 Selecting fiber optic cables S7 400H 354 System Manual 03 2012 A5E00267695 11 ...
Страница 434: ...Technical data 20 6 Runtimes of the FCs and FBs for redundant I Os S7 400H 434 System Manual 03 2012 A5E00267695 11 ...
Страница 460: ...Function modules and communication processors supported by the S7 400H S7 400H 460 System Manual 03 2012 A5E00267695 11 ...