Continuous Logging Function - 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

1.15

Continuous Logging Function

Simultaneous
Synchronization
conversion
This function simultaneously logs digital output values in four channels and continuously transfers logging data to the CPU
module without stopping logging. This function continuously collects the data to which the A/D conversion have been
performed simultaneously in four channels at a high speed (5s cycles at a maximum). Thus, when the module is connected
with a sensor that has input characteristics of the high-frequency band, this function can collect data for signal analysis.
Collecting logging data
Logging data is stored in CH1 Logging data area (Un\G10000 to Un\G19999). Each channel has buffer memory areas of
10000 points for storing logging data.
■Timing to store data in the buffer memory areas
Logging data is temporarily stored in the module, and when the number of temporarily-stored logging data reaches 5000
points, the data is stored into buffer memory areas. At this time, the buffer memory addresses for the first 5000 points (logging
data storage areas (A side)) of CH1 Logging data area (Un\G10000 to Un\G19999) are used. When the number of
temporarily-stored logging data reaches 5000 points again after logging data is stored in the logging data storage areas (A
side), the buffer memory addresses for the last 5000 points (logging data storage areas (B side)) of CH1 Logging data area
(Un\G10000 to Un\G19999) are used.
After that, logging data areas are overwritten with new data by 5000 points as follows.
Un\G10000
(1)
Un\G14999
(3)
Un\G15000
(2)
Un\G19999
(1) Logging data storage areas (A side)
(2) Logging data storage areas (B side)
(3) The A-side areas and B-side areas are alternately overwritten with new logging data by 5000 points.
■Notification of logging data storage
• After logging data is stored into the logging data storage areas (A side), the value in 'CH1 Continuous logging data A side
storage flag' (Un\G474) is changed from Logging data storage in A side not completed (0) to Logging data storage in A side
completed (1).
• After logging data is stored into the logging data storage areas (B side), the value in 'CH1 Continuous logging data B side
storage flag' (Un\G475) is changed from Logging data storage in B side not completed (0) to Logging data storage in B side
completed (1).
■Transfer of logging data
Old logging data are overwritten when data more than 10000 points are stored. The data can be transferred into file registers
(ZR) of the CPU module with function blocks (FBs). ( Page 98 Stopping continuous logging)
5000
points
5000
points
1 FUNCTIONS
1.15 Continuous Logging Function
1
95

Advertisement

Table of Contents
loading

Table of Contents