Difference between revisions of "MC-Basic:axis.POSITIONEXTROLLOVERMIN"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= <''axis name''>.PositionExtRolloverMin = <''value''><br> ?<''axis name''>.PositionExtRolloverMin |AVAILABILITY= |DESCRIPTION= When an axis h…') |
m (1 revision) |
(No difference)
|
Revision as of 16:09, 13 December 2010
When an axis has the POSITIONEXTROLLOVERENABLE flag set (ON), it means that this PEXT of the axis is rotary (i.e., the position coordinates of the axis are periodical). POSITIONEXTROLLOVER defines the period (the length one revolution in user units) of the axis. POSITIONEXTROLLOVERMIN defines the lower limit coordinate of the revolution. So if we have:
POSITIONEXTROLLOVERENABLE = 1
POSITIONEXTROLLOVERMIN = -180
POSITIONEXTROLLOVER = 360
The PEXT of the axis will run between –180 and +180 degrees. If we move by one degree in positive direction from 180 the PEXT value will be –179.
Syntax
<axis name>.PositionExtRolloverMin = <value>
?<axis name>.PositionExtRolloverMin
Type
Double
Range
MinDouble-MaxDouble
Default
-180
Scope
R/W, Configuration, Task, Terminal
Limitations
The POSITIONEXTROLLOVERMIN value may be changed only when the axis is disabled. In order to set the value within a task, the motion element must be attached to that task (using the ATTACH command).
Examples
A1.PositionExtRolloverMin = -180
A1. PositionExtRollover = 360
then we have coordinates between –180 and 180 degrees