MC-Basic:axis.POSITIONFACTOR

From SoftMC-Wiki
Revision as of 06:57, 14 August 2017 by Itay (talk | contribs)
Jump to: navigation, search
Language: [[::MC-Basic:axis.POSITIONFACTOR|English]]  • [[::MC-Basic:axis.POSITIONFACTOR/zh-hans|中文(简体)‎]]

This property specifies the conversion factor between the user position units and the internal units [counts]. Additional properties are used to set the velocity (VFAC), acceleration (AFAC) and jerk (JFAC) conversion factors. The position units for external feedback (load feedback) are set using the POSITIONEXTERNALFACTOR axis property.

Short form

<axis>.Pfac

Syntax

<axis>.PositionFactor = <expression>

?<axis>.PositionFactor

Availability

All versions

Type

Double

Range

Greater than zero

Default

65536 (for working in units of revolutions with resolver feedback)

Scope

Configuration, Task or Terminal

Limitations

  • Cannot be changed while axis is enabled.
  • Cannot be changed while axis is set as a master axis.
  • To set the value within a task, the axis must be attached to that task (using the ATTACH command).

Examples

If the encoder resolution is 1024 lines per revolution, the PFAC is set as:

Xaxis.pfac = 1024 × 4

The factor of 4 is for quadrature

See Also