Mitsubishi Electric MELSEC-Q/L Programming Manual page 792

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

Advertisement

Setting
Meaning
data
(D0)
(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)+
(D1)
Head number of the devices for storing the read data.
Device
(D1)
(D1)+1 to
(D1)+
(D2)
Bit device that turned ON at the completion of the processing. ((D2)+1 is also turned ON at error completion.)
Device
(D2)
(D2)+1
*2 Indicates the range applicable for the Universal model QCPU, LCPU.
7 APPLICATION INSTRUCTIONS
790
7.19 Other Instructions
File position
Designate the file position to start reading when binary
data reading is designated 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: Setting disabled
When CSV format read 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/
LCPU of which the first five digits of the serial
number are "01112" or higher, set the file position
(Row).
00000000H: Read starts at the beginning of the file.
00000001H to FFFFFFFEH: Read starts at the
specified row.
FFFFFFFFH: Read continues, starting at the previous
read position.
No. of columns
When binary read is specified at (D0), always set 0.
designation
When read data after CSV format conversion is
specified at (D0), set the number of columns from
where data will be read.
0: No columns. Regarded as one row.
Other than 0: Regarded as 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 regarded as an extension.
Item
Contents/setting data
Reading result
Contains the number of actually read data against the
(No. of read
data designated by (D0)+2. The unit on the value
data)
depends on data type specification.
Reading data
Read data
Item
Contents/setting data
Completion
Indicates the completion of the processing.
signal
ON: Completed
OFF: Not completed
Error
Indicates whether the processing is normally
completion
completed or abnormally completed.
signal
ON: Error completion
OFF: Normal completion
Setting range
Set by
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
System
System
Setting range
Set by
System
Data type
BIN 16 bits
BIN 16 bits
BIN 16 bits
Bit

Advertisement

Table of Contents
loading

Table of Contents