336
Gemini GV6K/GT6K Command Reference
[ VELA ]
Velocity (Actual) Assignment
Type
Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
ERES, SCLV, TVEL, TVELA, [V], V, [VEL]
Product Rev
GT6K 6.0
GV6K 6.0
The
VELA
operator is used to compare the current
actual
velocity (as derived from the feedback device) to
another value or variable, or to assign the current velocity to a variable. If the programmed velocity
information is required, refer to the
[V]
operator; if the current commanded velocity information is
required, refer to the
[VEL]
operator.
The sign determines the direction of motion. You can use the
VELA
operator at all times; therefore, even if
no motion is being commanded,
TVELA
will still report a non-zero value as it detects the servoing action.
Syntax:
VARn=VELA
where “
n
” is the variable number, or
VELA
can be used in an expression such as
IF(VELA>4)
.
Units of Measure:
GT6K Steppers
: The velocity is always revs/sec (actual velocity in counts/sec multiplied by the
ERES
value if in
ENCCNT1
mode, or multiplied by
DRES
if in
ENCCNT0
mode).
GV6K Servos
: If scaling is enabled (
SCALE1
), the velocity value will be scaled by the velocity
scaling factor (
SCLV
). If scaling is not enabled (
SCALEØ
), the value returned will be in encoder
revs/sec or resolver revs/sec.
Example:
IF(VELA<25)
; If the current velocity is less than 25 units/sec,
; then do the statements between IF and NIF
VAR1=V*2
; Variable 1 = programmed velocity times 2
NIF
; End the IF statement
VF
Final Velocity
Type
Compiled Motion
Syntax
<a_><!>VF<r>
Units
n/a
Range
0 (non-zero values result in error message)
Default
0
Response
n/a
See Also
FOLRN, FOLRD, FOLMAS, FOLMD, GOBUF, SCLD, FOLEN, V
Product Rev
GT6K 6.0
GV6K 6.0
The
VF
command designates that the motor will move the load the programmed distance in a preset
GOBUF
segment, completing the move at a final speed of zero.
VF
applies only to the next (subsequent)
GOBUF
,
which marks an intermediate “end of move” within a profile.
VF
is used only in conjunction with the
GOBUF
command. Normal preset
GO
moves always finish with zero velocity.
The
VF
command remains in effect for the affected axis until a
GOBUF
is executed on that axis, or until you
issue a
RESET
command.
Any non-zero value that is entered for
VF
will result in an immediate error message.
www.comoso.com
Содержание Gemini GV6K
Страница 24: ...www comoso com...
Страница 40: ...www comoso com...
Страница 344: ...www comoso com...
Страница 350: ...www comoso com...