Difference between revisions of "MC-Basic:axis.POSITIONEXTROLLOVERENABLE"
m (Text replace - "''<axis>''" to "<''axis''>") |
|||
Line 12: | Line 12: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | This property is used to enable or disable position rollover on PEXT. When position | + | <font color="red"> |
− | + | This property is used to enable or disable position rollover on PEXT. When position external rollover is enabled, the axis POSITIONEXTROLLOVER property has relevance and the PEXT value is the modulus of the POSITIONEXTROLLOVER property value.<br> | |
− | + | </font> | |
+ | 0 (OFF - Rollover is disabled)<br> | ||
+ | 1 (ON - Rollover is enabled) | ||
|TYPE= | |TYPE= | ||
Line 20: | Line 22: | ||
|RANGE= | |RANGE= | ||
− | 0 (OFF) | + | 0 (OFF)<br> |
+ | 1 (ON) | ||
|UNITS= | |UNITS= | ||
Line 32: | Line 35: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | The position rollover setting may be changed only when the axis is disabled | + | * The position rollover setting 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). | |
− | To set the value within a task, the axis must be attached to that task (using the ATTACH command). | ||
|EXAMPLE= | |EXAMPLE= | ||
− | A1.PositionExtRollover = | + | A1.PositionExtRollover = 1000 |
+ | ::::Set rollover value<br> | ||
− | A1.PositionExtRollOverEnable = | + | A1.PositionExtRollOverEnable = On |
+ | ::::Enable position rollover | ||
|SEE ALSO= | |SEE ALSO= |
Revision as of 09:38, 19 March 2014
This property is used to enable or disable position rollover on PEXT. When position external rollover is enabled, the axis POSITIONEXTROLLOVER property has relevance and the PEXT value is the modulus of the POSITIONEXTROLLOVER property value.
0 (OFF - Rollover is disabled)
1 (ON - Rollover is enabled)
Syntax
<axis>.PositionExtRollOverEnable= <option>
?<axis>.PositionRollOverEnable
Availability
All versions
Type
Long
Range
0 (OFF)
1 (ON)
Default
0
Scope
Configuration, Task or Terminal
Limitations
- The position rollover setting 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.PositionExtRollover = 1000
- Set rollover value
- Set rollover value
A1.PositionExtRollOverEnable = On
- Enable position rollover