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

From SoftMC-Wiki
Jump to: navigation, search
(new page)
 
(Added explanation about affect of VELOCITYSETTINGS on vcruise)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:element.VELOCITYCRUISE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 11: Line 12:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
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.
+
This property specifies the desired cruise velocity. When [[MC-Basic:element.VELOCITYSETTINGS|element.VELOCITYSETTINGS]]=ON, VCRUISE is ignored and [[MC-Basic:element.VELOCITYSCALE|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 [[MC-Basic:element.ACCELERATION|ACCELERATION]], [[MC-Basic:element.DECELERATION|DECELERATION]], [[MC-Basic:element.SMOOTHFACTOR|SMOOTHFACTOR]] and the final position. This property is used inside a motion command to override the permanent value.
  
 
|TYPE=
 
|TYPE=

Latest revision as of 06:41, 22 April 2022

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

See Also