Re: An easy way to align part
hey proto / i also use something prety similar; here are the steps :
program 1 : detection of whatever geometry ( for example center of 2 holes ), so to compute the rotational angle + log the value
program 2 : check whatever else geometry, so to verify that rota angle was corect ( eq : check position of a 3rd hole, so to be sure that it is where it should be ); this step is not critical, but it gives peace of mind
main program : run
sometimes it may be possible ( by accident ) to forget to run program 1, or a fail on program 1 that won't make the operator aware : as a result, the rota angle is not computed correct; here are some sugestions, to handle this case :
... run program 2, or
... check inside main program, right at the begining, if program 1 was executed :
...... succesfull, and/or :
...... just before main program, and/or :
...... for the actual running session of the main program, and not for the previous run
* safety checks depend on available control functions
you know, safety 1st, or bet on the operators kindly
ps : if things are simple, than also it may be better to join all steps inside a single program, so to avoid the need to switch between programs; in such a case, it may be required to restart the program at a machining sequence, thus jumping over the step where the rota angle is computed; this can be achieved by /, or a restart flag, or a prompt, etc
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg