797
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.5 FNC 304 – FLCMD / FX3U-CF-ADP command
31
FN
C
275-
FN
C
279
Da
ta
Transf
er 3
32
FN
C
280-
FN
C
289
H
igh Speed
Pr
ocessing 2
33
FN
C
29
0-F
N
C
299
Ext
ens
ion Fi
le
R
egi
ster
34
FN
C
300-
FN
C
305
FX
3U
-C
F-A
D
P
35
SFC•S
TL
Pr
ogr
am
m
ing
36
In
ter
rupt
Functi
on
37
Special D
evice
38
E
rro
r C
ode
A
Ve
rs
ion U
p
In
fo
rm
atio
n
B
Execution T
im
es
34.5
FNC 304 – FLCMD / FX
3U
-CF-ADP command
Outline
The FLCMD instruction gives instruction for operation to the FX
3U
-CF-ADP.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (FLCMD)
The FLCMD instruction gives instruction for operation to the CF-ADP.
The contents of instruction are as follows.
• When
is "K-1", the FLCMD instruction forcibly writes all buffered data (stored in the buffer inside the
CF-ADP) to the CompactFlash
TM
card.
• When
is "K0" to "K63", the FLCMD instruction forcibly writes the buffered data of the specified file ID
(stored in the buffer inside the CF-ADP) to the CompactFlash
TM
card.
• When
is "K256 (H100)", the FLCMD instruction sets the CompactFlash
TM
card to the mounted status
if it is in the unmounted status.
• When
is "K512 (H200)", the FLCMD instruction sets the CompactFlash
TM
card to the unmounted
status if it is in the mounted status.
• When
is "K1280 (H500)", the FLCMD instruction clears error codes stored in the CF-ADP.
For details, refer to Subsection 34.5.1.
Operand Type
Description
Data Type
Instruction for operation (Refer to Subsection 34.5.1)
16-bit binary
n
Used channel number [contents of setting : K1 = ch1, K2 = ch2]
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modify K H
E
"
"
P
3 3
3
3 3
n
3 3
FNC 304
FLCMD
Mnemonic
Operation Condition
16-bit Instruction
5 steps
FLCMD
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
S
S
S
Command
input
FNC304
FLCMD
n
Used channel number
Instruction for operation
S
S
S
S
S