Mitsubishi MELSEC-Q/L Programming Manual page 648

Table of Contents

Advertisement

SP.FREAD
(g) With the High Performance model QCPU/Process CPU/Redundant CPU/Universal model QCPU/LCPU whose first
5 digits of the serial number are "01112" or later, it is possible to divide read operation into multiple times.
[Specify the row desired to start read.]
Execution type
No. of columns designation
Data type specification
Row 1
Starting row
Row 2
Row 3
Row 4
Row 5
[In the continuation mode, read continues from the end of the previous read position.]
Execution type
No. of columns designation
Data type specification
Row 1
Row 2
Row 3
Row 4
Row 5
• When read is performed in the continuation mode, the previous addition cannot be made normally if the "execution
type", "No. of columns designation" and "data type specification" settings differ from those at the previous time.
• The previous addition cannot be made normally if the SP.FREAD instruction or SP.FWRITE instruction with another
setting is executed while data is being read continuously in the continuation mode.
646
= CSV format
Starting row number
Read head device
= 4
H
= Word
No. of request read data
Column 1
Column 2
Column 3
1
,
2
,
3
,
5
,
6
,
7
,
9
,
10
,
11
,
13
,
14
,
15
,
17
,
18
,
19
,
= CSV format
Starting row number
= 4
Read head device
H
= Word
No. of request read data
Column 1
Column 2
Column 3
1
,
2
,
3
,
5
,
6
,
7
,
9
,
10
,
11
,
13
,
14
,
15
,
17
,
18
,
19
,
= 2
H
= D0
= 6
H
Device data
(Data to be read out)
Column 4
K6
K5
4
CR LF
K6
K7
K8
8
CR LF
K9
K 10
12
CR LF
16
CR LF
20
CR LF
= FFFFFFF
= D7
= 5
H
Device data
(Data to be read out)
K6
K5
Column 4
K6
K7
4
CR LF
K8
K9
K10
8
CR LF
K5
K11
K12
K13
12
CR LF
K14
K15
16
CR LF
20 CR LF
No. of request read data
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
(Continuation mode)
H
D0
D1
D2
D3
D4
D5
D6
D7
No. of request read data
D8
D9
D10
D11
D12
D13

Advertisement

Table of Contents
loading

Table of Contents