7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
785
7
• 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:
*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.)
[Specify the file to which data will be written.] (If a file exists, delete it and create a new file again.)
[In the addition mode, make addition from the end of the file.]
1,2,3,4CRLF
5,6CRLF
K6
K1
K2
K3
K4
K5
K6
K5
K7
K8
K9
K10
K11
K12
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
Starting row
Row 1
Column
1
Column
2
Column
3
Column
4
Row 2
Device data
(Data to be written)
No. of request write data
Execution type
No. of columns designation
Data type specification
= CSV format
= 4H
*1*3
= Word
File position
Write head device
No. of request write data
= 0H (New file is created)
= D0
= 6H
*1
*1
1,2,3,4CRLF
5,6CRLF
K6
K1
K2
K3
K4
K5
K6
K8
K7
K8
K9
K10
K11
K12
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
7,8,9CR LF
10 , 11 , 12 CR LF
13 , 14 CR LF
K13 D14
K14 D15
Row 1
Column
1
Column
2
Column
3
Column
4
Row 2
Device data
(Data to be written)
No. of request write data
Present starting
row
Row 3
Row 4
Row 5
Execution type
No. of columns designation
Data type specification
= CSV format
= 3H
*1*3
= Word
File position
Write head device
No. of request write data
= FFFFFFFH (Addition mode)
= D7
= 8H
*1
*2 *3
*1