Basic Operation - Mitsubishi Electric MELSEC iQ-R User Manual

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

Advertisement

■Basic operation

The following shows the basic operation of when the settings have been correctly configured and two A/D converter modules
operate in synchronization with each other.
• Synchronized operation flow of when the status of the CPU module is changed from STOP to RUN
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) The synchronization of the modules is started at the timing of the next inter-module synchronization cycle after the status of the CPU module is changed
from STOP to RUN.
(2) When the CPU module is synchronized, A/D conversion is executed in all channels at the start timing of the inter-module synchronization cycle.
(3) The digital output value that was converted from an analog value immediately before the next timing of the inter-module synchronization cycle is stored in
'CH1 Synchronization digital output value' (Un\G9500).
(4) The synchronous interrupt program is not executed in the first inter-module synchronization cycle after the CPU module is set to RUN.
(5) The program is executed at the start timing of the second inter-module synchronization cycle.
• Synchronized operation flow of when the CPU module is in the RUN state
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 FUNCTIONS
130
1.18 Inter-Module Synchronization Function
Inter-module
synchronization cycle
STOP
(1)
Stopped
0
0
(4)
(5)
Inter-module synchronization target
(synchronization stopped) (1)
Inter-module
synchronization cycle
Previous A/D
A/D conversion value
conversion value
Previous A/D
A/D conversion value
conversion value
Synchronous
interrupt program
Inter-module synchronization target (synchronization in process) (2)
RUN
Synchronized
A/D conversion enable (0)
(2)
A/D conversion value
A/D conversion value
A/D conversion value
A/D conversion value
(3)
Synchronous
Synchronous
interrupt program
interrupt program
Inter-module synchronization target (synchronization in process) (2)
RUN
Synchronized
A/D conversion enable (0)
A/D conversion value
A/D conversion value
A/D conversion value
A/D conversion value
Synchronous
Synchronous
interrupt program
interrupt program
A/D conversion
value
A/D conversion
value
Synchronous
interrupt program
A/D conversion
value
A/D conversion
value
Synchronous
interrupt program

Advertisement

Table of Contents
loading

Table of Contents