8 CF-ADP Applied Instructions Explanation
8.8 FNC 305 - FLSTRD / FX3U-CF-ADP status read
78
FX
3U
-CF-ADP User's Manual
• 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).
• When
is "K1280 (H500)"
The FLSTRD instruction reads the error code and error code details for errors having occurred in the CF-
ADP. Up to 5 of the latest error codes and error code details can be stored.
Program Example
1) Program Example 1
When X000 turns ON, the FLSTRD instruction reads the status information. D100 stores the final line
position of a file whose ID is "1", and D101 stores the final digit position.
Channel number 1 is used.
Setting items
Description
Stores the version of CF-ADP.
(Example) K100 = Ver.1.00
Setting items
Description
Error detection signal
b0 : The CompactFlash
TM
card is not mounted.
b1 : The CompactFlash
TM
card is full.
b2 : An error has occurred in the CF-ADP.
b3 : CF-ADP H/W error
b4 : CompactFlash
TM
card error
b5 to b15 : Not used
Setting items
Description
Error code 1
+1
Error code details 1
+2
Error code 2
+3
Error code details 2
+4
Error code 3
+5
Error code details 3
+6
Error code 4
+7
Error code details 4
+8
Error code 5
+9
Error code details 5
S
D
S
D
S
D
D
D
D
D
D
D
D
D
D
X000
M0
SET
M0
FNC305
FLSTRD
D0
K1
K1
M8029
D100
D0
D101
D1
FNC 12
MOV
FNC 12
MOV
Execution
completion
M8329
Abnormal end
M0
RST
M0
RST