MC-Basic:element.VELOCITYFACTOR
This property specifies the conversion factor between the user velocity units and the internal units [counts per msec].
The axis VELOCITYFACTOR must contain the conversion factor for both the position dimension and the time dimension.
NOTE | |
In using VELOCITYFACTOR for a group, the position units are taken from the POSITIONFACTOR of the axes within the group. The position units must not be specified in the group’s VELOCITYFACTOR. |
For axis - The velocity units for external feedback (load feedback) are set using the VELOCITYEXTERNALFACTOR axis property
Short form
<element>.Vfac
Syntax
<element>.VelocityFactor = <expression>
?<element>.VelocityFactor
Availability
All versions
Type
Double
Range
Greater than zero
Default
Group - 1/60000 (for working in units of position units per minute)
Axis - 65536/60000 (≈1.092). This value is suitable for working in units of rpm with resolver feedback.
Scope
Configuration, Task or Terminal
Limitations
Cannot be changed while element is enabled or while axis is set up as a master element.
To set the value within a task, the element must be attached to that task (using the ATTACH command).
Examples
Axis
A1.Vfac = 1/1000 ‘work in counts per second
A1.VelocityFactor = A1.PositionFactor / 60000 ‘work in position units per minute
Group
G1.Vfac = 1 / 60000 ‘work in per minute
G1.Vfac = 1 / 1000 ‘work in per second