Difference between revisions of "MC-Basic:element.VELOCITYCRUISE"

From SoftMC-Wiki
Jump to: navigation, search
(new page)
 
Line 1: Line 1:
 +
{{Languages|MC-Basic:element.VELOCITYCRUISE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Revision as of 10:00, 30 October 2017

Language: English  • 中文(简体)‎

This property specifies the desired cruise velocity. The motion generator attempts to reach this velocity 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 propertyis 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

See Also