IDEC MICROSmart FC6A Series Ladder Programming Manual page 492

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

25: D
L
I
ATA
OG
NSTRUCTIONS
Advanced mode
When the DLOG instruction is executed and the CSV file for the same name does not exist in the folder designated by S1, a new
file is created and the header and the log data 1 are output as shown in above output format example. If the DLOG instruction is
executed again on the same name, the log data 2 is appended to the CSV file. Similarly, if the DLOG instruction is executed again
on the same name, log data 3 is appended to the CSV file.
When the switch file timing trigger is turned on and the file name changes, a CSV file with a new file name is created and the
header and data are output. The switch file timing trigger is automatically turned off when the DLOG instruction is executed.
DLOG instruction
Set file name
Switch file timing
Output file name
• File format
The decimal symbol and separating character in CSV files can be specified in the function area settings. For details, see Chapter 11
"SD Memory Card" in the
• File name
The output order of the file name is as follows.
[File name]_[Value of device address]_[YYMMDD]_[hhmmss].CSV
File name:
Text entered in Base file name or text in device address values specified by Specify Base file name by Value of
Device Address
Value of device address: Value of device address specified by Add Device value to File Name
YYMMDD:
Year, month, and day of date and time set in Add Timestamp
hhmmss:
Hours, minutes, and seconds of date and time set in Add Timestamp
• Configuration Example 1
Item
Base file name
Add Device value to File Name
Add Timestamp
The file name is "LOG_123456_1309.CSV".
• Configuration Example 2
Item
Base file name
Specify Base file name by Value of
Device Address
Add Device value to File Name
Add Timestamp
The file name is "IDEC_123456_130915_233050.CSV".
25-12
0155
LOG_0155.csv
FC6A Series MICROSmart User's Manual
"
Setting
LOG
Device address: D0200
Year + Month
Setting
LOG
Device address: D0100
The text to set is "IDEC"
Device address: D0200
Year + Month + Day + Minute +
Second
FC6A S
MICROS
ERIES
MART
0156
LOG_0156.csv
.
"
D0200: 123456
Date and time when the data was output: September, 2013
Device
D0100
D0101
D0102
D0200: 123456
Date and time when the data was output: September 15,
2013, 23:30:50
L
P
M
ADDER
ROGRAMMING
ANUAL
Stored Value
Upper Byte
Lower Byte
1
D
E
C
NULL
NULL
FC9Y-B1726

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents