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
MLxRobotPositionTCP position to compare [X,Y,Z,Rx,Ry,Rz].
ReferenceTCP
MLxRobotPositionReference TCP position [X,Y,Z,Rx,Ry,Rz].
LinearTolerance
REALLinear Tolerance.
Implementation
Snippet of the function call:
dummy := MLxxCompareTCP(
CurrentTCP := ,
ReferenceTCP := ,
LinearTolerance := );