EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

IDEC MICROSmart FC6A Series
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #481 background imageLoading...
Page #481 background image
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 25-1
25: DATA LOG INSTRUCTIONS
Introduction
This chapter describes the data log instructions that save the log data of specified devices to the SD memory card.
The Plus CPU module can switch between two save methods: basic mode and advanced mode. In basic mode, the file name is
automatically determined.
In advanced mode, you set the file name, and the file name is changed at the desired time.
DLOG (Data Log)
The filename of created CSV files is as follows:
• All-in-One CPU module:
The CSV file name is "DATE.csv." The date when the DLOG instruction is turned on is used as DATE.
Example: When the date is December 30, 2015, the file name is "20151230.csv".
•Plus CPU module:
For the name of the CSV file, set the desired name in WindLDR. A device value and the date can be added to the set file name.
Example: If the file name is "LOG", the value is "12345" (zero suppression: 5 digits), and the date is 2017/4/1 23:59:01, then the
file name is "LOG_12345_170401_235901.csv".
When a 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 output.
Output example
When a 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 finishes, 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. D2 (destination 2): Execution Status" on page 25-4.
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 assigned by S1. When the execution of the
instruction finishes, the device assigned by D1 is turned on and the execution
status is stored to the device assigned by D2.
When the folder assigned by S1 does not exist on the SD memory card, that
folder is created. The folder path is "FCDATA01\DATALOG\User specified folder."
D1
*****
S1
*****
DLOG D2
*****
Time D0010 Header
2015/12/30 08:30:23 12345 Log data
Time D0010
2015/12/30 08:30:23 12345
2015/12/30 17:30:23 1212 Appended log data

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals