Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
738
FX3G/
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.1 FNC 300 – FLCRT / File create
check
34.1.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.
Cautions
When the file ID is "K0"
1) The CF-ADP can create up to 1000 files (within the CompactFlash
TM
card capacity).
2) The file name is set to "FILE0000.CSV" to "FILE0999.CSV".
When the file ID is "K1" to "K63"
1) The user can create up to 63 files (within the CompactFlash
TM
card capacity).
2) The FLCRT instruction is completed abnormally if different file names are specified for the same file ID or if the
same file name is specified for different file IDs.
It is not permitted to use an RS (FNC 80)/RS2 (FNC 87)/IVCK (FNC270)/IVDR (FNC271)/IVRD (FNC272)/IVWR
(FNC273)/IVBWR (FNC274) instruction and an FLCRT (FNC300)/FLDEL (FNC301)/FLWR (FNC302)/FLRD
(FNC303)/FLCMD (FNC304)/FLSTRD (FNC305) instruction for the same port.
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
File creation parameter
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 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