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

From SoftMC-Wiki
Jump to: navigation, search
(Added link to VelocitySettings)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This property sets the acceleration rate of the motion profile. When executing a motion command, ACCELERATION should be less than or equal to ACCELERATIONMAX. If it is greater, the motion is executed using the ACCELERATIONMAX value. This property can be used inside a motion command to override the permanent value.
+
This property sets the acceleration rate of the motion profile. When executing a motion command, ACCELERATION should be less than or equal to [[MC-Basic:element.ACCELERATIONMAX |ACCELERATIONMAX]]. If it is greater, the motion is executed using the ACCELERATIONMAX value. This property can be used inside a motion command to override the permanent value.
 +
 
 +
Active only when [[MC-Basic:element.VELOCITYSETTINGS|VelocitySettings]] is set to 0. When VelocitySettings is set to 1, [[MC-Basic:element.ASCALE|ASCALE]] is used.
  
 
|TYPE=
 
|TYPE=
Line 56: Line 58:
 
* [[MC-Basic:axis.ACCELERATIONCOMMAND|axis.ACCELERATIONCOMMAND]]
 
* [[MC-Basic:axis.ACCELERATIONCOMMAND|axis.ACCELERATIONCOMMAND]]
 
* [[MC-Basic:element.ACCELERATIONFEEDBACK|element.ACCELERATIONFEEDBACK]]
 
* [[MC-Basic:element.ACCELERATIONFEEDBACK|element.ACCELERATIONFEEDBACK]]
 
+
* [[MC-Basic:element.ASCALE|element.ASCALE]]
  
 
}}
 
}}

Latest revision as of 09:21, 26 January 2024

Language: English  • 中文(简体)‎

This property sets the acceleration rate of the motion profile. When executing a motion command, ACCELERATION should be less than or equal to ACCELERATIONMAX. If it is greater, the motion is executed using the ACCELERATIONMAX value. This property can be used inside a motion command to override the permanent value.

Active only when VelocitySettings is set to 0. When VelocitySettings is set to 1, ASCALE is used.

Short form

<element>.Acc

Syntax

<element>.Acceleration = <expression >

?<element>.Acceleration

Availability

All versions

Type

Double

Range

Greater than 0

Units

User element acceleration units, as given by <element>.ACCELERATIONFACTOR

Default

Group = 500
Axis = 1000

Scope

Configuration, Task or Terminal

Limitations

The ratio between jerk and acceleration is limited by the following relation:
       Jerk/Acc < 0.9 * p/5T

where T is the sample time in seconds. For a cycle time of 2 msec, this value is 282.74. Use SMOOTHFACTOR to have jerk calculated automatically.

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

Examples

Axis
A1.acceleration = 1e10
Move A1 100 acc = 2e10

Group G1.acceleration = 1e10

Move G1 (100, 200) acc = 2e10

See Also