EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 278

Mitsubishi Electric MELSEC iQ-R Series
760 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
Loading...
276
20 DATA LOGGING FUNCTION
20.6 Data Logging File
*1 The following capacity values are output to based on the model.
Example: R08CPU, R08ENCPU: = 08
(18) Record start flag,
record end flag
The flags for identifying the start and end of the record are output. The FFFFH is output for record start
while the FFFEH is output for record end as the fixed flag.
2
(19) Record data length The total size of (20) Day and time data to (28) Last data is output. 2
(20) Date data The Day and time data is output. 8
(21) Data collection
interval
The time interval from the previous collection time to the current collection time is output. (Unit: s,
Display range: 1 to 100000000000 (When it exceeds the max value, it returns to "1" and incrementing
runs again.)) After logging collection is started, 0 is stored at the first collection.
8
(22) Step No. The step No. executed on the engineering tool at the timing in which data was collected is output. With
the collection condition "Each scanning cycle" specified, the resulting output is the step No. at the time
of execution of END instruction in the last executed program in the scan. With the collection condition
"Interrupt occurrence" specified, the resulting output is the step No. at the time of execution of IRET
instruction in the interrupt program. If the system operation (such as system interrupt) is running during
collection interval and collection timing or the FB program is in running, "0" is output.
4
(23) Program No. The program No. (FB File No.) executed on the engineering tool at the timing in which data was
collected is output. With the collection condition "Each scanning cycle" specified, the resulting output is
the program number of the last executed program in the scan. If system operation (such as system
interrupt) is running at collection interval and collection timing, "0" is output.
2
(24) Program name
length
The name length of a program that is executed at the time interval and timing in which data was
collected is output. If the same program number or program name has already been in the file, "0" is
output.
2
(25) Program name The program name (no extension) that is executed at the time interval and timing in which data was
collected is output in Unicode. With the collection condition "Each scanning cycle" specified, the
resulting output is the program name of the last executed program in the scan. If system operation
(such as system interrupt) is running at collection interval and collection timing, "* SYSTEM" is output.
0 to 200
(26) Index The index number ranging from 1 to 4294967295 of data, which was collected by the data logging
function, is output. When it exceeds the max value, it returns to "1" and incrementing runs again. If
missing occurs in processing data, index will be reassigned from 1 again.
4
(27) Trigger occurrence
flag
The trigger occurrence information is output.
b0 1: A trigger has occurred.
0: No trigger has occurred.
2
(28) Data Data collected by the data logging function is output corresponding to (13) Data length and (10) Data
type.
When bits are specified: bit On = 1 and bit Off = 0 are output.
When word type (signed/unsigned) or double-word type (signed/unsigned) is specified: the data
values are output in the specified unit.
When single-precision real number or double-precision real number is specified: data value is output
in the specified unit. ( Page 277 Numerical value range for each output type)
When character string type is specified: the character string with the specified size is output. If the
character string terminator "0" exists in the middle of data, NULL is generated on from said point
onward until the terminator of the specified size.
When numeric string type is specified: the data value with the specified size is output.
When time is specified: T#-24d20h31m23s648ms to T#24d20h31m23s647ms is output.
Bit: 2
Word (signed/
unsigned): 2
Double word
(signed/
unsigned): 4
Single-precision
real number: 4
Double-precision
real number: 8
•String/numeric
string: 1 to 256
•Time: 4
No. Item Description Size (byte)
b15 b0to
Year: Last 2 digits of the year,
Month: 1 to 12
Day: 1 to 31, Time: 0 to 23
Minute: 0 to 59, Second: 0 to 59
Millisecond: 0 to 999
Year
Day
Minute
Month
Time
Second
Millisecond
b0

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals