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

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
m (Text replace - "''<axis>''" to "<''axis''>")
Line 1: Line 1:
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
''<axis>''.Afac
+
<''axis''>.Afac
  
 
|SYNTAX=
 
|SYNTAX=
''<axis>''.AccelerationFactor = ''<expression>''<br>
+
<''axis''>.AccelerationFactor = ''<expression>''<br>
  
?''<axis>''.AccelerationFactor
+
?<''axis''>.AccelerationFactor
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 12: Line 12:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This property specifies the conversion factor between the user’s acceleration units and the internal units [counts per msec<sup>2</sup>]. The ''<axis>''.ACCELERATIONFACTOR must contain the conversion factor for both the position dimension and the time dimension.
+
This property specifies the conversion factor between the user’s acceleration units and the internal units [counts per msec<sup>2</sup>]. The <''axis''>.ACCELERATIONFACTOR must contain the conversion factor for both the position dimension and the time dimension.
  
 
|TYPE=
 
|TYPE=

Revision as of 17:33, 16 March 2014

This property specifies the conversion factor between the user’s acceleration units and the internal units [counts per msec2]. The <axis>.ACCELERATIONFACTOR must contain the conversion factor for both the position dimension and the time dimension.

Short form

<axis>.Afac

Syntax

<axis>.AccelerationFactor = <expression>

?<axis>.AccelerationFactor

Availability

All versions

Type

Double

Range

Greater than zero

Default

65536/6e7 (=1.092e-3). This value is suitable for working in units of RPM/second with resolver feedback.

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

A1.Afac = A1.Pfac / (1000 * 1000)                  ‘Position units per second squared

Xaxis.Afac = Xaxis.VelocityFactor / 1000         ‘Velocity units per second

See Also