Difference between revisions of "MC-Basic:element.ACCELERATIONFACTOR"
(new page) |
m |
||
Line 50: | Line 50: | ||
|SEE ALSO= | |SEE ALSO= | ||
+ | * [[MC-Basic:ATTACH|ATTACH]] | ||
* [[MC-Basic:element.JERKFACTOR|element.JERKFACTOR]] | * [[MC-Basic:element.JERKFACTOR|element.JERKFACTOR]] | ||
* [[MC-Basic:element.VELOCITYFACTOR|element.VELOCITYFACTOR]] | * [[MC-Basic:element.VELOCITYFACTOR|element.VELOCITYFACTOR]] |
Revision as of 08:44, 26 June 2017
This property specifies the conversion factor between the user’s acceleration units and the internal units [counts per msec2]. The <element>.ACCELERATIONFACTOR must contain the conversion factor for both the position dimension and the time dimension.
Short form
<element>.Afac
Syntax
<element>.AccelerationFactor = <expression>
?<element>.AccelerationFactor
Availability
All versions
Type
Double
Range
Greater than zero
Default
Axis = 71.5828
This value is suitable for working in units of RPM/second with resolver feedback.
Group = 65536/6e7 (=1.092e-3).
This value is suitable for working in units of position units per minute per second
Scope
Configuration, Task or Terminal.
Limitations
Cannot be changed while axis is enabled or while axis is set up as a Master axis.
To set the value within a task, the axis must be attached to that task (using the ATTACH command).
Examples
Axis
A1.Afac = A1.Pfac / (1000 * 1000) ‘Position units per second squared
A1.Afac = Xaxis.VelocityFactor / 1000 ‘Velocity units per second
Group
G1.Afac = 1 / (60000 * 1000) ‘work in per-minute-per-second
G1.Afac = 1 / (1000 * 1000) ‘work in per-second-squared