Panasonic FP7 Series Command Reference Manual page 767

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

Advertisement

14.28 ETIMEstr (Date and Time Character String Conversion: With Storage
Output image ... Wed␣08-06-2020␣23:20:05
[S1]...DT100 [S2]...DT0 [D]...DT150
・Output example Wed̺ 08-06-2020̺ 23:20:05
U 20
DT100
U 6
DT101
DT102
U 8
DT103
U 23
DT104
U 20
DT105
U 5
DT106
U 3
DT0
H 4012
(Note 1)
The start area (storage area size) for [D] is set before executing this instruction.
Example 3) When created character strings exceed the storage area size and CY is
set
[S1]...SD50 [S2]...DT0 [D]...DT10
Output image ... 2014/09/25(Thu)␣12:54:31
[S1]...SD50 [S2]...DT0 [D]...DT10
・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.
Flag operations
Name
Description
SR7
To be set in case of out-of-range values in indirect access (index modification).
SR8
To be set when the parameter of [S1] is out of the setting range.
(ER)
WUME-FP7CPUPGR-12
Year
DT150
Month
DT151
Day
DT152
Hour
DT153
Minute
DT154
Second
DT155
Day of the week
DT156
DT157
DT158
DT159
DT160
DT161
DT162
DT163
2014年09月25日(木)̺ 12時54分31秒
DT10
Year
DT11
Month
DT12
Day
Hour
DT13
DT14
Minute
Second
DT15
Day of the week
DT16
DT17
DT18
DT19
U 24
U 23
H 65 (e)
H 57 (W)
H 20 (̺ )
H 64 (d)
H 38 (8)
H 30 (0)
H 30 (0)
H 2D (-)
H 2D (-)
H 36 (6)
H 30 (0)
H 32 (2)
H 30 (0)
H 32 (2)
H 32 (2)
H 20 (̺ )
H 3A (:)
H 33 (3)
H 30 (0)
H 32 (2)
H 30 (0)
H 3A (:)
H 35 (5)
U 16
Storage area size (*1)
U 16
Number of bytes
H 30 (0)
H 32 (2)
H 34 (4)
H 31 (1)
H 4E94 (年)
H 39 (9)
H 30 (0)
H 8E8C (月)
H 35 (5)
H 32 (2)
H FA93 (日)
H 96 (木) H 28 (()
Area Size)
Storage area size (*1)
Number of bytes
CY
ON
14-117

Advertisement

Table of Contents
loading

Table of Contents