Mitsubishi Electric MELSEC-Q/L Programming Manual page 782

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

Advertisement

Setting
Meaning
data
(D0)
Head number of the devices storing the control data. The following control data is required.
Device
(D0)
(D0)+1
(D0)+2
(D0)+3
(D0)+4
(D0)+5
(D0)+6
(D0)+7
(S1)
Head number of the devices storing a file name. A file name is expressed as follows:
Device
(S1) to
(S1)+
(S2)
Head number of the devices storing the data. Written data is expressed as follows:
Device
(S2)
(S2)+1 to
(S2)+
7 APPLICATION INSTRUCTIONS
780
7.19 Other Instructions
Item
Contents/setting data
Execution/
Designate the execution type.
completion
0000H: Write binary data
type
0100H: Write data after CSV format conversion
(Not used)
Used by system
Writing result
Contains the number of actually written data against
(No. of written
the data designated by (S2). The unit of the value
data)
depends on data type specified at (D0)+7.
(Not used)
File position
Set the file position when binary data writing is
specified by (D0).
00000000H: Starting at the beginning of the file
00000001H to FFFFFFFEH: From the designated
position (The unit for the value is determined by word/
byte unit designation.)
FFFFFFFFH: Addition starts from the end of the file.
When write data after CSV format conversion is
specified at (D0)
• For the High Performance model QCPU of which
the first five digits of the serial number are "01111"
or lower, always set the beginning (0H) of the file.
• For the High Performance model QCPU/Process
CPU/Redundant CPU/Universal model QCPU of
which the first five digits of the serial number are
"01112" or higher, set the file position.
00000000H to FFFFFFFEH: Starting at the beginning
of the file
FFFFFFFFH: Adding at the end of the file
No. of columns
When binary write is specified at (D0), always set 0.
designation
When write data after CSV format conversion is
specified at (D0), set the number of columns where
data will be written.
0: No columns. Regarded as one row.
Other than 0: Set to the specified number of columns.
Data type
0: Word
specification
1: Byte
Item
Contents/setting data
File name
Designate the character string of a file name.
character string
• When omitting an extension, also omit the "."
(Period).
• Limit the file name within 8 characters + period + 3
characters.
• When 9 or more characters are used, the extension
is ignored regardless of its presence, and "BIN" or
"CSV" is automatically assigned as an extension.
Item
Contents/setting data
No. of request
Designate the number of data to request writing (word
write data
units).
This data should be designated in units of words even
when byte is designated by (D0)+7.
Write data
Data to request writing.
Setting range
Set by
Setting range
Set by
0000H
User
0100H
System
System
00000000H to
User
FFFFFFFFH
0H to FFFFH (0
User
to 65535)
0, 1
User
Setting range
Set by
Character string
User
Setting range
Set by
1 to 480
User
*3
1 to 32767
0000H to FFFFH
Data type
BIN 16 bits
BIN 16 bits
BIN 16 bits

Advertisement

Table of Contents
loading

Table of Contents