Mitsubishi Electric MELSEC-Q/L Programming Manual page 787

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

Advertisement

• When data is added by 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:
[Specify the file to which data will be written.] (If a file exists, delete it and create a new file again.)
Execution type
No. of columns designation
Data type specification
Starting row
Row 1
Row 2
[In the addition mode, make addition from the end of the file.]
Execution type
= CSV format
No. of columns designation
= 3H
Data type specification
= Word
Column
Row 1
Row 2
*2
Present starting
Row 3
row
Row 4
Row 5
*1 Unless the "No. of request write data" is set to an integral multiple of "No. of columns designation", the column numbers will be random.
*2 Since the last data is always followed by the line feed code, addition normally starts at the beginning of the new row in the addition
mode.
*3 If, in the addition mode, "column designation" is changed from that in the previous writing, the column numbers are shifted.
• Do not execute the SP.FWRITE instruction in an interrupt program. (If execute it, the operation is not guaranteed.)
= CSV format
File position
*1*3
Write head device
= 4H
No. of request write data
= Word
Column
Column
Column
1
2
3
1
,
2
,
3
,
*1
5
,
6
CR LF
File position
*1*3
Write head device
No. of request write data
Column
Column
1
2
3
1
,
2
,
3
,
5
,
6
CR LF
7
,
8
,
9
CR LF
10
,
11
,
12
CR LF
*1
13
,
14
CR LF
= 0H (New file is created)
= D0
*1
= 6H
Device data
(Data to be written)
Column
K6
4
K1
4
CR LF
K2
K3
K4
K5
K6
K5
K7
K8
K9
K10
K11
K12
= FFFFFFFH (Addition mode)
= D7
*1
= 8H
Device data
(Data to be written)
K6
K1
Column
4
K2
K3
4
CR LF
K4
K5
K6
K8
K7
*3
K8
K9
K10
K11
K12
K13
K14
No. of request write data
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D0
D1
D2
D3
D4
D5
D6
D7
No. of request write data
D8
D9
D10
D11
D12
D13
D14
D15
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
7
785

Advertisement

Table of Contents
loading

Table of Contents