Command Descriptions
319
Use the
TSKAX0
command to eliminate altogether a task’s association with motion. This would be
appropriate for a task that is not involved in motion control, but may control I/O or start other tasks.
Example:
DEF main
; Begin definition of program called "main"
1%TSKAX1
; Associate Task1 with motion
2%TSKAX0
; Make Task2 independent of motion
1%move1
; Execute stored program "move1" in Task1
2%inout
; Execute stored program "inout" in Task2
END
TSKTRN
Task Turns Before Swapping
Type
Multi-Tasking
Syntax
i
1
%TSKTRNi
2
Units
i
1
= task number
i
2
= number of turns before task swap
Range
i
1
= 0-10
i
2
= 0-10,000
Default
i
1
= 0
i
2
= 1
Response
TSKTRN: *TSKTRN1
See Also
%, LOCK, TTASK, [ TASK ], TSWAP, [ SWAP ], TSKAX
Product Rev
GT6K 6.0
GV6K 6.0
Use the
TSKTRN
command to set the relative amount of processing time a task will get. Under default
multi-tasking operation, all active tasks have an equal share of processing time; that is, each task executes
one “turn” and then “swaps” control to the next active task. (A “turn” is the execution of a command, or a
portion of a complex command such as those for math and trig operators.)
For example, if Task2 issued a
TSKTRN6
command, while the other tasks stayed at
TSKTRN1
, Task2 would
execute 6 commands (or portions of long commands) before relinquishing control to another task.
The
TSKTRN
value for a task may be changed at any time, allowing a task to increase its weight for an
isolated section of program commands.
TSROFF
Transfer Resolver Offset Angle
Type
Transfer
Syntax
<a_><!>TSROFF
Units
angle offset, in degrees
Range
-180.0 to +180.0
Default
n/a
Response
TSROFF:
*TSROFF-90.0
See Also
DMODE,
SRSET
Product Rev
GT6K n/a
GV6K 6.0
(applicable only to
servo axes)
Use the
TSROFF
command to ascertain the actual resolver offset angle.
SRSET
sets the resolver offset angle.
When a non-zero value is specified for
SRSET
, it becomes the new offset angle. When no value is specified,
and the drive is in
DMODE11
(feedback alignment mode), then a routine is executed to automatically set the
resolver angle.
www.comoso.com
Summary of Contents for Gemini GV6K
Page 24: ...www comoso com...
Page 40: ...www comoso com...
Page 344: ...www comoso com...
Page 350: ...www comoso com...