MC-Basic:element.POSITIONERRORMAX
Language: | English • 中文(简体) |
---|
Defines the maximum allowed error between position command and the position feedback. the position following error (PE) is calculated every sample time and compared to maximum position error PEMAX. If it exceeds the value of PEMAX, the element is brought to an immediate stop. If the element is at rest when the error is detected, the drives in the element are disabled. For a group, the position following error is calculated as the square root of the sum of the squares of each axis’ position error. The position following error on a group is Terminaled only when the group is in motion, or as long as it is attached by a task.
Short form
<element>.PEMax
Syntax
<element>.PositionErrorMax = <value>
Availability
All versions
Type
Double
Range
0 to MaxDouble
Units
User units
Default
1e-6
Scope
configuration, Task or Terminal
Limitations
Write only.
For axis - to set the value within a task, the axis must be attached to that task (using the ATTACH command).
Examples
Axis
A1.PEMax = 0.01
?A1.PEMax </br>
Group
G1=0.012
?G1.PEMAX