Mitsubishi Electronics FX3G User Manual

Page of 964
751
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 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
-F
NC2
79
Da
ta
 
Trans
fer 3
32
FNC28
0-F
NC
289
H
igh-Speed 
Process
ing 2
33
FNC2
90-
FNC299
Ex
tensi
on Fi
le
 
Register C
ontrol
34
FN
C300-
FNC30
5
FX
3U
-C
F-
AD
P
35
SFC
•STL
Programming
36
Interrupt 
Function
37
Sp
ec
ia
l D
evi
ce
38
E
rror Code
A
Ve
rsi
on U
Inform
ati
on
B
Ex
ecuti
on
 T
imes
34.5
FNC304 – FLCMD / FX
3U
-CF-ADP command
Outline
The FLCMD instruction gives instruction for operation to the FX
3U
-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
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
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