Mitsubishi Electronics FX3GC Manual Do Utilizador
753
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.6 FNC305 – FLSTRD / FX3U-CF-ADP status read
31
FNC277
-F
NC2
79
79
Da
ta
Trans
fer 3
fer 3
32
FNC28
0-F
NC
289
289
H
igh-Speed
Process
ing 2
33
FNC2
90-
FNC299
FNC299
Ex
tensi
on Fi
le
le
Register C
ontrol
34
FN
C300-
FNC30
5
FX
3U
-C
F-
AD
P
35
SFC
•STL
Programming
36
Interrupt
Function
37
Sp
ec
ia
l D
evi
ce
38
E
rror Code
A
Ve
rsi
on U
p
Inform
ati
on
B
Ex
ecuti
on
T
imes
34.6
FNC305 – FLSTRD / FX
3U
-CF-ADP status read
Outline
The FLSTRD instruction reads the status (including the error information and file information) of the FX
3U
-CF-ADP.
1. Instruction format
2. Set data
3. Applicable devices
S: Except special data register (D)
Explanation of function and operation
1. 16-bit operation (FLSTRD)
The FLSTRD instruction reads the status information of the CF-ADP. The following contents can be read.
The number of data stored in
The number of data stored in
varies depending on the contents of the read status.
• 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.
• When
is "K512 (H200)" the FLSTRD instruction reads the data capacity.
• When
is "K768 (H300)" the FLSTRD instruction reads the version information of the CF-ADP.
• When
is "K1024 (H400)" the FLSTRD instruction reads the error information (error flag) for errors having
occurred in the CF-ADP.
• When
is "K1280 (H500)" the FLSTRD instruction reads error codes and error code details. Up to 5 of the
latest error codes and error code details can be stored.
For details, refer to Subsection 34.6.1.
Operand Type
Description
Data Type
Contents of status to be read (Refer to Subsection 34.6.1)
16-bit binary
Head device to which the read status is written (Refer to Subsection 34.6.1)
16-bit binary
n
Used channel number [contents of setting : K1 = ch1, K2 = ch2]
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
S
S
n
FNC 305
FLSTRD
Mnemonic
Operation Condition
16-bit Instruction
7 steps
FLSTRD
Mnemonic
Operation Condition
Continuous
Operation
Operation
32-bit Instruction
S
D
S
D
S
D
Command
input
FNC305
FLSTRD
n
Used channel number
Head device to which the read status is written
Contents of status to be read
D
S
S
S
S
S
S