FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
26-1
26:D
ATA
L
OG
I
NSTRUCTIONS
Introduction
The data log instructions save the log data for the specified devices to the SD memory card.
DLOG (Data Log)
When a CSV file with the same date does not exist in the folder designated by S1, the CSV file is created and the header and the
log data is outputted.
Output example
When a CSV file with the same date already exists in the folder designated by S1, only the log data is appended to the CSV file.
Output example
When the execution of DLOG instruction is finished, the device designated by D1 is turned on and the status code is stored to the
device designated by D2 according to the execution result. For status codes, see "3. Execution status" on page 26-3.
Notes:
The time required to create a new CSV file (create a file and output header) is ?? µs.
When the SmartAxis is started running and DLOG instruction is executed, the header is appended to the CSV file even if the same DLOG
instruction is executed previously within the same day.
Output example
For details on the SD memory card specification, see Chapter 5 "Special Functions" – "SD Memory Card" in the FT1A Series SmartAxis Pro/
Lite User's Manual.
The DLOG instruction saves the values of the specified devices in the specified
data format as a CSV file on the SD memory card.
When the input is on, the date and time and the values of the specified devices
are output to the CSV file in the folder designated by S1. When the execution of
the instruction is finished, the device designated by D1 is turned on and the
execution status is stored to the device designated by D2.
When the folder designated by S1 does not exist on the SD memory card, that
folder is created. The folder path is "DATA0001
\
DATALOG
\
User specified folder."
For details on the folder structure, see Chapter 5 "Special Functions" - "SD
Memory Card" in the FT1A Series SmartAxis Pro/Lite User's Manual.
The CSV file name is "DATE.csv." The date when the DLOG instruction is turned
on is used as DATE.
Example: If the date is September 30, 2011, the file name is "20110930.csv".
D1
*****
S1
*****
DLOG
D2
*****
Time
D0010
Header
2011/09/07 08:30:23
12345
Log data
Time
D0010
2011/09/07 08:30:23
12345
2011/09/07 17:30:23
1212
Appended log data
Time
D0010
Header
2011/09/07 08:30:23
12345
Log data
Time
D0020
Appended header
2011-09-07 17:30:23
1212
Log data
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...