MC-Basic:axis.POSITIONROLLOVERENABLE
This property is used to enable or disable position rollover. When position rollover is enabled, the axis POSITIONROLLOVER property has relevance and the position command and feedback values are the modulus of the POSITIONROLLOVER property value.
0 (OFF) - Rollover is disabled
1 (ON) - Rollover is enabled
Short form
<axis>.Prolen
Syntax
<axis>.PositionRollOverEnable= <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.PositionRollover = 1000 ‘Set rollover value
A1.PositionRollOverEnable = On ‘Enable position rollover