8 CF-ADP Applied Instructions Explanation
8.1 CF-ADP Instructions types
46
FX3U-CF-ADP User's Manual
8. CF-ADP Applied Instructions Explanation
This chapter explains applied instructions for the CF-ADP.
8.1 CF-ADP Instructions types
The PLC and the CF-ADP transfer data to each other using applied instructions for the CF-ADP.
Six applied instructions are provided for purpose including file creation, data writing and data reading.
List of applied instructions for the CF-ADP
8.2 Common Items in CF-ADP Instructions
8.2.1 Function and operation
1. Processing start timing
When the command input turns from OFF to ON, the PLC starts processing for the CF-ADP.
If the command input turns OFF during processing for the CF-ADP, execution of the instruction is cancelled
and the instruction is terminated abnormally.
If the command input remains ON, the PLC executes processing repeatedly.
2. Cautions on programming
For processing for the CF-ADP, keep ON the command input for an applied instruction for the CF-ADP ON
until processing has been completed.
Make such a program that the command input is set to OFF using the instruction executing complete flag
(M8029) after all processing for the CF-ADP are finished.
Program Example
3. Instruction execution complete flag (M8029)
When processing for the CF-ADP has been completed normally, the instruction execute complete flag
(M8029) turns ON, and remains ON for one scan.
FNC No. instruction Description Control direction Detailed
explanation
300 FLCRT File create / check PLC CF-ADP Section 8.3
301 FLDEL File delete / CF card format PLC CF-ADP Section 8.4
302 FLWR Data write PLC CF-ADP Section 8.5
303 F LRD Data read PLC CF-ADP Section 8.6
304 FLCMD FX3U-CF-ADP command PLC CF-ADP Section 8.7
305 FLSTRD FX3U-CF-ADP stat us read PLC CF-ADP Section 8.8
X001 SET M0 Command is latched
RST M0
M8029
Instruction execution
complete
** **
FNC 305
FLSTRD **
M0 Processing is executed
Command is reset
Command
input
RST M0
M8329
Instruction execution
abnormal end
Command is reset