Mitsubishi Electric MELSEC iQ-R User Manual page 131

High speed analog-digital converter module
Hide thumbs Also See for MELSEC iQ-R:
Table of Contents

Advertisement

■Changing the module setting
• To write the default values with a program without using the module parameter or to change the parameter setting during
module operation, the program that writes setting values and turns on and off Operating condition setting request (Y9) is
required to enable the setting.
• When Operating condition setting request (Y9) is turned on and off to enable the setting, 0 is stored in 'CH1
Synchronization digital output value' (Un\G9500)' of the channel where A/D conversion disable is set.
When the A/D converter module is set as the synchronization target, the I/O setting is refreshed before and
after the execution of the synchronous interrupt program. Thus, use the direct access (DY) to immediately
reflect the setting into the A/D converter module by turning on and off Operating condition setting request
(Y9).
Operation example
When the inter-module synchronization function is used, control is basically performed with the inter-module synchronous
interrupt program (I44).
To improve the synchronization performance of the entire system, the dedicated refresh target data is used when the inter-
module synchronous interrupt program is executed. The following shows the refresh target data.
• 'CH1 Synchronization digital output value' (Un\G9500)
• 'Synchronization status monitor' (Un\G9600)
When the inter-module synchronization function is used, the buffer memory areas dedicated for reading, such
as 'CH1 Maximum value' (Un\G404), are updated based on 'CH1 Synchronization digital output value'
(Un\G9500).
However, when the inter-module synchronous interrupt program is executed, only 'CH1 Synchronization
digital output value' (Un\G9500) and 'Synchronization status monitor' (Un\G9600) are updated. Thus, when
'CH1 Synchronization digital output value' (Un\G9500) is compared with 'CH1 Maximum value' (Un\G404) in
the inter-module synchronous interrupt program, the values of them do not match.
When creating the program that refers to the data other than 'CH1 Synchronization digital output value'
(Un\G9500) and 'Synchronization status monitor' (Un\G9600) in the inter-module synchronous interrupt
program, note the descriptions above.
1 FUNCTIONS
1.18 Inter-Module Synchronization Function
1
129

Advertisement

Table of Contents
loading

Table of Contents