25: D
ATA
L
OG
I
NSTRUCTIONS
25-8 FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
14. Add Device value to File Name
Select whether or not to add device values to the file name.
Select this check box and a data register can be specified.
Clear this check box and nothing can be specified.
Specify the data registers containing the values to read and add to the file name. Two words are used.
The base file name, "_" (single-byte underscore), and device value will be added to the file name in that order.
Set the device value between 0 and 999,999,999 (decimal).
If a value greater than 999,999,999 is stored in the data registers, 999,999,999 will be added to the file name.
Zero suppression that does not add "0" is also specified. Select this check box to perform zero suppression. Clear this check box
and the number of digits can be specified. "0" is added to the device value so that it becomes the specified number of digits.
If the number of digits of the device values is larger than the set digits, the device value is output unchanged.
15. Add Timestamp
Select whether or not to add the output date and time to the file name.
Select this check box and the output date and time will be added to the file name. The format of the output date and time can
be selected.
Clear this check box and the output date and time will not be added to the file name.
Select the format of the output date and time to add from the following six types.
Year, Year+Month, Year+Month+Day, Year+Month+Day+Hours, Year+Month+Day+Hours+Minutes,
Year+Month+Day+Hours+Minutes+Seconds
The format is YYMMDD_hhmmss (YY: year, MM: month, DD: day, hh: hours, mm: minutes, and ss: seconds).
The base file name, "_" (single-byte underscore), and output date and time will be added to the file name in that order.
16. Trigger of file switching
Specify the device that will be used as trigger for switching files. When the specified device is turned on and the DLOG
instruction is executed, the file for output data is switched. The device will be turned off automatically at the timing for switching
files.
A new file will be created with the file name specified in items 12. to 15. If the file with the same name already exists, the new
file will not be created. Instead, the data will be added to the relevant file.
17. Set the maximum number of files
This property limits the number of CSV files that are saved to the CSV file storage folder on the SD memory card.
Select this check box and the number of files can be limited. The limit on the number of files can be set between 1 and 100.
When the limit on the number of files is reached, the file with the oldest timestamp is deleted, and a new file is created.
If this check box is cleared, the number of files will not be limited. CSV files will continue to be created until the free space on
the SD memory card is full.
Note: If the number of files saved on the SD memory card has already exceeded the limit at the start of operation, the number of files at that time
becomes the limit.
Example: When File name is LOG and the device address is D0200, the file name is as follows.
8 digits: LOG_00123456.CSV
6 digits: LOG_123456.CSV
4 digits: LOG_123456.CSV
Example: When File name is LOG and the output date and time is 2013/9/15 23:30:50
Year:LOG_13
Year+Month: LOG_1309
Year+Month+Day: LOG_130915
Year+Month+Day+Hours: LOG_130915_23
Year+Month+Day+Hours+Minutes: LOG_130915_2330
Year+Month+Day+Hours+Minutes+Seconds: LOG_130915_233050
Device
Stored Value
Decimal (Double word) Decimal (Word)
D0200 1
123456
D0201 57920