Mitsubishi MELSEC Q series User Manual page 43

Programmable controller
Hide thumbs Also See for MELSEC Q series:
Table of Contents

Advertisement

(5) Data line
Sampled data values are displayed. One line contains the data sampled at one time.
Item
Date and time column
Date and time information is output.
Data sampling interval
A time interval between the previous and current sampling events is output.
column
(Unit: s, Range: 1 to 100000000000)
Execution step No.
An execution step No. is output.
Execution program name
An execution program name is output.
column
An index No. of the data sampled in data logging is output.
Index column
(Range: 1 to 4294967295)
When bit is specified: Bit ON = 1, or bit OFF = 0 is output.
When unsigned word or double-word type is specified: Data are output in the format specified
among decimal, hexadecimal, and exponential formats.
When signed word or double-word type is specified: Data are output in the format specified
among decimal, hexadecimal, and exponential formats.
When single- or double-precision real number is specified: Data are output in the specified
Data column
*10
decimal
"NaN" is output in the data line. For the value range applicable to each real number type, refer
to  Page 42, Section 3.3.3.
When character string type is specified: A string of characters in the specified size is output. If
"0" is included in the data, the data after the "0" is not output because it indicates the end of
the string.
When numeric string type is specified: Data are converted into hexadecimal characters in byte
units, and output without any space.
Trigger information
The line, where a trigger has occurred, is output.
column
*1
At the first sampling, "0" is stored.
*2
When the upper limit of the display range is exceeded, the value returns to 1, and the time interval measured again is
output.
*3
If any data are missed to be sampled, the index value is reset to 1.
*4
When the maximum value is exceeded, it returns to 1 and is incremented again.
*5
Characters other than ASCII and Shift-JIS code characters, double quotation marks (" "), commas (,), and semicolons (;)
are replaced with periods (.).
*6
If the timing of sampling coincides with a system operation (such as a system interrupt), "0" is output.
*7
When "Each scanning cycle" is set to "Sampling", the step No. of the END instruction in the last program executed is
output.
*8
If the timing of sampling coincides with a system operation (such as a system interrupt), "*SYSTEM" is output.
*9
When "Each scanning cycle" is set to "Sampling", the name of the last program executed is output.
*10
When the value to be output is outside the range of -2147483648.0 to 4294967295.0, it is displayed in the format
equivalent to "exponential representation and 9 fractional digits".
*11
For example, when 128 point data in D100 to D227 is logged in the unsigned word type format (when the date and time
(in "YYYY/MM/DD hh:mm:ss.s" format), data sampling interval, execution step No, execution program name, and index
columns are selected for output), the size of the data line is the total of the following.
21 (date and time) + 12 (data sampling interval) + 6 (execution step No.) + 8 (execution program name) + 10 (index) + (6
 128) (data) + 132 (number of commas) + 2 (CR + LF) = 959 bytes
*12
When a CSV file is opened in Excel, the date and time column is displayed in the default format of Excel. Format the
cells if needed. For example, to display information of year, month, day, time, minute, second, and millisecond, specify
the following user defined display format.
yyyy/mm/dd hh:mm:ss.000
Description
*12
*2
*6*7
*8*9
*4
or exponential format. When the specified data type is not applicable to the data,
*5
CHAPTER 3 SPECIFICATIONS
*1
*3
*11
Size
1 to 32 bytes
1 to 12 bytes
1 to 6 bytes
1 to 8 bytes
1 to 10 bytes
1 byte
Decimal format: 1 to 6 bytes
Hexadecimal format: 1 to 4 bytes
Exponential format: 5 to 21 bytes
Decimal format: 1 to 11 bytes
Hexadecimal format: 1 to 8 bytes
Exponential format: 5 to 22 bytes
1 to 256 bytes
2 to 512 bytes
0 to 32 bytes
41
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents