Panasonic FP7 Series Command Reference Manual page 1103

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

Example 2) When specifying a writing position from the head of a file
File name: DATA1
Specified writing position
(Set value 1h is specified.)
Example 3) When specifying a writing position from the end of a file
File name: DATA1
[D2+2]: Specification of options
Specified
Description
bits
bit0 to 7
Line break
bit 8
Postfix
Zero
bit 9
suppression
Bit10 to 15
Example of option settings
● The following table shows how data is written depending on the value of bits 0 to 7 of [D2+2]
for the writing format [D2] = 7 (HEX 16 bits), bit 9 of [D2+2] = 0 (Do not perform zero
suppression), and written data "1 2 3 4 5".
WUME-FP7CPUPGR-12
Specified writing position
(Set value 2h is specified.)
The end of the original file
Line break setting for lines other than the end of the file when outputting to a CSV
file.
0: Line break is not used except at the end of the file.
1 to 255: Insert a line break at each of the specified number of comma-separated
data pieces.
When U10 (ASCII) or U11 (BIN) is specified for [D2] saving method, the line break
setting is invalid.
Specifies the data to be added to the end of the write data when outputting to a
CSV file.
0: Insert a line break (0Dh+0Ah).
1: Insert a comma (2Ch).
However, lines with line breaks do not have a trailing comma.
When outputting to a CSV file, specify whether to perform zero suppression or
not.
0: Do not perform zero suppression.
1: Perform zero suppression. (Delete unnecessary zeros, and output right-aligned
data.)
Reserved for system (Zero is set.)
18.3 CWT (File Data Write Instruction)
<Saved data>
<Saved data>
The saved data is written from the specified
writing position, and the additional data is
added from the end of the file.
18-9

Advertisement

Table of Contents
loading

Table of Contents