Write To File (Command: 1203) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Write to file (command: 1203)

The following example shows the control procedure for writing the data of the file that has been read from the QnACPU and
stored in an external device to the specified file ('batch write'), and the control procedure for writing n-bytes of arbitrary one-
word data to the specified file ('identical data write (FILL)').
The maximum number of data bytes to be read per one time is static.
• For batch writing, all the data read from QnACPU and stored to an external device must be written to the
specified file with adjusting the offset address and number of bytes written and divide them for several
times.
• For writing identical data, adjust the offset address and number of bytes written, and divide them and write
arbitrary 1 word data within the range of specified file for several times. Note that, if the data size to be
written remains 1 byte, the numerical value of upper bytes of 1 word data (bit 8 to 15) is not written since the
data write is performed in byte units.
Message format
■Request data
ASCII
Subcommand
Offset address
Number of bytes written
Binary
Setting
Subcommand
Keyword
flag
Offset
Write
Number of
bytes written
address
data
■Response data
There is no response data for this command.
An error occurs If one of the following files is specified while the QnACPU is in RUN, and error end code will
be returned.
• Parameter file
• Currently executing file in the built-in RAM (drive name: 00H)
Keyword
Setting flag
Drive name
Write data
Drive name File No. File name
Extension Attribute
File No.
File name
Extension Attribute
15 QnACPU DEDICATED COMMANDS
15
325
15.3 File Control

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents