if condition_evaluated_to_true then execute_true_branch
execute_true_branch allowed syntaxes are : " GOTO N* " and " N* "
Code:
IF [ VTOFH [ 13 ] GE 11.5 ] NGOOD
M0 ( hey )
NGOOD
Code:
IF [ VTOFH [ LV01 ] GE LV02 ] NGOOD
M0 ( hey )
NGOOD
( LV01 may contian the value of VTLCN, or may be replaced with VTLVN, etc )
( LV03 may contian the value of a real number, or may be replaced with a real number, etc )
( local variables can be created when a tool change macro is called : CALL LV01=13 LV02=next_tool LV03=11.5 )
a tool change macro may be called to also execute the following :
... offset > minimal_target ( m : greater than minimal )
... offset < maximal_target ( M : lower than maximal )
... minimal_target < offset < maximal_target ( mM : bounding )
... if you consider :
...... ( minimal_target + maximal_target ) / 2 = medium_offset
...... maximal_targer - minimal_target = 2 * tolerance, than above condition becames | offset - medium_offset | < tolerance ( mM : symetrical bounding )
... offset = target, thus no corrections are allowed
... etc
i have developed this for lathes, and i will write codes for mill only when a series will kick in now we are machining uniques ...
i can raise the safety level, at least for osp300 kindly !