Mitsubishi MELSEC-Q Series Programming Manual page 720

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

SP_FWRITE
Caution
(1) Only the ATA card drive (2) can be set for
Note that when the Flash card is installed, the SP_FWRITE instruction cannot be used to
perform writing.
The SRAM card, standard RAM or standard ROM drive cannot be set.
(2) For CSV setting, the data written are decimal values.
(3) For binary write, the setting range of the file position with word specification is 00000000
7FFFFFFF
Function
(1) The specified number of data is written to the specified file.
Set the execution/completion type in the control data to specify whether to write binary data
without any conversion or to convert binary data to CSV format data before writing it.
(The writing target is the ATA card only.)
(2) The execution completion bit device
after the completion of the instruction is detected. The bit device is turned OFF at the END
processing in the next scan.
Use this bit device as the execution completion flag for the SP_FWRITE instruction.
When this instruction is completed abnormally, the error completion device
ON/OFF in synchronization with the processing complete
the error completion flag for this instruction.
SM721 is turned ON during the execution of the instruction.
This instruction cannot be executed while SM721 is ON. (If an attempt is made, no
processing is performed.)
When an error is detected at the execution of the instruction (before SM721 is turned ON),
the processing complete device
turned ON.
8.3 Writing Data to Specified File
8-12
Example
Character "A" (41
Handling range: -32768 to 32767
and FFFFFFFF
.
H
H
(drive specification).
s0
)
65 is written.
H
is automatically turned ON at the END processing
d1
[0], the error completion device
d1
[1] is turned
d1
[0] device. Use this device as
d1
[1], and SM721 are not
d1
to
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents