MC-Basic:element.VELOCITYCRUISE
Language: | English • 中文(简体) |
---|
This property specifies the desired cruise velocity. When element.VELOCITYSETTINGS=ON, VCRUISE is ignored and VSCALE is used instead. The motion generator attempts to reach VCRUISE during motion commands. The ability of the motion generator to reach this value is constrained by the value of ACCELERATION, DECELERATION, SMOOTHFACTOR and the final position. This property is used inside a motion command to override the permanent value.
Short form
<element>.Vcruise
Syntax
<element>.VelocityCruise = <expression>
?<element>.VelocityCruise
Availability
All versions
Type
Double
Range
Greater than 0, less than <element>.VELOCITYMAX
Units
User velocity units, as given by <element>.VELOCITYFACTOR
Default
Group - 250 counts per msec
Axis - 500 counts per msec
Scope
Task or Terminal
Limitations
The actual cruise velocity cannot exceed the limit set by VELOCITYMAX. If this command is issued with VCRUISE greater than VMAX, the command is executed, but the velocity is limited by VMAX.
To set the value within a task, the element must be attached to that task (using the ATTACH command).
Examples
Axis
A1.VelocityCruise =67
Move A1 TargetPos Vcruise = xaxis.vmax
Group
G1.VelocityCruise =67
Move G1 {100, 200} Vcruise = xaxis.vmax