Справочник Пользователя для Mitsubishi Electronics FX3U-CF-ADP

Скачать
Страница из 124
7 Before Programming
7.1 File format available in the CF-ADP
36
FX
3U
-CF-ADP User's Manual
Contents of files in the "csv" format
7.1.2
Files created by the user
The contents of files created by the user should be same as files created by the CF-ADP (refer to Subsection
7.1.1).
For characters available in files, refer to Subsection 7.1.3.
For cautions on file creation, refer to the following description.
Caution
• Cautions on creating the 1st column
- Enter the line number in decimal number (1 to 32767 in 6 digits or less).
- Enter the line number consecutively in ascending order.
- Use a line number only once.
- Do not use "+ (plus)" in the line number.
• Cautions on creating the 2nd column (Year/Month/Day Hour:Minute:Seconds).
- Enter the date and time in the specified configuration.
Enter "Index, data, •••, CF+LF" so that the 2nd column area is secured.
• Enter data in the 3rd column and so on. Up to 254 data points can be entered.
• Make sure to separate data with comma (,).
• Use "CR+LF" as the line feed code.
• Cautions on reading data from and writing data to files created by the user
- Associate the file name with the file ID using the FLCRT instruction.
- Files created by the user cannot be overwritten.
• Cautions on reading data from files created by the user
When reading data from a file using the FLRD instruction, match the data type for each saved data point. 
Specify the same data type.
If the data types do not agree, data cannot be read normally.
No.
Contents of data
Description
Remark
(1)
Index,DATE TIME,
When the file name is added, the Index, date and time are
added automatically.
-
(2)
Data name
Character string consisting of up to 32 half-width/full-width
characters
Refer to Subsection 7.1.3.
(3)
Index
6 digits(*****1 to *32767)
Numeric values should be consecutive, and in ascending
order.
Decimal number
" (space)" and "+ (plus)" are used by the
system.
Index values in one file should be different
from each other.
(4)
,
Comma : 1 character
-
(5)
year/Month/Day 
Hour:Minute:Seconds
None : Null
yyyy/mm/dd hh:mm:ss : 19 characters
yy/mm/dd hh:mm:ss : 17 characters
dd/mm/yyyy hh:mm:ss : 19 characters
dd/mm/yy hh:mm:ss : 17 characters
mm/dd/yyyy hh:mm:ss : 19 characters
mm/dd/yy hh:mm:ss : 17 characters
hh:mm:ss : 8 characters
The date and time are updated when data
is additionally written or overwritten if the
time stamp is set.
(6)
,
Comma : 1 character
-
(7)
data
Bit : 1 character
Decimal 16-bit : 6 characters
Decimal 32-bit : 11 characters
Hexadecimal 16-bit : 4 characters
Hexadecimal 32-bit : 8 characters
Real numbers(Floating point data)
Exponent type :  #.#######E ## : 14 characters
Character string : Varies depending on the character size.
(512 half-width/full-width characters maximum)
The maximum data size is 16 kB for each
Index.
(One character string should be within 1
kB (512 full-width characters).)
(8)
CR+LF
Return code at line end
Line feed