Panasonic FP7 Series Command Reference Manual page 39

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

Advertisement

Clock/Calendar Instructions
Operatio
Name
Conversion:
Time Data
(Hours,
Minutes and
Seconds) →
Seconds Data
Conversion:
Seconds Data
→ Time Data
(Hours,
Minutes and
Seconds)
Clock Addition
Clock
Subtraction
Clock Data →
Seconds Data
from the Base
Time
Seconds Data
from the Base
Time → Clock
Data
Setting of
Clock/
Calendar
Summer Time
Acquisition
Logging Trace Instructions
Operatio
Name
Logging trace
US, SS
start request
Logging trace
US, SS
stop request
Sampling
US, SS
Trace
WUME-FP7CPUPGR-12
n
Mnemonic
Unit
HMSS
(P)
SHMS
(P)
CADD
(P)
CSUB
(P)
TMSEC
(P)
SECTM
(P)
TIMEWT
(P)
SUMME
(P)
R
n
Mnemonic
Unit
LOGST
(P)
LOGED
(P)
SMPL
(P)
1.2 List of High-level Instructions
Operand
Function overview
Converts the BIN data stored in [S] to [S+2]
which indicates the hour, minute, second
S, D
into seconds units, and stores it in (D+1,
D).
Converts the seconds data stored in [S+1,
S, D
S] to hour, minute, second, and stores it in
[D] to [D+2] as BIN data.
Adds the time data (hour, minute, second)
stored in [S2] to [S2+2] to the clock data
S1, S2,
(year, month, date, hour, minute, second)
D
stored in [S1] to [S1+5], and stores it in [D]
to [D+5].
Subtracts the time data (hour, minute,
second) stored in [S2] to [S2+2] from the
S1, S2,
clock data (year, month, date, hour, minute,
D
second) stored in [S1] to [S1+5], and stores
it in [D] to [D+5].
Converts the clock data specified by [S] to
S, D
seconds data from the base time (Jan 1,
2001), and stores it in (D+1, D).
Converts the seconds data from the base
S, D
time (Jan 1, 2001) stored in [S+1, S] to
clock data, and stores it in [D] to [D+5].
Sets the clock data (year, month, date,
S
hour, minute, second) stored in [S] to [S+6]
as RTC data in CPU units.
Sets the clock data corrected by [S3] (time
S1, S2,
difference) in [D] (valid/invalid flag + time
S3, D
data) for the period specified by the period
of [S1] to [S2] (month, date, hour, minute).
Operand
Function overview
Requests to start the logging trace function
n
for the number specified by [n].
Requests to stop the logging trace function
n
for the number specified by [n].
n
Performs sampling during tracing.
Page
"P.12-2"
"P.12-4"
"P.12-6"
"P.12-8"
"P.12-10"
"P.12-12"
"P.12-14"
"P.12-16"
Page
"P.13-2"
"P.13-4"
"P.13-6"
1-21

Advertisement

Table of Contents
loading

Table of Contents