Mitsubishi Electric MELSEC iQ-R User Manual page 111

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

Advertisement

Operation
The following shows the operation of the continuous logging function of when the inter-module synchronization function is
used. The operation described in this section is the one of when oversampling is enabled.
■Starting continuous logging
A continuous logging start request is sent at every inter-module synchronization cycle. Thus, when the value in 'Continuous
logging start/stop request' (Un\G100) is changed in the inter-module synchronous interrupt program, the continuous logging is
started or stopped at the timing of the next inter-module synchronization cycle. To check whether the module is executing
continuous logging or not, check that 'Continuous logging status monitor' (Un\G61) is set to Continuous logging in process (2).
digit
'CH1 Synchronization digital
output value' (Un\G9500)
'Continuous logging start/stop
request' (Un\G100)
'Continuous logging status
monitor' (Un\G61)
Logging timing
Continuous logging data storage
'CH1 Number of logging data'
(Un\G440, Un\G441)
digit: Digital output value
t: Time
T
: Conversion cycle
1
T
: Inter-module synchronization cycle
2
Ld: Number of data that were logged within the inter-module synchronization cycle
●: Timing of A/D conversion
■Operation of continuous logging in process
Once continuous logging is started, in the channel where A/D conversion is enabled, A/D conversion values are logged at
every conversion cycle of the oversampling mode. The logged values are not immediately reflected into the buffer memory,
but stored in the buffer memory in the next inter-module synchronization cycle. The latest A/D conversion value, which was
converted in the inter-module synchronization cycle, is stored in 'CH1 Synchronization digital output value' (Un\G9500)
regardless of whether continuous logging has stopped or is in process.
In addition, the values of 'CH1 Continuous logging data A side storage flag' (Un\G474) and 'CH1 Continuous logging data B
side storage flag' (Un\G475) are changed from 0 to 1 every time data of 5000 points are stored in the buffer memory in the
same way as the continuous logging executed when the inter-module synchronization processing is asynchronous.
When the status of the CPU module is changed from RUN to STOP while continuous logging is in progress in
the inter-module synchronization processing, the inter-module synchronization stops and continuous logging
also automatically stops. After that, if the status of the CPU module is changed from STOP to RUN, the A/D
conversion is restarted but continuous logging is not restarted. To execute continuous logging again, change
the value of 'Continuous logging start/stop request' (Un\G100) from Stop (0) to Start (1).
Synchronous conversion value
Synchronous conversion value
Stop (0)
Continuous logging start request waiting (1)
T
T
2
2
T
T
T
T
1
1
1
1
Synchronous conversion value
Start (1)
Continuous logging in process (2)
0
1.15 Continuous Logging Function
T
T
T
T
T
1
1
1
1
1
Synchronous conversion value
Storing
Ld
1 FUNCTIONS
1
t
109

Advertisement

Table of Contents
loading

Table of Contents