18.8 CPR (ASCII Data Write to File)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF STR
i ●
■
List of operands
Operand Description
S
Character string data to be written or the starting address of the device area where the character
string is stored
D
Starting address of the device area that stores the path name (folder name + file name: maximum
256 characters) of the file in which string data is written and the number of characters of the path
name (data format: character data)
■
Devices that can be specified (indicated by ●)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S ● ● ● ● ● ● ● ●
D ● ● ● ● ● ● ● ●
(Note 1) Only 16-bit devices can be modified. (Character constants cannot be specified.)
■
Outline of operation
● Adds the character string specified by [S] to the end of the file named with the character
string specified by [D].
● When the file specified by [D] does not exist, create a new file.
■
[S] to [S+1]: Specification of character string data
● Parameters related to the character string data written into a file name in a SD memory card
Setting
device
Description
S Number of character strings to be written
18.8 CPR (ASCII Data Write to File)
18-38 WUME-FP7CPUPGR-12