Справочник Пользователя для Mitsubishi Electronics FX3U-CF-ADP

Скачать
Страница из 124
8 CF-ADP Applied Instructions Explanation
8.8 FNC 305 - FLSTRD / FX3U-CF-ADP status read
77
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
 
Configurati
o
n
4
Ins
tal
lation
5
Wi
rin
g
6
Functi
o
n
s
7
Bef
o
re
 
Programm
ing
8
C
F
-AD
P
 Appl
ied 
Ins
tructi
ons
 
Explanati
o
n
9
Program 
Examples
10
T
roubl
esho
oti
n
g
8.8.1
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.
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
16-bit binary
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.
16-bit binary
n
Channel number used by the CF-ADP
K1 : ch1
K2 : ch2
16-bit binary
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
+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.
  S
  D
  D
  S
  D
  D
  S
  D
  D
  D
  D
  D
  D
  D
  D
  S
  D
  D
  D
  D
  D
  D