Mitsubishi Electric MELSEC iQ-R User Manual page 133

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

Advertisement

• Synchronized operation flow of when the status of the CPU module is changed from RUN to STOP
Inter-module synchronization cycle
CPU module operating status
CPU module synchronization status
Module A, Module B
'CH1 A/D conversion enable/disable setting'
(Un\G500)
Module A
A/D conversion timing
Module B
A/D conversion timing
Module A 'CH1 Synchronization
digital output value' (Un\G9500)
Module B 'CH1 Synchronization
digital output value' (Un\G9500)
Inter-module synchronous interrupt
program
Module A, Module B
'Synchronization status monitor'
(Un\G9600)
(1) When the CPU module is in the STOP state, the value of 'CH1 Synchronization digital output value' (Un\G9500) is not updated.
(2) When the CPU module is in the STOP state, the synchronous interrupt program is not executed.
■Synchronous conversion processing in the A/D converter module
The A/D converter module stores the latest A/D conversion value into 'CH1 Synchronization digital output value' (Un\G9500)
within 5s between the start timing of an inter-module synchronization cycle and the execution timing of the inter-module
synchronous interrupt program.
The following shows the A/D conversion processing example of when A/D conversion is enabled in all channels.
Inter-module synchronization cycle
A/D conversion timing
'CH1 Synchronization digital output value'
(Un\G9500)
'CH2 Synchronization digital output value'
(Un\G9502)
'CH3 Synchronization digital output value'
(Un\G9504)
'CH4 Synchronization digital output value'
(Un\G9506)
(1) Time between the start timing of an inter-module synchronization cycle and the execution timing of the interrupt program (5s)
(2) The A/D converter module simultaneously executes A/D conversion in all channels using the timing of the inter-module synchronization cycle as a trigger
and stores results in the following buffer memory areas.
• 'CH1 Synchronization digital output value' (Un\G9500)
• 'CH2 Synchronization digital output value' (Un\G9502)
• 'CH3 Synchronization digital output value' (Un\G9504)
• 'CH4 Synchronization digital output value' (Un\G9506)
(3) The A/D converter module simultaneously executes A/D conversion in all channels at the timing of the synchronization cycle. Because the conversion
results are stored in the above buffer memory areas before the interrupt program is executed, all A/D converter modules can simultaneously refer to the data
converted from analog to digital.
Inter-module
synchronization cycle
RUN
Synchronized
Previous A/D
A/D conversion value
conversion value
Previous A/D
A/D conversion value
conversion value
Synchronous
Synchronous
interrupt program
interrupt program
Inter-module synchronization target
(synchronization in process) (2)
Inter-module synchronization cycle
Synchronous interrupt
program
(1)
(2)
CH1 A/D conversion value
CH2 A/D conversion value
CH3 A/D conversion value
CH4 A/D conversion value
(3)
STOP
Stopped
A/D conversion enable (0)
A/D conversion value
A/D conversion value
(1)
(2)
Synchronous
interrupt program
Inter-module synchronization target
(synchronization stopped) (1)
Synchronous interrupt
program
CH1 A/D conversion value
CH2 A/D conversion value
CH3 A/D conversion value
CH4 A/D conversion value
1.18 Inter-Module Synchronization Function
1
1 FUNCTIONS
131

Advertisement

Table of Contents
loading

Table of Contents