748
FX3G/
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.6 FNC 305 – FLSTRD / FX3U-CF-ADP status read
34.6 FNC 305 – FLSTRD / FX3U-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
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 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
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
33 3 33
33 3
n 33
FNC 305
FLSTRD
Mnemonic Operation Condition
16-bit Instruction
7 steps
FLSTRD
Mnemonic Operation Condition
Continuous
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