MC-Basic:axis.POSITIONEXTROLLOVERENABLE
Language: | English • 中文(简体) |
---|
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>.PositionExtRollOverEnable
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