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


 
8 CF-ADP Applied Instructions Explanation
8.5 FNC 302 - FLWR / Data write
55
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 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 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 value 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".
S2
S
3