Download Now

Transcript
TZCP instruction
Instruction Description
Name
TCZP
TZCPP
Function Bits(bits) Pulse type Instruction format
Step
Clock data 16
No
9
area
TZCP
16
Yes
9
comparison
Bit component
Word component
Operand
X
Y
M
S
K
H
KnX KnY KnM KnS T
C
D
V
Z
The instruction is making a comparison of built-in real-time clock data and specified two group hour / minute / second preset value range, and exports the
comparison result Where:
is the specified lower time limit. It occupies three continues variable units and that is hour, minute, second data.
is the specified upper time limit. It occupies three continues variable units and that is hour, minute, second data.
is the starting address of the real-time clock time register and normally the saving unit after clock read TRD or MOV instruction.
is the starting address of storage variable for comparing result, occupying following three variable units;
Programming example: