Mitsubishi Electric MELSEC IQ-R series Reference Manual page 302

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Last edit time and last edit date
A data that indicates the date and time when the current file content was registered.
■Data communication in ASCII code
Convert the numerical value to a 4-digit (hexadecimal) ASCII code and send it from upper digits (time, year). When dummy is
specified, send '0000H'.
■Data communication in binary code
Send 2-byte numerical value from lower bytes (L: bits 0 to 7). When dummy is specified, send '0000H'.
■Date (year, month, day)
Specify year, month , and day with 16-bit value.
• Year: The binary value is represented with bits 9 to 15 by setting the year 1980 to '0'.
• Month: Specify the binary value in bit 5 to 8.
• Day: Specify the binary value in bit 0 to 4.
*1 This indicates incremental number of year by regarding 1980 as '0'.
Ex.
April 1st, 2010
b15
0 0 1 1 1 1 0 0 1 0 0 0 0 0 0 1
Numerical values in
relevant range
Numerical values for
4 bits
ASCII code
3
C
8
1
33
43
38
31
H
H
H
H
■Time (hour, minute, second)
Represent hour, minute, and second with 16-bit value.
• Hour: Represent binary value with bit 11 to 15.
• Minute: Represent binary value with bit 5 to 10.
• Second: Represent binary value 2 with bit 0 to 4.
Ex.
When 20:50:58
(Hours)
b15
1 0 1 0 0 1 1 0 0 1 0 1 1 1 0 1
Numerical values in
14
relevant range
Numerical values for
4 bits
A
ASCII code
A
6
5
D
41
36
35
44
H
H
H
H
15 QnACPU DEDICATED COMMANDS
300
15.3 File Control
(Year)
(Month)
(Day)
b9 b8
b5
b4
1E
(30)
4
(4)
1
(1)
H
H
H
3
C
8
1
H
H
H
Binary code
81
H
(Minutes)
(Second)
b11
b10
b5
b4
(20)
32
(50)
1D
(29)
H
H
H
6
5
D
H
H
H
H
Binary code
5D
b0
30+1980 = 2010
H
3C
H
b0
58÷2=29
A6
H
H
*1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents