Vr (vector speed ratio), Motion, N is an integer with a resolution of .0001 – Yaskawa LEGEND-MC User Manual
Page 248: Vr contains the vector speed ratio
238
LEGEND-MC User’s Manual
VR (Vector Speed Ratio)
[Motion]
DESCRIPTION:
The VR sets a ratio to be used as a multiplier of the current vector speed. The vector speed can be set by the
command VS or the operators < and > used with CR, VP and LI commands. VR takes effect immediately
and will ratio all the following vector speed commands. VR doesn't ratio acceleration or deceleration, but
the change in speed is accomplished by accelerating or decelerating at the rate specified by VA and VD.
ARGUMENTS: VR n
where
n is an integer with a resolution of .0001.
USAGE:
OPERAND USAGE:
_VR contains the vector speed ratio.
RELATED COMMANDS:
EXAMPLES:
NOTE: UseVR for feedrate override, when specifying the speed of individual segments using the
operator ‘<’.
While Moving
Yes
Minimum n Value
0.0001
In a Program
Yes
Maximum n Value
10
Command Line
Yes
Default Value
1
Default Format
-
Distributed Control
No, Local
"VS" on page
Vector Speed
#A
Vector Program
VMXY
Vector Mode
VP 1000,2000
Vector Position
VE
End Sequence
VS 2000
Vector Speed
BGS
Begin Sequence
AMS
After Motion
JP#A
Repeat Move
#SPEED
Speed Override
VR@AN[1]*.1
Read analog input compute ratio
JP#SPEED
Loop
XQ#A,0; XQ#SPEED,1
Execute task 0 and 1 simultaneously