Download  Print this page

Data Consistency Function; Setting Method; Access Control On Input Data Areas - Mitsubishi Electric MELSEC iQ-R Series User Manual

Profinet io controller module.
Hide thumbs

Advertisement

1.2

Data Consistency Function

This function ensures the consistency of input data and output data to be transferred by the I/O data exchange for each IO
device.
Data inconsistency is prevented by using the buffer memory and performing interlocks on the access to the input areas or
output areas between the CPU module and the RJ71PN92.

Setting method

Enable the bit of 'Data consistency setting area' (Un\G17033 to Un\G17040) corresponding to the IO device that exchanges
the I/O data to use this function.
Page 146 Data consistency setting area

Access control on input data areas

For the access control on input data areas, use the following buffer memory areas and perform interlocks.
• 'CPU to PN handshake flag (data consistency setting input area)' (Un\G17041 to Un\G17048)
• 'PN to CPU handshake flag (data consistency setting input area)' (Un\G17128 to Un\G17135)
Combinations of handshake flags
When the data consistency function is enabled, whether or not to read input data areas is determined depending on the
combination of the settings of the buffer memory areas.
The following table lists the combinations of the settings of the buffer memory areas.
'CPU to PN handshake
'PN to CPU handshake
flag (data consistency
flag (data consistency
setting input area)'
setting input area)'
(Un\G17041 to
(Un\G17128 to
Un\G17048)
Un\G17135)
OFF
OFF
OFF
ON
ON
ON
ON
OFF
Control by programs
Create a program to control data in the following order.
1.
Compare the bits of 'CPU to PN handshake flag (data consistency setting input area)' (Un\G17041 to Un\G17048) and
'PN to CPU handshake flag (data consistency setting input area)' (Un\G17128 to Un\G17135) corresponding to the IO
device that exchanges the I/O data.
2.
Read data from the input data area of the specified IO device when one of the bits is in the off state and the other is in the
on state.
3.
After the data is read, reverse the on/off state of the bit of 'CPU to PN handshake flag (data consistency setting input
area)' (Un\G17041 to Un\G17048) corresponding to the IO device that exchanges the I/O data. (Off  On or On  Off)
1 FUNCTIONS
1.2 Data Consistency Function
Read
Operation of the RJ71PN92
inhibited/
enabled
Read
• The values in the input data area of the specified IO device are
inhibited
updated to the values in the internal memory of the RJ71PN92.
• After the data is updated, the bit of 'PN to CPU handshake flag
(data consistency setting input area)' (Un\G17128 to
Un\G17135) corresponding to the IO device that exchanges
the I/O data turns on.
Read
enabled
Read
• The values in the input data area of the specified IO device are
inhibited
updated to the values in the internal memory of the RJ71PN92.
• After the data is updated, the bit of 'PN to CPU handshake flag
(data consistency setting input area)' (Un\G17128 to
Un\G17135) corresponding to the IO device that exchanges
the I/O data turns off.
Read
enabled
Control by
programs
Page 20
Control by
programs
Page 20
Control by
programs

Advertisement

Table of Contents

   Related Manuals for Mitsubishi Electric MELSEC iQ-R Series

Comments to this Manuals

Symbols: 0
Latest comments: