Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
34 Applied Instructions (FX3U-CF-ADP)
34.4 FLRD / Data read
785
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction List
34.4 FLRD / Data read
Outline
The FLRD instruction reads data from the CompactFlash
TM
card.
As for explanation of the instruction, see the FX
3U-CF-ADP User's Manual.
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
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 FX
3U-CF-ADP
User's Manual.
When reading data from a file in which different types of data exist in one line, refer to FX
3U-CF-ADP User's
Manual.
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD ST
FLRD 16 bits Continuous FLRD(EN,s1,s2,n,d1,d2);
Variable Description Data type
Input
variable
EN Execution condition Bit
File ID (Refer to Detailed explanation of setting data) ANY16
Data read parameter (Refer to Detailed explanation of setting data) ARRAY [0..3] OF ANY16
Used channel number [contents of setting : K1 = ch1, K2 = ch2] ANY16
Output
variable
ENO Execution state Bit
Device which stores the read data (Refer to Detailed explanation of setting
data)
ANY_SIMPLE
Number of data points existing in the specified line ANY16
Operand
type
Bit Devices Word Devices Others
System user Digit specification
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D
.b
KnX KnY KnM KnS T C D R
U\G
VZModifierKH E
"
"
P
zz z zz
zz z
zz
zz z zz z
zz z
FLRD
EN ENO
s1
s2
n
d1
d2
FLRD
EN
File ID
Data read parameter
Device which stores the read data
Number of data points existing in the specified line
Used channel number
ENO
d1
d2
s1
s2
n
Command input