25: D
ATA
L
OG
I
NSTRUCTIONS
25-4
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
3. D2 (destination 2): Execution Status
D2 specifies the first data register of the data registers to use in DLOG instruction.
Starting from the specified data register, 2 continuous words of data registers are used. Specify the first data register so that the
range of data registers is not exceeded.
*1 Stores the value calculated from the file size. The decimal part is rounded up.
Example: When D2 is "D0000", the file size set for external memory device is "5 MB (5120 KB)", and the CSV file is "520 KB",
File size ratio = 520 / 5120 × 100 = 10.2
→
11
"11" is stored in the register.
*2 For how to set the file size for external memory devices, see Chapter 5 "Functions and Settings" in the "FC6A Series MICROSmart User's
Manual".
Execution Status
Specify the device to store the status code. One of the following status codes is stored according to the DLOG instruction
execution status and result.
All-in-One CPU module
Plus CPU module
Storage Destination
Function
Setting Details
Reference
Starting 0
Execution status
This register stores the status code.
"Execution Status" on
page 25-4
Starting 1
File size ratio
File size ratio = [CSV file] / [File size set for external memory device
]
× 100 (the decimal part is rounded up)
Status Code
Status
Description
0
Normal
—
1
SD memory card insertion error
The SD memory card is not inserted
2
SD memory card capacity error
The SD memory card is full
3
SD memory card writing error
Writing log data to the SD memory card fails
4
CSV file capacity error
The CSV file has exceeded the upper limit of the log data size
5
SD memory card protection error
The SD memory card is write protected
6
SD memory card access error
DLOG instruction is executed while another DLOG instruction or TRACE instruction
is being executed
7
Characters conversion error
Converting log data to numeric characters fails
8
Folder creation error
Creating the folder fails
9
CSV file open error
Opening the CSV file fails
32
Executing DLOG instruction
Writing log data to SD memory card is in progress
Status Code
Status
Description
0
Normal
—
1
—
—
2
SD memory card capacity error
The SD memory card is full
3
SD memory card writing error
Writing log data to the SD memory card fails
4
CSV file capacity error
The number of CSV files in one folder for one day has exceeded 99 files
(YYYYMMDD_01.csv to YYYYMMDD_99.csv)
5
SD memory card protection error
The SD memory card is write protected
6
SD memory card access error
DLOG instruction is executed while another DLOG instruction or TRACE instruction
is being executed
7
Characters conversion error
Converting log data to numeric characters fails
8
Folder creation error
Creating the folder fails
9
CSV file open error
Opening the CSV file fails
10
Normal (Stored in RAM)
Because SD memory card is not inserted, log data is stored in Plus CPU module
RAM. If the power to the PLC is turned off without inserting SD memory card, all
logged data are cleared. When SD memory card is not inserted and the log data
exceeds 1 MB, "11. RAM overflow" occurs.
11
RAM overflow
The total amount of log data exceeds 1MB while SD memory card is not inserted
12
Path storage setting error
The data register for storing the path exceeds the largest data register (D7999,
D61999, D269999)
13
CSV file size error
The logging data is not saved because the CSV file exceeded the file size set by the
external memory device in advanced mode
32
Executing DLOG instruction
Writing log data to SD memory card is in progress
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...