4 FUNCTIONS
4.5 Data Consistency Function
35
4
4.5
Data Consistency Function
This function maintains consistency of I/O data when the data from each DP-Slave is read/written from/to the buffer memory.
Data inconsistency is an issue where new and old two-word size (32 bits) link data is divided in units of words (16 bits) at the
timing of refresh of I/O data.
I/O data consistency and occurrence
■
Without the data consistency function
The PROFIBUS-DP bus cycle is asynchronous with the sequence scan by the CPU module.
Therefore, if the CPU module reads input data from the buffer memory while a DP-Slave is transferring the data to it, data
inconsistency occurs. (This problem also applies to output data)
The following example shows data inconsistency that data is read from CPU module while the I/O data is transferring to the
buffer memory.
■
With the data consistency function
When the data consistency function is used, reading data from CPU module is not performed while the data is transferring
from the DP-Slave to the buffer memory of FX5-DP-M (Input data area). When the data has transferred, reading data starts.
In addition, transferring data is not performed to the DP-Slave until the data has written from the CPU module to the buffer
memory of FX5-DP-M (Output data area). When the write data has completed, transferring data starts.
(1) DP-Slave
(2) Buffer memory of the FX5-DP-M
(3) CPU module
(4) Area already updated with data transferred from a DP-Slave
(5) Area not yet updated with data transferred from a DP-Slave
Data being transferred
Data read while transferred
(1) DP-Slave
(2) Buffer memory of the FX5-DP-M
(3) CPU module
(4) Area already updated with data transferred from a DP-Slave
Data transfer completed
Data read after transferred
1
0
3
2
B
A
D
C
B
A
D
C
1
3
0
2
5
4
7
6
1
3
0
2
Ó
Ò
(3)
(2)
(4)
(5)
(1)
·
·
1
0
3
2
5
4
7
6
1
3
0
2
5
4
7
6
1
3
0
2
(3)
(2)
(4)
(1)
·
·
5
4
7
6
Ó
Ò
Содержание FX5-DP-M
Страница 1: ...MELSEC iQ F FX5 User s Manual PROFIBUS ...
Страница 2: ......
Страница 9: ...7 MEMO ...
Страница 12: ...10 INDEX 168 REVISIONS 170 WARRANTY 171 TRADEMARKS 172 ...
Страница 13: ...11 CONTENTS ...
Страница 19: ...1 DESCRIPTION 17 1 MEMO ...
Страница 100: ...98 9 PROGRAMMING 9 2 DP Master settings DP Slave FDL address 2 ...
Страница 101: ...9 PROGRAMMING 9 2 DP Master settings 99 9 DP Slave FDL address 3 ...
Страница 108: ...106 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Страница 109: ...9 PROGRAMMING 9 8 Program Example of the Global Control Function 107 9 ...
Страница 110: ...108 9 PROGRAMMING 9 8 Program Example of the Global Control Function ...
Страница 112: ...110 9 PROGRAMMING 9 9 Program Example of Acyclic Communication Acyclic Communication ...
Страница 114: ...112 9 PROGRAMMING 9 10 Program Example of the Alarm Acquisition Function ...
Страница 169: ...APPX Appendix 4 Processing Time 167 A MEMO ...
Страница 175: ......