Difference between revisions of "MC-Basic:axis.POSITIONFACTOR"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
(AXY: new links)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:axis.POSITIONFACTOR}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
''<axis>''.Pfac
+
<''axis''>.Pfac
  
 
|SYNTAX=
 
|SYNTAX=
''<axis>''.PositionFactor = ''<expression>''<br>
+
<''axis''>.PositionFactor = <''expression''><br>
  
?''<axis>''.PositionFactor
+
?<''axis''>.PositionFactor
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 12: Line 13:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This property specifies the conversion factor between the user’s 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.
+
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.
  
 
|TYPE=
 
|TYPE=
Line 30: Line 31:
  
 
|LIMITATIONS=
 
|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).
+
* 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).
  
 
|EXAMPLE=
 
|EXAMPLE=
 
If the encoder resolution is 1024 lines per revolution, the PFAC is set as:<br>
 
If the encoder resolution is 1024 lines per revolution, the PFAC is set as:<br>
       Xaxis.pfac = 1024 * 4<br>
+
:Xaxis.pfac = 1024 × 4<br>
 
 
 
The factor of 4 is for quadrature
 
The factor of 4 is for quadrature
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:axis.ACCELERATIONFACTOR|axis.ACCELERATIONFACTOR]]
+
* [[MC-Basic:element.ACCELERATIONFACTOR|axis.ACCELERATIONFACTOR]]
* [[Axystems:MC-Basic:axis.JERKFACTOR|axis.JERKFACTOR]]
+
* [[MC-Basic:element.JERKFACTOR|axis.JERKFACTOR]]
* [[Axystems:MC-Basic:axis.POSITIONEXTERNALFACTOR|axis.POSITIONEXTERNALFACTOR]]
+
* [[MC-Basic:axis.POSITIONEXTERNALFACTOR|axis.POSITIONEXTERNALFACTOR]]
* [[Axystems:MC-Basic:axis.VELOCITYFACTOR|axis.VELOCITYFACTOR]]
+
* [[MC-Basic:element.VELOCITYFACTOR|axis.VELOCITYFACTOR]]
  
  
 
}}
 
}}

Latest revision as of 09:42, 13 September 2017

Language: English  • 中文(简体)‎

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