Parker Automation Gemini GV6K Command Reference Manual page 186

Servo drive/controller
Table of Contents

Advertisement

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 fluctuate +/- 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
The
command branches to the corresponding program name or label when executed. A program or
JUMP
label name consists of 6 or fewer alpha-numeric characters.
All nested
s,
s, and
IF
WHILE
the
initiates will not return control to the line after the
JUMP
Instead, the program will end.
If an invalid program or label name is entered, the
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
184
Gemini GV6K/GT6K Command Reference
s, loops, and subroutines are cleared; thus, the program or label that
REPEAT
will be ignored, and processing will continue with
JUMP
www.comoso.com
, when the program completes operation.
JUMP
Product
Rev
GT6K
6.0
GV6K
6.0
*
*
*
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents