IDEC MICROSmart FC6A Series Ladder Programming Manual page 484

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

Advertisement

25: D
L
I
ATA
OG
NSTRUCTIONS
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.
Storage Destination
Starting number+0
Starting number+1
*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
Status Code
0
Normal
1
SD memory card insertion error
2
SD memory card capacity error
3
SD memory card writing error
4
CSV file capacity error
5
SD memory card protection error
6
SD memory card access error
7
Characters conversion error
8
Folder creation error
9
CSV file open error
32
Executing DLOG instruction
Plus CPU module
Status Code
0
Normal
1
2
SD memory card capacity error
3
SD memory card writing error
4
CSV file capacity error
5
SD memory card protection error
6
SD memory card access error
7
Characters conversion error
8
Folder creation error
9
CSV file open error
10
Normal (Stored in RAM)
11
RAM overflow
12
Path storage setting error
13
CSV file size error
32
Executing DLOG instruction
25-4
Function
Execution status
This register stores the status code.
File size ratio = [CSV file] / [File size set for external memory device
*1
File size ratio
× 100 (the decimal part is rounded up)
Status
Status
FC6A S
MICROS
ERIES
MART
Setting Details
The SD memory card is not inserted
The SD memory card is full
Writing log data to the SD memory card fails
The CSV file has exceeded the upper limit of the log data size
The SD memory card is write protected
DLOG instruction is executed while another DLOG instruction or TRACE instruction
is being executed
Converting log data to numeric characters fails
Creating the folder fails
Opening the CSV file fails
Writing log data to SD memory card is in progress
The SD memory card is full
Writing log data to the SD memory card fails
The number of CSV files in one folder for one day has exceeded 99 files
(YYYYMMDD_01.csv to YYYYMMDD_99.csv)
The SD memory card is write protected
DLOG instruction is executed while another DLOG instruction or TRACE instruction
is being executed
Converting log data to numeric characters fails
Creating the folder fails
Opening the CSV file fails
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.
The total amount of log data exceeds 1MB while SD memory card is not inserted
The data register for storing the path exceeds the largest data register (D7999,
D61999, D269999)
The logging data is not saved because the CSV file exceeded the file size set by the
external memory device in advanced mode
Writing log data to SD memory card is in progress
L
P
M
ADDER
ROGRAMMING
ANUAL
"Execution Status" on
page 25-4
*2
]
Description
Description
FC9Y-B1726
Reference

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents