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


 
8 CF-ADP Applied Instructions Explanation
8.6 FNC 303 - FLRD / Data read
68
FX3U-CF-ADP User's Manual
8.6 FNC 303 - FLRD / Data read
Outline
The FLRD instruction reads data from the CompactFlash
TM
card.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (FLRD)
The FLRD instruction reads corresponding number of data from the position determined by the line position
and column position in the file specified by the file ID, and stores the read data to a device specified in .
When reading data from a file in which only the same type of data exists in one line, refer to Subsection 8.6.2.
When reading data from a file in which different types of data exist in one line, refer to Subsection 8.6.3.
Operand Type Description Data Type
File ID (Refer to Subsection 8.6.1) 16-bit binary
Data read parameter (Refer to Subsection 8.6.1) 16-bit binary
Device which stores the read data (Refer to Subsection 8.6.1) -
Number of data points existing in the specified line (Refer to Subsection 8.6.1) 16-bit binary
n Used channel number [contents of setting : K1 = ch1, K2 = ch2] 16-bit binary
Operand
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E
""
P
n
FNC 303
FLRD
Mnemonic Operation Condition
16-bit Instruction
11 steps
FLRD
Mnemonic Operation Condition
Continuous
Operation
32-bit Instruction
S1
S2
D1
D
2
S1
S2
D1
D
2
D2D1
S1
S2
Command
input
FNC303
FLRD
n
Data read parameter
Used channel number
Number of data points existing in the specified
line
Device which stores the read data
File ID
D1