Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3U-CF-ADP ユーザーズマニュアル

ページ / 124
8 CF-ADP Applied Instructions Explanation
8.7 FNC 304 - FLCMD / FX3U-CF-ADP command
75
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
 
Configurati
o
n
4
Ins
tal
lation
5
Wi
rin
g
6
Functi
o
n
s
7
Bef
o
re
 
Programm
ing
8
C
F
-AD
P
 Appl
ied 
Ins
tructi
ons
 
Explanati
o
n
9
Program 
Examples
10
T
roubl
esho
oti
n
g
8.7.1
Detailed explanation of setting data
Details of the setting data in the FLCMD instruction are as shown below.
*1.
The CompactFlash
TM
 card is available in the "mounted" status.
*2.
The CompactFlash
TM
 card is unavailable in the "unmounted" status.
Program Example
1) Program Example 1
When X000 turns ON, the data (saved in the file whose ID is "1") stored in the buffer inside the CF-ADP is
forcibly written to the CompactFlash
TM
 card.
Channel number 1 is used.
2) Program Example 2
When X000 turns ON, the CompactFlash
TM
 card is set to the mounted status.
Channel number 1 is used.
3) Program Example 3
When X000 turns ON, error codes stored in the CF-ADP are cleared.
Channel number 1 is used.
Setting items
Description
Data Type
Contents of instruction for operation
K-1 : Forcibly writes all buffered data to the CompactFlash
TM
 card.
K0 to K63 : Forcibly writes the buffered data of the specified file ID to the CompactFlash
TM
card.
K256(H100) : Sets the CompactFlash
TM
 card to the mounted status
*1
.
K512(H200) : Sets the CompactFlash
TM
 card to the unmounted status
*2
.
K1280(H500) : Clears error codes stored in the CF-ADP.
16-bit binary
n
Channel number used by the CF-ADP
K1 : ch1
K2 : ch2
16-bit binary
  S
X000
M0
SET
M0
FNC304
FLCMD
K1
K1
M8329
 Abnormal end
M0
RST
M8029
Execution completion
M0
RST
X000
M0
SET
M0
FNC304
FLCMD
H100
K1
M8329
 Abnormal end
M0
RST
M8029
Execution completion
M0
RST
X000
M0
SET
M0
FNC304
FLCMD
H500
K1
M8329
 Abnormal end
M0
RST
M8029
Execution
completion
M0
RST