Fnc 300 - Flcrt / File Create•Check - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
34.1
FNC 300 – FLCRT / File create•check
Outline
The FLCRT instruction creates a file inside the CompactFlash
after creation of a new file, the FLCRT instruction checks the association with the file ID, and evaluates it.
1. Instruction format
FNC 300
FLCRT
2. Set data
Operand Type
S
1
S
2
S
3
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
1
S
2
S
3
n
: Except special data register(D)
Explanation of function and operation
1. 16-bit operation (FLCRT)
Command
input
FNC300
FLCRT
• When the file ID is "K0"
When
is "K0", the FLCRT instruction creates a FIFO file.
S
1
When the PLC creates two or more files for FIFO file, and executes FIFO (first in, first out) in units of files.
The PLC keeps the latest file, and deletes older files so that the total capacity of FIFO files and other files does not
exceed the specified capacity.
• When the file ID is "K1" to "K63"
When
is "K1" to "K63", the FLCRT instruction creates a file having the specified file name.
S
1
Sequence programs use the file ID for specifying a file. Accordingly, each file name saved in the CompactFlash
card is associated with the file ID, and controlled by the file ID table.
If a file having the specified file name already exists and is registered in the file ID table, the PLC finishes the
FLCRT instruction without executing any processing.
If a file having the specified name already exists but is not registered in the file ID table, the PLC only registers the
existing file to the file ID table.
Mnemonic
16-bit Instruction
FLCRT
9 steps
File ID (Refer to Subsection 34.1.1)
File name (Refer to Subsection 34.1.1)
File creation parameter (Refer to Subsection 34.1.1)
Used channel number [contents of setting : K1 = ch1, K2 = ch2]
Digit Specification
S
S
S
1
3
2
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.1 FNC 300 – FLCRT / File create
TM
card mounted in the FX
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
V
Z Modify K
n
Used channel number
File creation parameter
File name
File ID
-CF-ADP. When executed
3U
Mnemonic
Operation Condition
Data Type
16-bit binary
Character string
16-bit binary
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
H
E
" "
check
31
32
33
34
35
Pointer
P
36
37
38
A
TM
B
741

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents