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

Скачать
Страница из 124
8 CF-ADP Applied Instructions Explanation
8.3 FNC 300 - FLCRT / File create•check
49
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
 
Configurati
o
n
4
Ins
tal
lation
5
Wi
rin
g
6
Functi
o
n
s
7
Bef
o
re
 
Programm
ing
8
C
F
-AD
P
 Appl
ied 
Ins
tructi
ons
 
Explanati
o
n
9
Program 
Examples
10
T
roubl
esho
oti
n
g
8.3.1
Detailed explanation of setting data
Details of the setting data in the FLCRT instruction are as shown below.
*1.
Adjust the maximum number of lines to specify the file size available in the used application software
used.
For the file size calculation formula, refer to Subsection 7.1.4.
Setting items
Description
Data Type
File ID
This ID number is associated with the file name.
The FLCRT instruction creates a file, and associates the file name with the file ID at
the same time. The user should use the file ID for specifying a file after that.
Allowable setting range : K0 to K63  ("K0" indicates "FIFO file".)
16-bit binary
File name
When 
 is "K0 (FIFO file)"
Not used (ignored)
Use an unused device. (D or R)
When 
 is "K1" to "K63"
Specify the file name in up to 8 characters until "null" or "null + null".
Half-width alphanumeric characters and half-width symbols permitted in the MS-DOS
are available.
Half-width symbols : !, #, $, %, &, ', (, ), +, -, @, ^, _, ', [, ], ~
The extension is fixed to "CSV"
Character string
F
ile
 c
re
a
tio
pa
ra
met
e
r
Time stamp setting
Set whether or not the time stamp is added to the file. Specify the format when adding
the time stamp.
K0 : None (NULL)
K1 : yyyy/mm/dd hh:mm:ss
K2 : yy/mm/dd hh:mm:ss
K3 : dd/mm/yyyy hh:mm:ss
K4 : dd/mm/yy hh:mm:ss
K5 : mm/dd/yyyy hh:mm:ss
K6 : mm/dd/yy hh:mm:ss
K7 : hh:mm:ss
16-bit binary
+1
Data type
Set the data type to be saved.
K0 : No data type specification (mixed type)
K1 : Bit type
K2 : Decimal type (16-bit)
K3 : Decimal type (32-bit)
K4 : Hexadecimal type (16-bit)
K5 : Hexadecimal type (32-bit)
K6 : Real numbers(Floating point data) Exponent expression type
K7 : Character string
16-bit binary
+2
Maximum number of lines
Set the maximum number of lines.
Allowable setting range : K1 to K32767
*1
16-bit binary
+3
When 
 is "K0"
Set the CompactFlash
TM
 card use ratio.
Specify the ratio (%) out of the whole CompactFlash
TM 
card capacity to be used.
Allowable setting range : 10 to 90 (%)
16-bit binary
When 
 is "K1" to "K63"
File processing to be executed when the specified maximum number of lines is
reached.
Set the file processing method to be executed when the number of lines reaches the
specified maximum value.
K0 : Stops execution. (The line position remains at the specified maximum line
position.)
K1 :  Returns to the head (ring buffer file).
16-bit binary
n
Channel number used by the CF-ADP
K1 : ch1
K2 : ch2
16-bit binary
  
S
1
  
S
2
  
S
1
  
S
1
  
S
3
  
S
3
  
S
3
  
S
3
  
S
1
  
S
1