MC-Basic:axis.VELOCITYOVERSPEED

From SoftMC-Wiki
Revision as of 08:29, 6 October 2011 by Miborich (talk | contribs)
Jump to: navigation, search

Set or query the axis VELOCITYOVERSPEED value. VELOCITYOVERSPEED defines an absolute motor velocity limit. When this limit is exceeded, an error is generated and the axis is brought to an immediate stop. While stopping, the overspeed condition is not checked. Further action may be taken by the program error handler.


NOTE-Info.svgNOTE
Note that VelocitySafetyLimit and VOSPD should be bigger than: 1000/ser.cycletime/VFac. In cases where vfac is set too low regular velocity values can trigger these. Issue 5267Bugzilla icon.png

Short form

<axis>.VOSPD

Syntax

<axis>.VelocityOverspeed = <value>

?<axis>.VelocityOverspeed

Availability

All versions

Type

Double floating point

Range

Greater than zero.

Units

User axis velocity units, as given by <axis>.VELOCITYFACTOR

Default

1.2*Vmax

Scope

Configuration, Task or Terminal

Limitations

To set the value within a task, the axis must be attached to that task (using the ATTACH command).

Examples

A1.VelocityOverspeed = a1.vmax

See Also