Saving To A Csv File - 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

Saving to a CSV file

The logging data stored in the buffer memory areas can be saved to a CSV file by using function blocks (FBs). The save data
is sorted in a time series, where the logging data can be easily checked.
However, function blocks (FBs) can be executed only when the logging operation is stopped. During the logging operation, the
execution of function blocks (FBs) is disabled.
Saving a CSV file
To save a CSV file, an SD memory card is required.
CSV files are saved in an SD memory card installed in the CPU module. CSV files cannot be saved in the built-in memory of
the CPU module.
Saving procedure
1.
Check that ON (1) is stored in 'CH1 Logging hold flag' (Un\G409).
2.
Execute the function block (FB).
If the execution state of the function block (FB) is maintained, logging data can be saved in the CSV file every
time logging stops.
Data to be saved in a CSV file
The logging data stored in the buffer memory areas is saved.
For how to check the logging data, refer to the following.
Page 78 Checking data when a hold trigger has occurred
CSV file name
CSV files where data was saved with the function block (FB) are named as follows.
• AD.CSV
: First two digits of the start I/O number of the A/D converter module (when the number is displayed in four digits in hexadecimal)
: Target channel
: Consecutive number
*1 The maximum number of the consecutive numbers can be set with the input label i_Max_Number (maximum number of saving files) of
the function block (FB).
Ex.
The file name under the following condition is AD453006.CSV.
• Start I/O number of the A/D converter module: 0450H
• Target channel: 3
• Saving to a CSV file: 6th time.
1 FUNCTIONS
94
1.14 Normal Logging Function
*1

Advertisement

Table of Contents
loading

Table of Contents