184
Gemini GV6K/GT6K Command Reference
1JOYCDB.17=0.5
; Set center deadband to compensate for the fact that
; when the joystick is at rest, the voltage received on
; the analog input may flu/- 0.5V on either
; side of the zero-velocity center established with JOYZ.
1JOYEDB.17=2.0
; Set end deadband to compensate for the fact that the
; joystick can produce only -8.0V to +8.0V.
;**************************************************
JOY1
; Enable joystick mode
JUMP
Jump to a Program or Label (and do not return)
Type
Program or Subroutine Definition or Program Flow Control
Syntax
<a_><!>JUMP<t>
Units
t = text (name of program/label)
Range
Text name of 6 characters or less
Default
n/a
Response
n/a
See Also
$, DEF, DEL, END, GOSUB, GOTO, IF, L, LN, NIF, NWHILE, REPEAT,
RUN, UNTIL, WHILE
Product Rev
GT6K 6.0
GV6K 6.0
The
JUMP
command branches to the corresponding program name or label when executed. A program or
label name consists of 6 or fewer alpha-numeric characters.
All nested
IF
s,
WHILE
s, and
REPEAT
s, loops, and subroutines are cleared; thus, the program or label that
the
JUMP
initiates will
not
return control to the line after the
JUMP
, when the program completes operation.
Instead, the program will end.
If an invalid program or label name is entered, the
JUMP
will be ignored, and processing will continue with
the line after the
JUMP
.
Example
; ***********************************************************************
; * In this example, the program bottom is executed and calls the top *
; * subroutine. The top subroutine then initiates motion (GO1) and *
; * jumps to the program called middle to turn on output #2. Then, *
; * because the JUMP command cleared the top subroutine, program *
; * execution is terminated instead of returning to the bottom program. *
; ***********************************************************************
DEL top
; Delete program top
DEF top
; Begin definition program top
GO1
; Initiate motion
JUMP middle
; Jump to program middle
END
; End subroutine definition
DEL middle
; Delete program middle
DEF middle
; Begin definition of program middle
OUTx1
; Turn on output #2
END
; End program definition
DEL bottom
; Delete program bottom
DEF bottom
; Begin definition of program bottom
GOSUB top
; Gosub to program top
GO1
; Initiate motion
END
; End subroutine definition
RUN bottom
; Execute program bottom
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...