AXY:MC-Basic:group.ACCELERATIONFACTOR

From SoftMC-Wiki
Revision as of 16:09, 13 December 2010 by Arwiebe (talk | contribs) (1 revision)
Jump to: navigation, search

This property specifies the conversion factor between the user acceleration units and the internal units [counts per msec2].

In using ACCELERATIONFACTOR for a group, the position units are taken from the POSITIONFACTOR of the axes within the group. Thus the position units must not be specified in the group’s ACCELERATIONFACTOR.

Short form

<GROUP>.Afac

Syntax

<GROUP>.AccelerationFactor = <expression>

?<GROUP>.AccelerationFactor

Availability

All versions

Type

Double

Range

Greater than zero

Default

1/6e7. 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 group must be attached to that task (using the ATTACH command).

Examples

G1.Afac = 1 / (60000 * 1000)                     ‘work in per-minute-per-second

G1.Afac = 1 / (1000 * 1000)                       ‘work in per-second-squared

See Also