637
SP.FWRITE
1
2
3
4
4
6
7
8
7.18
Ot
her inst
ructions
7.18.1
2
SP.FWRIT
E
(2) When X10 is turned ON, the following program creates a file named "ABCD.CSV" in the memory card inserted to drive 2,
and writes four bytes of data (00
H
, 01
H
, 02
H
, and 03
H
) as two-column table data in CSV format.
• Assume that 8 points from are reserved for the control data devices.
[Ladder Mode]
[List Mode]
• The written file is displayed as follows:
D0
Sets
the
number
of
request
w
r
i
te
data
N
orma
l
comp
l
et
i
on
d
i
sp
l
ay
Sets
the
execut
i
on
/
comp
l
et
i
on
type
Sets
the
des
i
gnat
i
on
of
the
number
of
co
l
umns
Sets
the
f
il
e
name
Sets
the
data
type
spec
i
f
i
ed
E
rror
comp
l
et
i
on
d
i
sp
l
ay
Sets
the
data
to
be
w
r
i
tten
.
Step
I
nstruct
i
on
De
vi
ce
Contents
of
the
f
il
e
to
be
w
r
i
tten
0
0
0
0
0
, CR
LF
1
2
3
,
,
,
,
,
,
,
CR
CR
CR
LF
LF
LF
Data
to
be
read
to
the
E
XC
EL
f
il
e