MC-Basic:axis.POSITIONMAXENABLE
This property is used to enable or disable the upper position limit.
Short form
<axis>.PMaxEn
Syntax
<axis>.PositionMaxEnable = <expression>
?<axis>.PositionMaxEnable
Availability
All versions
Type
Long
Range
0 (OFF)
1 (ON)
Default
0 (Disabled)
Scope
Configuration, Task or Terminal
Limitations
To set the value within a task, the axis must be attached to that task (using the ATTACH command).
Examples
Xaxis.PMaxEn = 1