In this video I demonstrate how to use a CNC machines common variables to create a sub-program which steps over closer to the part each time the sub-program is called.
00:00 Intro
00:35 Setting the common variable
01:06 Adding variables to the sub-program
02:16 Walk through the code changes
03:03 Stepping through the code with the variable simulator
To see a tool height offset being verified in MDI mode watch:
• MDI Verify Tool Height Offset