Access Control On Output Data Areas - Mitsubishi Electric MELSEC iQ-R Series User Manual

Profinet io controller module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Access control on output data areas

For the access control on output data areas, use the following buffer memory areas and perform interlocks.
• 'CPU to PN handshake flag (data consistency setting output area)' (Un\G17049 to Un\G17056)
• 'PN to CPU handshake flag (data consistency setting output area)' (Un\G17136 to Un\G17143)
Combinations of handshake flags
When the data consistency function is enabled, whether or not to write output 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 flag (data
consistency setting
output area)'
(Un\G17049 to
Un\G17056)
OFF
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 output area)' (Un\G17049 to Un\G17056) and
'PN to CPU handshake flag (data consistency setting output area)' (Un\G17136 to Un\G17143) corresponding to the IO
device that exchanges the I/O data.
2.
Write data to the output data area of the specified IO device when the bits are both in the off state or the on state.
3.
After the data is written, reverse the on/off state of the bit of 'CPU to PN handshake flag (data consistency setting output
area)' (Un\G17049 to Un\G17056) corresponding to the IO device that exchanges the I/O data. (Off  On or On  Off)
1 FUNCTIONS
22
1.2 Data Consistency Function
'PN to CPU
Write
handshake flag (data
inhibited/
consistency setting
enabled
output area)'
(Un\G17136 to
Un\G17143)
OFF
Write enabled
OFF
Write
inhibited
ON
Write enabled
ON
Write
inhibited
Operation of the RJ71PN92
• The values in the internal memory of the RJ71PN92 are
updated to the values in the output data area of the specified
IO device.
• After the data is updated, the bit of 'PN to CPU handshake
flag (data consistency setting output area)' (Un\G17136 to
Un\G17143) corresponding to the IO device that exchanges
the I/O data turns on.
• The values in the internal memory of the RJ71PN92 are
updated to the values in the output data area of the specified
IO device.
• After the data is updated, the bit of 'PN to CPU handshake
flag (data consistency setting output area)' (Un\G17136 to
Un\G17143) corresponding to the IO device that exchanges
the I/O data turns off.
Control by
programs
Page 22
Control by
programs
Page 22
Control by
programs

Advertisement

Table of Contents
loading

Table of Contents