Difference between revisions of "AXY:MC-Basic:group.ACCELERATIONFACTOR"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
m (note template)
Line 14: Line 14:
 
This property specifies the conversion factor between the user acceleration units and the internal units [counts per msec2].
 
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.
+
{{Note|
 +
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.
 +
}}
  
 
|TYPE=
 
|TYPE=

Revision as of 17:54, 13 December 2010

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

NOTE-Info.svgNOTE

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