Mitsubishi Electronics FX3U-CF-ADP Video Gaming Accessories User Manual


 
8 CF-ADP Applied Instructions Explanation
8.8 FNC 305 - FLSTRD / FX3U-CF-ADP status read
79
FX3U-CF-ADP User's Manual
1
Introduction
2
Specification
3
System
Configuration
4
Installation
5
Wiring
6
Functions
7
Before
Programming
8
CF-ADP Applied
Instructions
Explanation
9
Program
Examples
10
Troubleshooting
2) Program Example 2
When X000 turns ON, the FLSTRD instruction checks whether or not a file whose ID is "1" exists. M100
turns ON when a file whose ID is "1" exists.
Channel number 1 is used.
3) Program Example 3
When X000 turns ON, the FLSTRD instruction reads the capacity of the CompactFlash
TM
card. D101 and
D100 store the data capacity of the CompactFlash
TM
card, D103 and D102 store the used space of the
CompactFlash
TM
card, and D105 and D104 store the free space of the CompactFlash
TM
card.
Channel number 1 is used.
X000
M0SET
M0
FNC305
FLSTRD
D0 K1H100
M100SET
M200SET
M8029
D0.1
D0.1
Execution
completion
M8329
Abnormal end
M0RST
M0RST
X000
M0SET
M0
FNC305
FLSTRD
D0 K1H200
M8029
D100D0
D102D2
FNC 12
DMOV
FNC 12
DMOV
D104D4
FNC 12
DMOV
Execution
completion
M8329
Abnormal end
M0RST
M0RST