196
Gemini GV6K/GT6K Command Reference
NOTE
:
LJRAT
must be set in order for the Electronic Viscosity (
DELVIS
) and Active Damping (
DACTDP
)
features to function properly.
Working with servo gains
.
•
Servo tuning process: refer to the
Hardware Installation Guide
.
•
Check the values of all active gains (
LJRAT
is one of many servo gains): use
TGAIN
.
•
Creating and invoking gain sets: see
SGSET
,
SGENB
,
TGAIN
,
TSGSET
.
LN
End of Loop
Type
Loops or Program Flow Control
Syntax
<a_><!>LN
Units
n/a
Range
n/a
Default
n/a
Response
No
response;
used
in
conjunction
with
the
L
command
See Also
L,
LX
Product Rev
GT6K 6.0
GV6K 6.0
The
LN
command marks the end of a loop. You must use this command in conjunction with the Loop (
L
)
command. All buffered commands that you enter between the
L
and
LN
commands are executed as many
times as the number that you enter following the
L
command. You may nest loops up to 16 levels deep.
NOTE
: Be careful about performing a
GOTO
between the
L
and
LN
commands. Branching to a different
location within the same program will cause the next loop encountered to be nested within the previous
loop, unless an
LN
command has already been encountered.
Example:
L5
; Repeat the commands between L and LN five times
GO1
; Start motion
LN
; End loop
LOCK
Lock Resource to Task
Type
Multi-tasking
Syntax
<a_><!>LOCK<i,i>
Units
1st i = resource number
2nd i = 1 (lock the resource) or 0 (unlock the resource)
Range
1st i = 1 (COM1 port), 2 (COM2 port),
or 3 (task swapping)
2nd i = 1 (lock the resource) or 0 (unlock the resource)
Default
0 (= not locked)
Response
LOCK
(see example below)
See Also
[ , ], DRPCHK, E, PORT, TSKTRN
Product Rev
GT6K 6.0
GV6K 6.0
Use the
LOCK
command to make a resource available only to the specified task. The
LOCK
-able resources are:
•
COM1 — the “
RS-232/485
” communication port or the “
ETHERNET
” communication port
•
COM2 — the “
RS-232
” communication port
•
Task Swapping — When task swapping is locked to a specific task, statements in all other tasks will
not be executed until task swapping is again unlocked.
To check the
LOCK
status of all available resources, enter the
LOCK
command without field value. Below is
an example response:
*LOCK1,0 COM PORT 1 - UNLOCKED
*LOCK2,0 COM PORT 2 - UNLOCKED
*LOCK3,0 TASK SWAPPING - UNLOCKED
See the
Programmer’s Guide
for more information about using the
LOCK
command with multi-tasking.
www.comoso.com
Содержание Gemini GV6K
Страница 24: ...www comoso com...
Страница 40: ...www comoso com...
Страница 344: ...www comoso com...
Страница 350: ...www comoso com...