Creation Date And Time (Last Edit Date And Time) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Creation date and time (last edit date and time)

This is a date and time when the current file contents are registered.
Setting method
Represent the date (year, month, day) and time (hour, minute, second) with 16-bit value, respectively.
■Data communication in ASCII code
Convert the respective numerical value to 4-digit ASCII code (hexadecimal) and send from the upper digits (time, year).
■Data communication in binary code
Send the respective 2-byte numerical value from the lower byte (L: bits 0 to 7).
Date (year, month, day)
Represent the 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: The binary value is represented with bits 5 to 8.
• Day: The binary value is represented with bits 0 to 4.
*1 This indicates incremental number of year by regarding 1980 as '0'.
Ex.
For April 1, 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
12 FILE CONTROL
206
12.3 Data to be specified in commands
(Year)
(Month)
(Day)
b5
b9 b8
b4
1E
(30)
4
(4)
1
(1)
H
H
H
3
C
8
1
H
H
H
Binary code
81
H
b0
30+1980 = 2010
H
3C
H
*1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents