751
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.5 FNC304 – FLCMD / FX3U-CF-ADP command
31
FNC277-FNC279
Data
Transfer 3
32
FNC280-FNC289
High-Speed
Processing 2
33
FNC290-FNC299
Extension File
Register Control
34
FNC300-FNC305
FX
3U
-CF-ADP
35
SFC•STL
Programming
36
Interrupt
Function
37
Special Device
38
Error Code
A
Version Up
Information
B
Execution Times
34.5 FNC304 – FLCMD / FX3U-CF-ADP command
Outline
The FLCMD instruction gives instruction for operation to the FX3U-CF-ADP.
→ For explanation of the instruction, refer to the CF-ADP Manual.
1. Instruction format
2. Set data
3. Applicable devices
S: Except special data register (D)
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
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
S
n
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