Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
34 Applied Instructions (FX3U-CF-ADP)
34.3 FLWR / Data write
782
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 16-bit operation (FLWR)
The FLWR instruction writes data specified by the device to a file stored in the CompactFlash
TM
card
specified by the file ID or to the buffer inside the CF-ADP. The FLWR instruction can overwrite data in the line
position specified by the device +1, and can write additional data (K-1). When the writing destination is
the buffer inside the CF-ADP, the FLWR instruction can only execute additional writing. When writing is
completed, the line position and column position after writing are as follows.
When data in 1 line is written additionally
- Line position after writing : Written line position + K1
- Column position after writing : K1
When a line having existing data is overwritten
- Line position after writing :
Written line position if data is not written to the final column position of the specified the line position
Line position next to the written line position if data is written to the final column position of the line
- Column position after writing:
Column position next to the final written data point K1 if data is written to the final data point in the line
"K1" if data is written to the final data point in the line
Both additional writing and overwriting are executed to the maximum number of lines specified during file
creation. If data is written up to the final column position, the line position after writing varies depending on the
file type and setting.
When the processing is stopped by the maximum line position in a normal file
Line position after writing = Maximum line position + K1
K-32768 when the maximum line position is "K32767"
In the case of a normal file in which processing returns to the head of the file from the end of the file (ring
buffer file)
Line position after writing = K1
In the case of FIFO file
Line position after writing = K1
In either case, the column position after writing is "K1".
FLWR
EN ENO
d
s1
s2
s3
n
Command input
File ID
Position after data writing
Head of devices which
store data to be written
Data write parameter
Used channel number