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

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{Languages|MC-Basic:element.ASCALE}} {{MC-Basic |SHORT FORM= <''element''>.Ascale |SYNTAX= <''element''>.AScale = <''expression''><br> ?<''element''>.AScale |AVAILABILITY=...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 12: Line 12:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This property specifies percentage of desired acceleration and deceleration compared to maximal possible velocity for this type of movement. 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 properties used inside a motion command to override the permanent value.
+
This property specifies percentage of desired acceleration and deceleration compared to the maximal possible acceleration and deceleration for this type of movement. The motion profile generator attempts to reach this value during motion commands. The ability of the motion profile generator to reach this value is constrained by the value of [[MC-Basic:element.ACCELERATIONMAX|ACCELERATIONMAX]], [[MC-Basic:element.DECELERATIONMAX|DECELERATIONMAX]], [[MC-Basic:element.SMOOTHFACTOR|SMOOTHFACTOR]] and the final position. This property is used inside a motion command to override the permanent value.
  
Active only when [[MC-Basic:element.velocitysettings|VelocitySettings]] is set to 1.
+
Active only when [[MC-Basic:element.velocitysettings|VelocitySettings]] is set to 1. When [[MC-Basic:element.velocitysettings|VelocitySettings]] is set to 0, [[MC-Basic:element.ACCELERATION|ACCELERATION]] and [[MC-Basic:element.DECELERATION|DECELERATION]] are used instead of ASCALE.
  
 
|TYPE=
 
|TYPE=
Line 20: Line 20:
  
 
|RANGE=
 
|RANGE=
0.1 ... 100
+
1 ... 100
  
 
|UNITS=
 
|UNITS=
Line 46: Line 46:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:ATTACH|ATTACH]]
 
* [[MC-Basic:ATTACH|ATTACH]]
* [[MC-Basic:element.VELOCITYCRUISE|VELOCITYCRUISE]]
+
* [[MC-Basic:element.VELOCITYSCALE|VELOCITYSCALE]]
  
  
 
}}
 
}}

Latest revision as of 09:15, 26 January 2024

Language: English

This property specifies percentage of desired acceleration and deceleration compared to the maximal possible acceleration and deceleration for this type of movement. The motion profile generator attempts to reach this value during motion commands. The ability of the motion profile generator to reach this value is constrained by the value of ACCELERATIONMAX, DECELERATIONMAX, SMOOTHFACTOR and the final position. This property is used inside a motion command to override the permanent value.

Active only when VelocitySettings is set to 1. When VelocitySettings is set to 0, ACCELERATION and DECELERATION are used instead of ASCALE.

Short form

<element>.Ascale

Syntax

<element>.AScale = <expression>
?<element>.AScale

Type

Double

Range

1 ... 100

Units

percentage

Default

100%

Scope

Task or Terminal

Limitations

To set the value within a task, the element must be attached to that task (using the ATTACH command).

Examples

Axis
A1.AScale =30
Move A1 TargetPos Ascale = 20

Group
G1.AScale =40
Move G1 {100, 200} Ascale = 22

See Also