Difference between revisions of "MC-Basic:axis.POSITIONEXTROLLOVERMIN"
Line 16: | Line 16: | ||
:POSITIONEXTROLLOVERMIN = -180<br> | :POSITIONEXTROLLOVERMIN = -180<br> | ||
:POSITIONEXTROLLOVER = 360<br> | :POSITIONEXTROLLOVER = 360<br> | ||
− | <font color="red">The PEXT of the axis will run between | + | <font color="red">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. |
</font> | </font> | ||
Line 40: | Line 40: | ||
|EXAMPLE= | |EXAMPLE= | ||
− | A1.PositionExtRolloverMin = | + | A1.PositionExtRolloverMin = -180 <br> |
A1. PositionExtRollover = 360<br> | A1. PositionExtRollover = 360<br> | ||
− | ::::Coordinates are between | + | ::::Coordinates are between -180 and 180 degrees |
|SEE ALSO= | |SEE ALSO= |
Revision as of 09:49, 19 March 2014
When an axis POSITIONEXTROLLOVERENABLE flag is set (ON), it means the axis PEXT is rotary (i.e., the position coordinates of the axis are periodical). POSITIONEXTROLLOVER defines the period (the length of one revolution in user units) of the axis. POSITIONEXTROLLOVERMIN defines the lower limit coordinate of the revolution.
For example:
- 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
Read/Write, Configuration, Task, Terminal
Limitations
- The POSITIONEXTROLLOVERMIN value may be changed only when the axis is disabled.
- To set the value within a task, the axis must be attached to that task (using the ATTACH command).
Examples
A1.PositionExtRolloverMin = -180
A1. PositionExtRollover = 360
- Coordinates are between -180 and 180 degrees