consider a tool with offsets : X37.659 Z33.250 and radius0.8 at post11
this examples work anytime / anywhere : before or after turret index
1) bloking corections lower than -1 and greater than +0.5 mm
Code:
CALL OCHK1 LV01=VTOFX[11]+VTWOX[11] LV02=37.659-1 LV03=1.5 ( |-1|+0.5 )
CALL OCHK1 LV01=VTOFZ[11]+VTWOZ[11] LV02=33.250-1 LV03=1.5
or
CALL OCHK4 LV01=11 LV02=37.659-1 LV03=1.5 LV04=33.250-1 LV05=1.5
2) bloking corections lower than -1 mm
Code:
CALL OCHK2 LV01=VTOFX[11]+VTWOX[11] LV02=37.659-1
CALL OCHK2 LV01=VTOFZ[11]+VTWOZ[11] LV02=33.250-1
or
CALL OCHK5 LV01=11 LV02=37.659-1 LV03=33.250-1
3) bloking corections greater than 1 mm in absolute value
Code:
CALL OCHK3 LV01=VTOFX[11]+VTWOX[11] LV02=37.659 LV03=1
CALL OCHK3 LV01=VTOFZ[11]+VTWOZ[11] LV02=33.250 LV03=1
or
CALL OCHK6 LV01=11 LV02=37.659 LV03=1 LV04=33.250 LV05=1
4) blocking the radius to be always 0.8
Code:
VNSRX[11]=0.8
VNSRZ[11]=VNSRX[11]
5) blocking the offsets ( thus only wear allowed ) :
Code:
VTOFX[11]=37.659
VTOFZ[11]=33.250
6) blocking corections :
Code:
VTOFX[11]=37.659
VTOFZ[11]=33.250
VTWOX[11]=0
VTWOZ[11]=0
this examples work after turret index
1) bloking corections lower than -1 and greater than +0.5 mm
Code:
CALL OCHK1 LV01=VETFX LV02=37.659-1 LV03=1.5 ( |-1|+0.5 )
CALL OCHK1 LV01=VETFZ LV02=33.250-1 LV03=1.5
2) bloking corections lower than -1 mm
Code:
CALL OCHK2 LV01=VETFX LV02=37.659-1
CALL OCHK2 LV01=VETFZ LV02=33.250-1
3) bloking corections greater than 1 mm in absolute value
Code:
CALL OCHK3 LV01=VETFX LV02=37.659 LV03=1
CALL OCHK3 LV01=VETFZ LV02=33.250 LV03=1
after this last update, i can say that examples are more credible, more easier to understand
well, is not always easy to make things easy : i wonder why i did not thought like that from the begining