show the entry list
PROFIBUS general -- Configuring and programming communication -- Using communication blocks
Transfer of analog values from and to the PROFIBUS DP slave
Which entries deal with consistent data in conjunction with distributed I/O?
How can you access consistent data without SFC14/15 as part of the process image?
Why does my new CPU 315-2DP (Order No: 6ES7 315-2AG10-0AB0) not process the SFC13 correctly?
How do you receive an alarm with the SFB 54 "RALRM" in compliance with DPV1?
DP slave lifelist using SFC51 "RDSYSST" instead of SFC12 "D_ACT_DP"
Can you use the "Signal System Error" function, the FB126 function block and the SFC13 "DPNRM_DG" system function simultaneously?
Notes for the use of the system function SFC12 "D_ACT_DP"
What is consistent data?
How do you read data consistently from a DP standard slave/PROFINET IO device and write it consistently to a DP standard slave/PROFINET IO device?
Disabling DP slaves after startup of the CPU
Diagnostics information of the FB125 with disabled DP slave
Enabling a disabled DP slave with SFC 12 "D_ACT_DP"
Parameter assignment of SFC 103 / SFC 59 required for identifying and reading out topology data
What are the requirements for using the "Prepare cable diagnostics" function?
What is consistent data?
Part number:

Description:
The size of the data area that cannot be changed simultaneously by concurrent processes is called a consistent data area. A data area that is larger than the consistent data area can be completely corrupted.

Definition:
Data that belongs together with regard to content and describes a process state at a specific time is called consistent data. For data to be consistent, it must not be changed or updated during processing or transfer.

Example:
You want to determine the mean value of a series of numbers. The following conditions hold for this example:

  • The elements of the series of numbers are determined at the beginning of the calculation.
  • The source data is made available in a buffer and has to be stored in a second buffer.
  • Transfer of the source data between the buffers is serial.
  • This takes different amounts of time.

If you do the calculation in a constant cycle, then not all of the elements include the latest value and you get a false mean value. If the series of numbers is handled as one unit or structure, the calculation is made only when all the elements of the series of numbers include a valid value. Here it is irrelevant in which order the determination of the elements is made or how much time is required. This series of numbers is then consistent.

Practical example:


Fig. 1

Packets with a data matrix code are scanned on a conveyor belt. The scanner feeds the data to a CPU via PROFIBUS. The data matrix code has a length of 8 bytes. Data transfer is not consistent, but in two steps of 4 bytes each.
If the next packet is scanned during data transfer of the first 4 bytes, the data in the CPU consists of the first 4 bytes of the first packet and the second 4 bytes of data of the second packet. The data is corrupted.
You must ensure that the 8 bytes are transferred as a whole. Consistency is required over the complete length of 8 bytes.

Other topics concerning consistent data are available in Entry ID 28991143.

 Entry ID:5116353   Date:2005-08-11 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour