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


 
9 Program Examples
9.2 Program Example 1
87
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
The buffered data forcible writing
execution counter is set to "0".
M8002
Initial pulse
D28K0
FNC 12
MOV
M20
Buffered data forcible writing
execution counter.
M21
Turns ON when the 32-bit
decimal type file is created
successfully or already exists
D28
FNC 24
INC
M28RST
The buffered data is forcibly
written.
FNC304
FLCMD
The buffered data forcible
writing execution counter is
reset.
D108D8418
D109D8417
FNC 12
MOV
The error code is stored.
The buffered data forcible
writing execution counter is
reset.
Turns ON when forcible writing
of buffered data to the CF card
is completed successfully.
The error code details are
stored.
FNC 12
MOV
M28SET
D28RST
D28RST
M8029
M8329
M8405
CF card
is
mounted
M8404
CF-ADP
unit ready
K1K1
D28
FNC 230
LD=
K10
From previous pageFrom previous page
To next pageTo next page
Specify the line position from
which data is read. (Final line)
D42K1
D43K10
FNC 12
MOV
Column position from which
data is read.
Data reading.
Number of read data points.
M8405
CF card
is
mounted
M2 M8404
CF-ADP
unit ready
Remains ON
while data is
being read
from the 32-
bit decimal
type file
Specify the data reading type.
FNC 12
MOV
D41K1
FNC303
FLRD
K1
Remains ON while data is being
read from the 32-bit decimal
type file.
D110D8418
D111D8417
FNC 12
MOV
The error code is stored.
Remains ON while data is being
read from the 32-bit decimal
type file.
Turns ON when data is read
successfully from the 32-bit
decimal type file.
The error code details are
stored.
FNC 12
MOV
M22SET
M2RST
M2RST
M8029
M8329
D40K3
FNC 12
MOV
D40 D430 D50 K1
Data is written to the buffer 10 times, and then forcibly written to the CompactFlash
TM
card.
32-bit decimal data is read.
Turns ON when data
is written successfully
to the 32-bit decimal
type file
Turns ON when forcible writing o
f
buffered data to the CF card is
completed successfully.
FNC 21
SUB
D30
Execution
completion
Abnormal
end
Execution
completion
Abnormal
end