Compare two TCP (cartesian) positions.
Compare TCP position to a reference position.
If the difference is less than the
LinearTolerance
,
the function block output is true
.
If the angular TCP position difference is greater or equal to 0.001
degrees,
function block always returns false
.
Version history
0.1.0
 
deGroot
Changes
Changed:
- source code ported
- version number reset
- now using semantic versioning
Overview
kind | name | type | default | comment |
---|---|---|---|---|
input | CurrentTCP | MLxRobotPosition | ||
input | ReferenceTCP | MLxRobotPosition | ||
input | LinearTolerance | REAL |
Details
CurrentTCP
MLxRobotPosition
TCP position to compare [X,Y,Z,Rx,Ry,Rz]
.
ReferenceTCP
MLxRobotPosition
Reference TCP position [X,Y,Z,Rx,Ry,Rz]
.
LinearTolerance
REAL
Linear Tolerance.
Implementation
Snippet of the function call:
dummy := MLxxCompareTCP(
CurrentTCP := ,
ReferenceTCP := ,
LinearTolerance := );