I am writing 2 programs that fixtures will be moved frequently.
My goal is I would like to prompt to ask - Has fixture been moved on CMM? ...something along those lines. So I can either skip the manual alignment OR run it while in protected mode for the techs.
How would I go about this? More Info can be provided and can post code if need to.
I would use a save/recall alignment.
Something like :
C1 =COMMENT/YESNO,
Has the fixture moved?
IF/C1.INPUT=="YES"
measure the fixture
Create the manual alignment
ASSIGN/V1="ALN1"
Save it as external alignment, name V1
END IF/
recall, external alignment V1
The first time after a move, you create and save the alignment, else you recall it.
After another move, you overwrite the file.
I would use a save/recall alignment.
Something like :
C1 =COMMENT/YESNO,
Has the fixture moved?
IF/C1.INPUT=="YES"
measure the fixture
Create the manual alignment
ASSIGN/V1="ALN1"
Save it as external alignment, name V1
END IF/
recall, external alignment V1
The first time after a move, you create and save the alignment, else you recall it.
After another move, you overwrite the file.