U11
H 0002
H 0000
DT100
DT101
DT102
...Writing format
...Writing mode
...Option (*)
(*) Option
・Invalid for 16-bit BIN format
File pointer
Writing file "data1.bin"
U1
U12
U123
DT0
DT1
DT2
U1234
U12345
U5
DT3
DT4
DT5
U56
U567
U5678
U56789
DT6
DT7
DT8
DT9
H 00000004
DT103
DT104
U0
DT105
DT106
...Writing position
...Amount of writing data
H 0000000E
U5
DT103
DT104
DT105
DT106
[S]...DT2
[n]...5
[D1]..."¥abc¥data1.bin" [D2]...DT100
...Writing position
...Amount of writing data
111122227 B00D2043930050038008888
...Head of device
to be read
■
Precautions for programming
● Also refer to section "19.9 Common Precautions for SD Memory Card Access Instructions".
● The SD memory card access instruction active flag (SR3A) turns ON after the execution
condition has turned ON until the completion of the execution of the instruction. During this
time other SD memory card access instructions cannot be executed.
● In the case of the saving format 10 (ASCII string), character strings written from D2 are
enclosed in double quotation marks and output.
● A double quotation mark (") in character strings is converted to two double quotation marks
("").
● When the set file attribute is read only, any data cannot be written.
■
Flag operations
Name Description
SR3A (SD memory card access
instruction execution in progress)
Turns ON when instruction execution starts. Turns OFF when
instruction execution is complete.
SR3B (SD memory card access
instruction execution complete)
Turns OFF when instruction execution starts. Turns ON when
instruction execution is complete.
SR3C (SD memory card access
instruction execution result)
Indicates the execution results when instruction execution is
complete. Normal end = 0, abnormal end = 1
SR7, SR8 (ER)
To be set in case of out-of-range values in indirect access (index
modification).
Set when a value outside the range is specified for the parameter.
To be set when an out-of-range value is specified in the reserved area
for system.
18.3 CWT (File Data Write Instruction)
18-18 WUME-FP7CPUPGR-12