Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-432
SP.FREAD
(g) With the High Performance model QCPU/Process CPU/Redundant CPU/Universal
model QCPU 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.]
[In the continuation mode, read continues from the end of the previous read position.]
When read is performed in the continuation mode, the previous addition cannot be made
normally if the "execution type", "column 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.
Starting row
Next starting
position
Column
1
Column
2
Column
3
Column
4
Device data
(Data to be read out)
K6
K5
K6
K7
K8
K9
K1 0
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
Number of read points
Execution type
Column designation
Data type specification
= CSV format
= 4
H
= Word
Starting row number
Read head device
Number of data
= 2
H
= D0
= 6H
1,2,3,4CRLFRow 1
Row 2
5,6,7,8CRLF
9 , 10 , 11 , 12 CR LFRow 3
13 , 14 , 15 , 16 CR LFRow 4
Row 5
17 , 18 , 19 , CR
LF
1,2,3,4CRLF
5,6,7,8CR
LF
9,10,11,12CR
LF
13,14,15,16CR
LF
K6
K5
K6
K7
K8
K9
K10
K5
K11
K12
K13
K14
K15
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
17,18,19,20CR
LF
Present starting
position
Next starting
position
Column
1
Column
2
Column
3
Column
4
Device data
(Data to be read out)
Number of read points
Row 1
Row 2
Row 3
Row 4
Row 5
Execution type
Column designation
Data type specification
= CSV format
= 4
H
= Word
Starting row number
Read head device
Number of data
= FFFFFFF
H
(Continuation mode)
= D7
= 5
H