Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
34 Applied Instructions (FX3U-CF-ADP)
34.6 FLSTRD / FX3U-CF-ADP status read
790
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Detailed explanation of setting data
Details of the setting data in the FLSTRD instruction are as shown below.
When is "K0" to "K63"
The FLSTRD instruction reads the final line position and final column position of each file.
When is "K256 (H100)"
The FLSTRD instruction reads file IDs stored in the CompactFlash
TM
card. For a file ID corresponding to
the read data, refer to the file ID correspondence table shown below.
When a file exists, a bit corresponding to the file ID turns ON.
File ID correspondence table
When is "K512 (H200)"
The FLSTRD instruction reads the data capacity, used space and free space of the CompactFlash
TM
card
to the following devices respectively.
When is "K768 (H300)"
The FLSTRD instruction reads the version information of the CF-ADP.
Setting items Description Data Type
Contents of status to be read
K0 to K63 : Final line position of each file
K256(H100) : File IDs stored in the CompactFlash
TM
card
K512(H200) : Capacity of the CompactFlash
TM
card
K768(H300) : Version of the CF-ADP
K1024(H400) : Error information (error flag)
K1280(H500) : Error codes
ANY16
Channel number used by the CF-ADP
K1 : ch1
K2 : ch2
ANY16
Head device to which the read status is written
The number of data points stored in varies depending on the contents of the read
status.
ANY16
Setting items Description
Final line position
K1 to the specified maximum line position
+1
Final column position
Setting items Description
Stores the existence of file IDs.
+1
+2
+3
Setting
items
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
1514131211109876543210
+1
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
+2
47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
+3
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
Setting items Description
+1,
Data capacity of the CompactFlash
TM
card
(kB) Units, If the data capacity is less than 1 kB, "1" is stored.
+3, +2
Used space of the CompactFlash
TM
card
(kB) Units, If the data size is less than 1 kB, "1" is stored.
+5, +4
Free space of the CompactFlash
TM
card
(kB) Units, If the data size is less than 1 kB, "1" is stored.
Setting items Description
Stores the version of CF-ADP.
(Example) K100 = Ver.1.00