Special Functions
15
-6. Precise Time
6
16 bits instruction:STR 32 bits instruction:-
Suitable Model:
XC3、XC5
Suitable device
Word
Bit
Device
D1·
D
FD
DMDX DY DS TD CDK/H
D2·
D2·
X Y M S T C Dn.m
STR T600 K100
X0
D1·
D2·
Y0
T600
RST T600
M0
SFC graph of the preceding program is:
功能和动作
:Timer’s number. The bound:T600~T618(T600、T602、T604…T618)
:The time valu
e.
z This instruction is the precise time instruction with the cycle of 1ms.
z
z ON, timer T600 starts to time, when time accumulation reaches
100ms, T600 set;if X000 again turns from OFF to ON, timer T600 turns from ON to OFF,restart to
time, when time accumulation reaches 100ms, T600 again reset. See the following chart.
D1·
D2·
Precise timer is 32 bits, the count value’s bound is 0~+2,147,483,647.
When X000 turns from OFF to
X0
T600
100ms 100ms
M0