Panasonic FP7 Series Command Reference Manual page 766

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.28 ETIMEstr (Date and Time Character String Conversion: With Storage
Area Size)
● Checking the combination of year, month, day, or day of the week is not performed.
Example) A setting of February 31 is not treated as an error. When SD50 is specified, the
combination of year, month, day, or day of the week is correct.
● Always store the data in the order mentioned in the table below regardless of the conversion
pattern of [S2].
Operand
[S1]
[S1+1]
[S1+2]
[S1+3]
[S1+4]
[S1+5]
[S1+6]
[S2]: Conversion pattern settings
The conversion pattern is specified by 4-digit hex data.Refer to the page for the
(Date and Time Character String Conversion)"
Example of processing
Example 1)
[S1]...SD50 [S2]...DT0 [D]...DT10
Output image ... 2014/09/25(Thu)␣12:54:31
[S1]...SD50
・Output example
SD50
U 14
SD51
U 9
SD52
U 25
SD53
U 12
SD54
U 54
SD55
U 31
SD56
U 4
DT0
H 0014
(Note 1)
The start area (storage area size) for [D] is set before executing this instruction.
Example 2)
[S1]...DT100 [S2]...DT0 [D]...DT150
14-116
Description
Specified range Remarks
Year
U0 to U99
Month
U1 to U12
Day
U1 to U31
Hours
U0 to U23
Minutes
U0 to U59
Seconds
U0 to U59
Day of the week
U0 to U6
[S2]...DT0
[D]...DT10
Thu̺ 09-25-2014̺ 12:54:31
DT10
Year
DT11
Month
DT12
Day
DT13
Hour
DT14
Minute
DT15
Second
DT16
Day of the week
DT17
DT18
DT19
DT20
DT21
DT22
DT23
The character string after conversion is 2000 to
2099.
instruction.
U 24
Storage area size (*1)
U 23
Number of bytes
H 68 (h)
H 54 (T)
H 20 (̺ )
H 75 (u)
H 39 (9)
H 30 (0)
H 32 (2)
H 2D (-)
H 2D (-)
H 35 (5)
H 30 (0)
H 32 (2)
H 34 (4)
H 31 (1)
H 31 (1)
H 20 (̺ )
H 3A (:)
H 32 (2)
H 34 (4)
H 35 (5)
H 33 (3)
H 3A (:)
H 31 (1)
"14.15 TIMEstr
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents