Csv File Output Format; Csv Format Specifications; Output Details Of Lines And Columns - Mitsubishi Electric MELSEC-L Series User Manual

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

Advertisement

3.3

CSV File Output Format

This section describes the CSV format specifications and lines and columns output.
3.3.1

CSV format specifications

The CSV file format is specified as shown below.
Item
Delimiter
Line feed code
Character code
Field data
*1
When "Output device comments for data column" is selected in "CSV output" of the data logging setting, if a double
quotation mark (" or ") or comma (,) is included in a device comment, the data must be as follows:
ÅEThe entire data must be enclosed with double quotation marks (" ").
ÅEEmbedded double quotation marks (" ") must be doubled.
3.3.2

Output details of lines and columns

An example of the lines and columns output is shown below.
File information line
Comment line
Data type information line
Data name line
Data line
Comma (,)
CRLF (0x0D, 0x0A)
ASCII or Shift JIS
(" ")
Double quotation marks
File type
File version
[ LOGGING ]
L1
LOGGING TEST
DATETIME [ YYYY/MM/DD hh.mm.ss.s ]
INTERVAL
TIME
INTERVAL [ s]
2010/1/10 14:25:34
2010/1/10 14:25:34
60000000
2010/1/10 14:25:34
60000000
2010/1/10 14:25:34
60000000
2010/1/10 14:25:34
60000000
2010/1/10 14:25:34
60000000
2010/1/10 14:25:34
60000000
2010/1/10 14:25:34
60000000
Date column
Data sampling
interval column
Description
and commas (,) must not be included in each of data.
Data type information line number
Data name line number
Data start line number
Comment line number
3
4
5
2
BIT [ 1;0 ]
LONG [ DEC.0 ]
STEP NO.
PROGRAM NAME
INDEX
STEP NO.
PROGRAM NAME
INDEX
M0
D100
1
0
10
MAIN
1
0
2
MAIN1
2
0
15
MAIN1
3
0
100
MAIN2
4
100
MAIN2
5
0
12345678
1
MAIN
6
0
12345678
0
12345679
0
MAIN
7
0
12345680
0
MAIN
8
Data column
Index column
Execution program name column
Execution step No. column
CHAPTER 3 SPECIFICATIONS
*1
USHORT [ HEX ]
TRIGGER [ * ]
Trigger
W30
1234
FFFF
1234
1
0
FFFF
0
1
FFFF
1
*
FFFF
1
Trigger
information
column
33
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l02cpuMelsec-l26cpu-bt

Table of Contents