Parker Automation Gemini GV6K Command Reference Manual page 332

Servo drive/controller
Table of Contents

Advertisement

Example:
SCALE1
SCLA25000
SCLV25000
SCLD1
DEL proge
DEF proge
MA0
MC0
A10
V1
D100000
GO1
END
[ V ]
Velocity (Programmed) Assignment
Type
Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
GO, SCALE, SCLV, V, [ VEL ]
The velocity assignment operator (
variable, or to assign the current programmed velocity to a variable.
Syntax:
where "
VARn=V
n
The (
) value used in any comparison, or in any assignment statement is the programmed (
V
actual velocity information is required, refer to the
UNITS OF MEASURE and SCALING: refer to page 16.
Example:
IF(V<25)
; If the programmed velocity is less than 25
; units/sec, then do the statements between the IF and NIF
VAR1=V*2
; Variable 1 = programmed velocity times 2
V(VAR1)
; Set the velocity to the value of variable 1
NIF
; End the IF statement
VAR
Numeric Variable Assignment
Type
Variable
Syntax
<a_><!>VAR<i><=r>
Units
i = variable number
r = number or expression
Range
i = 1-225
r = ±999,999,999.99999999
Default
n/a
Response
VAR1:
*VAR1=+0.0
See Also
DVAR, VARB, VARCLR, VARI, VCVT, VARS, WRVAR
Numeric variables can be used to store any real number value, with a range from -999,999,999.99999999 to
+999,999,999.99999999. The information is assigned to the variable with the equal sign
(e.g.,
).
VAR1=32.3
330
Gemini GV6K/GT6K Command Reference
; Enable scaling
; Set the acceleration scaling factor to
; 25000 counts/unit/unit
; Set the velocity scaling factor to 25000 counts/unit
; Set the distance scaling factor to 1 count/unit
; Delete program called proge
; Begin definition of program called proge
; Incremental positioning mode
; Preset positioning mode
; Set the acceleration to 10 units/sec/sec
; Set the velocity to 1 units/sec
; Set the distance to 100000 units
; Initiate motion
; End definition of proge
) is used to compare the programmed velocity value to another value or
V
" is the variable number, or
V
or
VEL
www.comoso.com
can be used in an expression such as
command.
VELA
Product
Rev
GT6K
6.0
GV6K
6.0
IF(V<25)
) value. If the
V
Product
Rev
GT6K
6.0
GV6K
6.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents