PosLowerLevels Property
Application
Force Motion Restriction Object FMR#
Description
This sets or returns the lower threshold value of position of each axis, movement distance and rotation angle at the same time.
Immediate Execution
No
Usage
FGet Object.PosLowerLevels, rArray()
FSet Object.PosLowerLevels, rValuePosX, rValuePosY, rValuePosZ, rValueDist, rValueRot
Object
Object name
The object is specified as either of FMR (numerical value) or FMR (label).rArray()
The number of elements defining the values of the property is an array of 5 or more real number variablesrValuePosX
A real number or formula defining the new value of the propertyrValuePosY
A real number or formula defining the new value of the propertyrValuePosZ
A real number or formula defining the new value of the propertyrValueDist
A real number or formula defining the new value of the propertyrValueRot
A real number or formula defining the new value of the property
Values
rArray()
Element number | Element number constant | Description |
---|---|---|
0 | FG_X | Acquires the lower threshold value for position of X axis. |
1 | FG_Y | Acquires the lower threshold value for position of Y axis. |
2 | FG_Z | Acquires the lower threshold value for position of Z axis. |
3 | FG_Dist | Acquires the lower threshold value for position of movement distance. |
4 | FG_Rot | Acquires the lower threshold value for position of rotation angle. |
rValuePosX, rValuePosY, rValuePosZ (Unit: [mm])
Values | |
---|---|
Minimum | -20000 (default) |
Maximum | 20000 |
rValueDist (Unit: [mm])
Values | |
---|---|
Minimum | 0 (default) |
Maximum | 20000 |
rValueRot (Unit: [Degree])
Values | |
---|---|
Minimum | 0 (default) |
Maximum | 180 |
Detailed Explanation
PosLowerLevels set or return the lower threshold value of position of each axis, movement distance and rotation angle at the same time.
Be sure that PosLowerLevels < PosUpperLevels.
Since lower threshold values for position of each axis, movement distance and rotation angle are set at one time, it can be done with fewer lines than setting them one axis at a time.
This is used for error checking and task completion conditions.
Usage Example
This example generates an error and stops the robot if position, movement distance and rotation angle is less than the lower threshold value.
Function SettingLevels
FSet FMR1.PosEnabled, True, True, True, True, True
FSet FMR1.PosPolarities, FG_OUT, FG_OUT, FG_OUT, FG_OUT, FG_OUT
FSet FMR1.PosLowerLevels, -100, -100, -100, 0, 0
Trap 1, FMR1 Call ForceError
Fend
Function ForceError
AbortMotion All
Fend
See Also
Force Motion Restriction Object FMR#