this is your code :
Code:
measurement Y
VFST=#83H ( this is y measuring, so is ok )
CALL OO30 PY=30 PD=99
M2
calibration Y
VFST=#80H ( this is not y calibration, but z breakage )
CALL OO30 PAXI=#17H PLI=199.947 PY=24.997
M02
please be carefull :
1) you don't have to change VFST; calibration and measuring are done with same VFST value; i just shared a table at my previous post
2) so far, you have used 2 different PLI values : 199.947 and 150.02; be carefull, because the manuals are specifing that during calibration, PLI has to be constant ... if you use different values, you have to be sure about what you are doing if you use 2 test bars, it may seem ok, but it may be possible that those 2 test bars have different spindle-line references ... however, it should work if the difference between those is small, but to avoid any doubts, use a single test-bar
please take a look; i hope it works
Code:
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
1. CALIBRATION
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
1.1) z calibration for z offset, or HA ; requires VFST = 81H or VFST = 129
CALL OO30 VFST=81H PAXI=7 PLI=123.456
1.2) xy calibration for z offset, or HA ; requires VFST = 81H or VFST = 129
CALL OO30 VFST=81H PAXI=3
1.3) y calibration for radius, or DA ; requires VFST = 83H or VFST = 131
CALL OO30 VFST=83H PAXI=#17H PLI=123.456 PY=radius of test bar
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
2. MEASUREMENT
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
2.1) z offset, or HA ; requires VFST = 81H or VFST = 129
CALL OO30 VFST=81H ( spindle will be concentric with the senzor )
CALL OO30 VFST=81H PX=10 ( spindle will be shifted in x by 10 )
CALL OO30 VFST=81H PY=20 ( spindle will be shifted in y by 20 )
CALL OO30 VFST=81H PX=10 PY=20 ( spindle will be shifted in x by 10, and in y by 20 )
CALL OO30 VFST=81H PRS=50 ( spindle will be concentric with the senzor, but rotated at 50* - this is for measuring indexing tools, thus tools with inserts )
CALL OO30 VFST=81H PRS=120 PX=10 PY=5 ( spindle phase 120degrees, x shifted 10, y shifted 5 )
2.2) y offset, or DA ; requires VFST = 83H or VFST = 131
CALL OO30 VFST=83H PY=20 ( spindle phase 0degrees, will expect to measure a tool with radius aprox20 )
2.3) z & y offset, HA and DA ; requires VFST = 86H or VFST = 134
CALL OO30 VFST=86H PY=20
= = = = = = = = = = = = = = = = = = = = = = =
3. BREAKAGE DETECTION
= = = = = = = = = = = = = = = = = = = = = = =
// just let me know if you need it :)