Command Descriptions
297
TIMST
Start Timer
Type
Timer
Syntax
<a_><!>TIMST<b><r>
Units
b = Enable bit
r = time (milliseconds) if b = 0, task # if b = 1
Range
b = 0 (reset and start) or 1 (start from previous TIMSTP)
r = absolute time 0-999,999,999 if b = 0,
or r = task # 0-10 if b = 1
Default
0
Response
TIMST: No
response,
acts
as
if
TIMST1
command
was
issued
See Also
[
TIM
],
TIMINT,
TIMSTP,
TTIM
Product Rev
GT6K 6.0
GV6K 6.0
The
TIMST
command is used to start the timer.
•
If
TIMST0
, you can start the timer at a specific time in milliseconds (e.g.,
TIMST0,500
).
•
If
TIMST1
, you can resume the timer (after stopping it with the
TIMSTP
command) with the value of
the time of the specified task (e.g.,
TIMST1,3
).
The timer resolution is 2 ms. The delay for executing
TIMST
and
TIMSTP
in combination is 4-6 ms.
If the timer is started and allowed to roll over the maximum timer count of 999,999,999 milliseconds (11
days, 13 hours, 46 minutes, 39.999 seconds), the timer will be stopped, and the value will be frozen at the
maximum value.
Multi-Tasking
: Each task has its own timer.
Example:
TIMST0
; Reset and start timer
GO1
; Initiate motion
TIMSTP
; Stop timer
TTIM
; Transfer time required for move
TIMSTP
Stop Timer
Type
Timer
Syntax
<a_><!><%>TIMSTP
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
[
TIM
],
TIMINT,
TIMST,
TTIM
Product Rev
GT6K 6.0
GV6K 6.0
The
TIMSTP
command stops the timer. This command in conjunction with the start timer (
TIMST
)
command, provides a timer that can be used to time internal or external events.
The timer resolution is 2 ms. The delay for executing
TIMST
and
TIMSTP
in combination is 4-6 ms.
Multi-Tasking
: Each task has its own timer.
Example:
TIMST0
; Reset and start timer
GO1
; Initiate motion
TIMSTP
; Stop timer
TTIM
; Transfer time required for move
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...