9 Program Examples
9.3 Program Example 2
91
FX3U-CF-ADP User's Manual
1
Introduction
2
Specification
3
System
Configuration
4
Installation
5
Wiring
6
Functions
7
Before
Programming
8
CF-ADP Applied
Instructions
Explanation
9
Program
Examples
10
Troubleshooting
9.3.4 Sequence Program
This program example describes the sequence program for channel 1 (ch1).
Rewrite the channel No. with the actual system configuration to be used.
→ For explanation of operations, refer to Subsection 9.3.1.
→ For an example of a mixed type file in "csv" format after writing, refer to Subsection 9.3.2.
→ For device assignments, refer to Subsection 9.3.3.
M5SET
M25RST
M4SET
X004
Remains ON while a mixed type
file is being created
Remains ON while a mixed type
file is being created
Command to
create a mixed
type file
D114D8418
D115D8417
FNC 12
MOV
The error code is stored.
Remains ON while a mixed type
file is being created
Remains ON while a mixed type
file is being created
Remains ON while a new mixed
type file is being created
The error code details are
stored.
M24RST
Turns ON when a mixed type file
is created successfully or already
exists
Remains ON while data is being
written to the mixed type file
Turns ON when data is written
successfully to the mixed type file
X005
M6SET
M26RST
Remains ON while data is being
read from the mixed type file
Turns ON when data is read
successfully from the mixed type
file
X006
M7SET
M27RST
Remains ON while the mixed
type file is being deleted
Turns ON when the mixed type
file is deleted successfully
X007
Command to write
data to the mixed
type file
Command to read
data from the mixed
type file
Command to
delete the mixed
type file
K1D180H100
FNC305
FLSTRD
M8405
CF card
is
mounted
M4 M8404
CF-ADP
unit ready
Remains ON
while a mixed
type file is
being created
File IDs existing in the
CompactFlash
TM
card are read.
FNC 12
MOV
M24SET
M62SET
M4RST
M4RST
M8029
M8329
D180.0
D180.0
To next pageTo next page
Execution
completion
Abnormal
end