Mitsubishi Electric MELSEC iQ-R Series Manual page 12

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Functional description
• When i_bEN (execution command) is turned on, this FB stores the logging data stored in the file register in CSV format in
the SD memory card attached to the CPU module sequentially from the specified address of the file register (ZR) specified
in i_udDataAddr (start address of the storage location of logging data).
Ex.
The following shows an example of file register and CSV file content.
(1) i_udDataAddr (start address of the storage location of logging data): K10000
(2) i_uCHNum (number of channels): K2
(3) i_udSavePoints (number of save points): K10000
File register (ZR)
(1)
ZR10000
ZR10001
...
CH1
ZR19998
ZR19999
(2)
ZR20000
ZR20001
...
CH2 ...
ZR29998
ZR29999
• Logging data is stored in increments of 500 points. When K1300 is specified for i_udSavePoints (number of save points),
logging data of 500 points is stored in an SD memory card first. Sequentially, data from 501 points to 1000 points is stored
and data from 1001 points to 1300 points is stored.
• Store logging data of each channel sequentially into the file register. Store signed word logging data into the file register.
• For the format of CSV files that this FB creates, refer to CSV File Output Format. ( Page 16 CSV File Output Format)
2 FILE OPERATION FB
10
2.1 M+FileOperation_SaveLoggingCSV_W_R
Logging data 1
Logging data 2
...
(3)
Logging data 9999
Logging data 10000
Logging data 1
Logging data 2
(3)
Logging data 9999
Logging data 10000
[LOGGING]
2
INDEX
SHORT[DEC.0]
SHORT[DEC.0]
INDEX
CH1
CH
1
Logging data 1
Logging data 1
2
Logging data 2
Logging data 2
...
...
...
9999
Logging data 9999
Logging data 9999
10000
Logging data 10000
Logging data 10000
(2)
CSV file
3
4
TRRIGER[*]
Trriger
(3)

Advertisement

Table of Contents
loading

Table of Contents