hexagon logo

How do you keep ur programs neat and tidy?

Hey all
Maybe this thread belongs in "tips and tricks", but ill have a shot at it here.

As i mentioned in the title, how do you keeps ur programs neat and tidy so other CMM programmers can go into the programs and adjust e.t.c?

Do you use groups? Do you do $$ comments explaining stuff?
Do you sort out the code for alignment, measurment routine and evaluation etc?

Do you have a system for how you name the elements?

Me i try to group the Manual alignment, CNC-alignment, measurment code and evaluation.
I also try to name the elements after the drawing, such at Ø15±0.2 etc

How do you guys keep the programs clean?
Post some pictures of code if you'd like.
All answers are welcome.
Parents
  • Starting with a program seed will help with your consistency as well rather than starting from scratch everytime. All you prep functions will be in the same order. Not that its necessary but once aging its alot easir to find something missing when the order / format is the same all the time. Create a METRIC and INCH program with all the prep functions all inserted and make them read only. Then when you have a new part program to start, simply open the program, save as xxxxxxx, import your CAD and start programming.
Reply
  • Starting with a program seed will help with your consistency as well rather than starting from scratch everytime. All you prep functions will be in the same order. Not that its necessary but once aging its alot easir to find something missing when the order / format is the same all the time. Create a METRIC and INCH program with all the prep functions all inserted and make them read only. Then when you have a new part program to start, simply open the program, save as xxxxxxx, import your CAD and start programming.
Children