MC-Basic:axis.VELOCITYEXTERNALFACTOR

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

The velocity factor of the external feedback is used to convert that value from counts per millisecond into physical units.

Short form

<axis>.VExtFac

Syntax

<axis>.VelocityExternalFactor = <expression>
?<axis>.VExtFac

Availability

All versions

Type

Double

Range

Greater than 0

Default

1

Scope

Configuration, Task or Terminal

Limitations

Cannot be changed while axis is enabled or while axis is set up as a master axis.

Examples

If the feedback resolution is 2000 counts, and you want to work in RPM, the VFAC is set as:

Xaxis.vExtFac = 2000/60000

To work in revolutions per second, the VFAC must be set as:

Xaxis.VExtFac = 2000/1000

See Also