hexagon logo

Automation to enforce daily process

Hello,
We have a pair of calibration programs that need to be run at the beginning of the day prior to running production. How could I automatically "lock up" the machine until the operator runs these programs? If there is a method of doing this in VBA, that would be ideal.
Thanks,
M
Parents
  • Depends how hack proof you need it to be.

    If not too much then you probably don't need to use VBA.

    You could have a bit of code at the start of each program that reads in a text file, all this file needs to contain is the date. If the date doesn't match the current date then you end the program/routine.

    At the end of the calibration program you simply make it write the current date to the text file.

  • Yes - I've created scripts to do bulk program updates before (i.e. change/standardise touch speed, rename all probes etc.)

    If you do a search for 'rename probes' you should find a thread with some tools to do this, which could be modified to suit your needs.

    To see the code for adding the necessary assignments to your programs, add it to one program, then export the program as Basic (which you can view in notepad).

    You should be able to see the code you'd need to combine with the rename probes code to achieve your goal.
Reply
  • Yes - I've created scripts to do bulk program updates before (i.e. change/standardise touch speed, rename all probes etc.)

    If you do a search for 'rename probes' you should find a thread with some tools to do this, which could be modified to suit your needs.

    To see the code for adding the necessary assignments to your programs, add it to one program, then export the program as Basic (which you can view in notepad).

    You should be able to see the code you'd need to combine with the rename probes code to achieve your goal.
Children
No Data