Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficiently

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficiently

Post by swissi »

For machines that have a spindle with a collet tool holder like this

Pic1.jpg

it is necessary to measure the tool height after each tool change in order for CNC12 to know exactly where the tip of the tool is in relation to the machine coordinates. The best way to measure tool height is with a Tool Setter device also know as Tool Touch Off Plate (TT). There are many different kind of Touch Off Plates available.

There are very cheap, simple but surprisingly accurate conductive TTs like this:

Pic2.jpg
Pic2.jpg (8.4 KiB) Viewed 10260 times

Note: If you are using a TT with a clip, you might consider installing a permanent wire on top of the spindle and route it along the motor wires to the control box. If your spindle doesn't have ceramic bearings, the chances are very high that such a solution will work with your spindle and will make things much easier if there's no more need to attach a clip to the tool at every tool change.

Or there are more sophisticated Electronic Tool Setter like this:

Pic3.jpg
Pic3.jpg (15.24 KiB) Viewed 10260 times

There are two methods to measure tool heights and set WCS Z0 with a TT that are very common:

Single, movable TT Method
This method involves just one movable TT device that’s being placed on top of the workpiece to measure each tool.

Dual Probe Method
This is the preferred method when many tool changes are required within a job and works with the following Probe Combinations:
  • A movable and a fixed TT (Preferred Option)
  • A single TT only that can be used as a movable and a fixed TT
  • A Touch Probe and a fixed TT
IMPORTANT: On a machine with a non-fixed tool holder it is important that the Tool Height Offset values H of all tools in the CNC12 Tool Offset library are set to 0 in order to be safe! That way it doesn’t matter if the job file is using height offset compensation commands G43/G49 or not as they won’t have any impact if the H value is kept at 0. The new version 2 of the ProbeApp now includes a Tool Offsetter module that will automatically enforce the correct settings.

If a job file requires multiple tool changes, the best work flow is to add the measurement of the tool height into the tool change command M6. With a default CNC12 installation, CNC12 is using a very basic built in M6 function that makes sure the spindle is stopped with an M5 command, Z axis is retracted to the tool change position and a basic message to insert the new tool is displayed.

CNC12 gives the flexibility to replace the built in M6 command by placing a file mfunc6.mac into the C:\cncm folder that contains customized commands that are executed each time a M6 command occurs in the job file. The Centroid Forum website offers some examples of the mfunc6.mac files that support the Single and Dual TT Method. While these scripts do their job if configured correctly, they are not very flexible and definitely not “sexy”. You will know what I mean by that if you have tried to write CNC12 scrips that have multiple choice selections.

These limitations are part of the reasons why I have written the ProbeApp. Because the ProbeApp is dynamically generating probing scripts based on selections made in the App, it allows for much greater flexibility to turn options on and off based on requirements. ProbeApp also allows to make any other probing while the machine is on a M6 Tool Change hold. As an example it would be possible to use a Corner Finder Plate at the first Tool Change to set WCS Part 0 at the corner of the workpiece in addition to set WCS Z0 with the Tool Touch Plate.

if you are using the Single or Dual TT Method, I encourage you to look at the examples below to see what benefits you will gain by replacing the native CNC12 script with the ProbeApp.

Using the Tool Setter of the ProbeApp for Tool Height Measurements

There are just a couple of configuration steps that are described below to make the ProbeApp Tool Setter work with your machine:

Step 1: Run the ProbeApp-Tool Offsetter and it will walk you through a Guided Setup Questionnaire and will configure everything based on your answers to the questions. If you have the correct machine to use the Tool Setter, you should end up with the "Don't use the Tool Offset Library" method which will force all Tool Height Offsets to be 0 for a proper and safe operation with this method.

Step 2: Create/modify the M6 script mfunc6.mac to integrate the ProbeApp
The installation script of the ProbeApp does place a file named mfunc6.mac.customize-for-ProbeApp into your C:\cncm folder.
Either use this as your base file by renaming it to mfunc6.mac and add any logic to it that your machine needs.

If you want to use your existing mfunc6.mac file, ProbeApp V2 makes it now very simple to call the ProbeApp and have it opening directly on a specific Probing Cycle screen. The CNC12 variable #29500 can be used to temporarily overwrite the default Probing Cycle when the ProbeApp is called with the M58 command.

Adding these two simple lines to the end of your existing mfunc6.mac file will open the ProbeApp in Tool Setter mode at each M6 Tool Change command:

Code: Select all

.
.
#29500 = 13  ; Will tell ProbeApp to open in ToolSetter mode
M58              ; Will open ProbeApp
After this step is completed, let’s check out if a M6 Tool Change command does do now what it’s supposed to do:
  • Open the MDI in CNC12
  • Type in the commands T1 M6 and press “Cycle Start”
  • CNC12 should now present you with a message to insert Tool #1
  • Insert Tool #1 and press “Cycle Start”
  • The Tool Setter screen of the ProbeApp should come up now if everything was setup correctly
Step 3: The next step is to customize the Tool Setter cycle and this depends on the Method you are using; Single or Dual TT. If you are using the Dual TT method I recommend that you configure the Single TT method as well as it will give you the flexibility to switch between the two methods. This makes sense when you run a job that has only one or two tools and it’s more efficient to measure them with the Single TT method. Follow the configuration steps below for the Method(s) you need for your machine:


How to configure the Single TT Method

Make sure the Single TT Method is active by selecting the Middle Tab on Top of the Tool Setter screen named “Single TT Method”:

Pic4.jpg

Now select “Configuration” on the bottom left of the screen and the Configuration Screen comes up. On this screen, the behavior of the probing cycle can be customized. The configuration parameters are pretty much self-explanatory but if you need more information on a parameter, click the “?” on the top right of the screen. When the cursor turns into a “?”, click the parameter in question and a popup help bubble will show more details. You can also consult the User Guide for more details.

Pic5.jpg

By default all messages are checked and need to be confirmed with a “Cycle Start” to continue. I recommend to keep the default settings at first and have messages skipped later if you think they are not necessary or you can configure the messages to display for a certain amount of time before the script automatically continues.

As you can see on the configuration screen, the ProbeApp supports the movable TT configured in CNC12 as Touch Probe (TP) or as Tool Touch Off (TT). If you are unsure if your movable TT is configured as a TP or TT, check how the Input the device is connected to is configured in the CNC12 Wizard. If the Input is configured as “ProbeTripped” it is a TP, if it’s configured as “ToolTouchOffTriggered” it’s a TT. Also the ProbeApp can either use the height of the movable TT that’s being configured in the CNC12 Wizard (and stored in CNC12 Parameter 71) even if the movable TT is configured as a TP, or you can enter the height of the movable TT directly in the ProbeApp. The units of all parameters are always the machines default units (inch or mm).

After all configuration parameters are set, click the “Save Configuration” button. The Single TT Method is now ready to put in action.

The Single TT Method has two cycle buttons and 3 selectable options.

Pic6.jpg

What do the options do:
  • Test TT before Probing: This option will add a TT test procedure at the beginning of the probing cycle. A message will ask the user to manually trigger the TT by moving the TT up to touch the tool. If a trigger signal is seen by CNC12 a confirmation message will be displayed that the TT is working properly. The probing cycle will not start until the trigger signal has occurred.
  • Fast Probing Speed first: This option allows to change the probing behavior on the fly for each tool. If this option is not checked, only one tool touch of probing move is done in slow probing speed. If the option is turned on, a probing move in fast probing speed is done first followed by a slow probing speed move. If this option is turned on or off by default depends on how this setting is configured on the Configuration page
  • Use WCS#: The default option is to set WCS Z0 with the currently active WCS (listed on the top left corner of CNC12) but any of the available WCS numbers can be selected if needed. The number of available WCS numbers depends on the version of CNC12 and is automatically adjusted by the ProbeApp.

What exactly do the Probing Cycles do?

Cycle: Set Selected WCS# for active Tool to Z0

By default this cycle will set Z0 for the currently active tool and WCS# on the bottom of the TT or with other words, on top of the workpiece. If a Z Offset is desired instead of Z0, an offset can be entered instead of the default 0.

These are the steps of this Cycle:
  • Optional: If a fixed probing location for the movable TT was configured, move to the configured X and Y position .
  • Optional: If "Test TT before Probing” is selected, a TT test cycle is done. A message will ask the user to manually trigger the TT. The probing cycle will not continue until a successful trigger signal has been received by CNC12. A message that can be customized will be displayed when the TT triggered successfully. The duration this message is been displayed before the cycle continues can be configured. By default the message must be confirmed with a “Cycle Start”.
  • Optional: Display a message before the probing cycle of the movable TT starts. The message text can be customized and can include a warning to attach a clip to the tool if needed. If this option is turned off, the probing of the movable TT will start without issuing a message first.
  • Executing the probing move with the movable TT at the current X and Y Axes position. The probing move can be a single, slow probing speed move or a double touch by doing a fast probing speed move first followed by a slow probing speed move. This probing behavior can be changed for each tool if needed by using the “Fast Probing Speed First” option.
  • Reset the selected WCS# to Z0 (or an offset if one was entered) on top of the workpiece by adjusting the measured position on top of the movable TT by the configured height of the TT.
  • Optional: If selected, a message will be displayed that WCS# has been reset to Z0 (or the entered offset). The DRO of the Z-Axis should now show the height of the movable TT (plus/minus an entered offset) as the tool tip is now exactly above the workpiece surface by the distance of the TT height. The length of time this message is being displayed before the probing cycle continues automatically can be configure. Default is to display the message indefinitely and it needs to be confirmed with a “Cycle Start”.
  • Retract the Z Axis to the configured return position
  • Optional: Display a customizable message that can include a warning to remove the movable TT at this point. It is not recommended to turn this message off as the probing cycle will go to the next step without a warning.
  • Optional: Moves to the selected X and Y return position after the probing cycle if any was configured. The default is “No Move” which will leave the machine at the position the probing took place.

Cycle: Continue without Tool Probing

This is not really a cycle as it just closes the ProbeApp and gives control back to CNC12 to continue with the job file. This is being used when a M6 Tool Change command starts up the Tool Setter but there’s no Tool Height measurement needed.

Now let’s test the Probing Cycles to make sure they are configured correctly. Follow the steps below to test the cycle safely:

Safely testing the Single TT Method
  • Make sure the option “Test TT before Probing” is checked
  • Press the icon “Set Selected WCS# for active Tool to Z0”
  • The ProbeApp Tool Setter screen should now close and give control back to CNC12
  • CNC12 should now display a message “Press Cycle Start to begin Probing Cycle, Press Cycle Cancel to Exit”
  • Do NOT press “Cycle Start” at this point as we want to check the script first that the Tool Setter has generated before we let CNC12 execute the script
  • Open a Windows File Explorer, navigate to the directory “C:\cncm\ncfiles” and open the file “probing_cycle.cnc” in a editor
  • Verify that the script is doing what it’s supposed to do. Every step in the script has a header explaining what it does
  • If the script looks good, close the editor and go back to CNC12
  • Now turn the “Feedrate Overwrite” way down to 10% and then press “Cycle Start”
  • You should now see the “Tool Touch Off Plate Function Test” flashing on the screen
  • Move the TT to touch the tool to manually trigger the TT
  • If CNC12 does recognize the trigger signal, it will display the message “Movable TT Functionality Confirmed”
  • Press "Cycle Start” and the next message will be displayed “Jog Tool over Tool Touch Off Plate”
  • Place the movable TT anywhere on top of the workpiece and jog the tool above it
  • Press “Cycle Start” and the Probing Move should begin. Keep your finger on the “Feed Hold” button just in case
  • If the probing move went well you should now see the Z-Axis DRO set to the height value of the TT, meaning that the Z0 position for the tool in the spindle is exactly on top of the workpiece
  • Press Cycle Start and the Z-Axis will retract to the configured Z return position
  • The Warning message to remove the movable TT will be displayed
  • Remove the TT and press “Cycle Start”
  • If a X and Y return position is configured, the machine will return to those coordinates to end the cycle. If “No Move” is configured, the cycle ends at the current position
  • To verify that the Z0 position has been properly set for this tool on top of the workpiece, jog the tool manually down to Z0 and make sure it’s exactly at the level of the top surface.
If this all went well the machine has now been successfully configured to use the ProbeApp Tool Setter for all Tool Height Measurements and WCS Z0 settings with the Single TT Method.

You can always go back and further customize the messages to your needs and likings. Any change will take immediate effect in the next probing cycle.


How to configure the Dual Probe Method

With ProbeApp v2 it is now possible to use a Touch Probe to find the top of the stock and measure the Reference Height Offset between the top of the stock and the top of the fixed TT

So what is actually different with this method?

In addition to the movable TT, this method also uses a second TT that’s being installed in a fixed location on the machine table. The X and Y axis position of the fixed TT are usually configured in one of the Return Variables G30, G30 P3 or G30 P4 or can be configured directly in the ProbeApp with the G53 option. Also as of ProbeApp v2, a Touch Probe can be used instead of the movable TT.

With this method, the first tool change of a new job involves a measurement of the tool with the movable TT as well as the fixed TT while all subsequent tool changes are done with the fixed TT only. During the first tool change, the first tool measurement is made with the movable TT on top of the workpiece to find the actual position of the top surface of the stock. A second measurement with the same tool then is made with the fixed TT. This second measurement with the fixed TT allows to calculate the exact distance between the top of the fixed TT and the top of the workpiece. This calculated distance is called “Reference-Height”. Because the Tool Setter now knows the distance from the top of the fixed TT to the top of the workpiece, all subsequent tool measurements with the fixed TT can be adjusted by the Reference-Height to set WCS Z0 for the tool exactly on top of the workpiece.

Note that when using a Touch Probe instead of the movable TT, the first cycle will just find the top of the stock and measure the Reference Height Offset and then present a message to remove the Touch Probe and insert the requested tool. After pressing the Cycle Start button, the ProbeApp-ToolSetter will open again and the tool needs to be measured with Cycle 2 like a subsequent tool.

This method offers the convenience to automatically measure the tools with the fixed TT and eliminates the need for the operator to place and remove the movable TT on top of the workpiece after every tool change.

Configuring the Dual Probe Method:

Make sure the Dual Probe Method is active by selecting the Left Tab on Top of the Tool Setter screen named “Dual Probe Method”:

Pic9.jpg

Now select “Configuration” on the bottom left of the screen and the Configuration Screen comes up. On this screen, the behavior of the probing cycle can be customized. The configuration parameters are pretty much self-explanatory but if you need more information on a parameter, click the “?” on the top right of the screen. When the cursor turns into a “?”, click the parameter in question and a popup help bubble will show more details. You can also consult the User Guide for more details.

Pic10.jpg

By default all messages are checked and need to be confirmed with a “Cycle Start” to continue. I recommend to keep the default settings at first and have messages skipped later if you think they are not necessary or you can configure the messages to display for a certain lenght of time before the script automatically continues.

As you can see on the configuration screen, the ProbeApp supports all kind of combinations of the movable or fixed TT being configured in CNC12 as Touch Probe (TP) or as Tool Touch Off (TT). If you are unsure if your TT is configured as a TP or TT, check how the Input the device is connected to is configured in the CNC12 Wizard. If the Input is configured as “ProbeTripped” it is a TP, if it’s configured as “ToolTouchOffTriggered” it’s a TT. If both TT’s are off the same type (NO or NC) it is recommended to connect both to the same Input (parallel for NO, serial for NC).

Also the ProbeApp can either use the height of the movable TT that’s being configured in the CNC12 Wizard (and stored in CNC12 Parameter 71) even if the movable TT is configured as a TP, or you can enter the height of the movable TT directly in the ProbeApp. The units of all parameters are always the machines default units (inch or mm).

After all configuration parameters are set, click the “Save Configuration” button. The Dual TT Method is now ready to put in action.

The Dual Probe Method has three cycle buttons and 4 selectable options.

Pic11.jpg

What do the options do:
  • Test TT (movable TT only): This option will add a test procedure at the beginning of the probing cycle that involves the movable TT. A message will ask the user to manually trigger the TT by moving the TT up to touch the tool. If a trigger signal is seen by CNC12 a confirmation message will be displayed that the TT is working properly. The probing cycle will not start until the trigger signal has occurred.
  • Fast Probing Speed first: This option allows to change the probing behavior on the fly for each tool. If this option is not checked, only one tool touch of probing move is done in slow probing speed. If the option is turned on, a probing move in fast probing speed is done first followed by a slow probing speed move. If this option is turned on or off by default depends on how this setting is configured on the Configuration page
  • Use WCS#: The default option is to set WCS Z0 with the currently active WCS (listed on the top left corner of CNC12) but any of the available WCS numbers can be selected if needed. The number of available WCS numbers depends on the version of CNC12 and is automatically adjusted by the ProbeApp.

What exactly do the Probing Cycles do?

Cycle: Set Top of Stock and set Reference Height Offset

This cycle is used for the first Tool Change in a new job to find the WCS Z0 position of the workpiece surface with the movable TT and measuring the Reference Height Offset with the fixed TT

These are the steps of this cycle:
  • Optional: If "Test TT" is selected, a TT test cycle is done. A message will ask the user to manually trigger the TT. The probing cycle will not continue until a successful trigger signal has been received by CNC12. A message that can be customized will be displayed when the TT triggered successfully. The duration this message is been displayed before the cycle continues can be configured. By default the message must be confirmed with a “Cycle Start”.
  • Optional: Display a message before the probing cycle of the movable TT starts. The message text can be customized and can include a warning to attach a clip to the tool if needed. If this option is turned off, the probing of the movable TT will start without issuing a message first.
  • Executing the probing move with the movable TT at the current X and Y Axes position. The probing move can be a single, slow probing speed move or a double touch by doing a fast probing speed move first followed by a slow probing speed move. This probing behavior can be changed for each tool if needed by using the “Fast Probing Speed First” option.
  • Reset the selected WCS# to Z0 on top of the workpiece by adjusting the measured position on top of the movable TT by the configured height of the TT.
  • Optional: If selected, a message will be displayed that WCS# has been reset to Z0. The DRO of the Z-Axis should now show the height of the movable TT as the tool tip is now exactly above the workpiece surface by the distance of the TT height. The length of time this message is being displayed before the probing cycle continues automatically can be configure. Default is to display the message indefinitely and it needs to be confirmed with a “Cycle Start”.
  • Retract the Z Axis to the configured return position
  • Optional: Display a customizable message that can include a warning to remove the movable TT at this point. It is not recommended to turn this message off as the probing cycle will go to the next step without a warning.
  • Moves to the configured X and Y coordinates of the fixed TT.
  • Probing move with the fixed TT to measure the Reference Height Offset
  • Optional: If selected displays the measured Z Reference Height Offset
  • Retract Z to the configured retract position
  • Optional: Moves to the selected X and Y return position after the probing cycle if any was configured. The default is “No Move” which will leave the machine at the position the probing took place.

Cycle: Set Z0 with Fixed TT - Ref Height Offset 9.7075

This cycle is used for all subsequent Tool Changes after the Reference Height Offset has been established with the first Tool Change. This cycle involves the fixed TT only. The Reference Height Offset that’s currently active is being displayed on this line and can be manually adjusted if needed.
Note that when using the Touch Probe instead of the movable TT, this step is also necessary for the first tool as the Touch Probe will only find the top of the stock and the Reference Height Offset in the first cycle.

These are the steps of this cycle:
  • Move to the X and Y Axes position of the fixed TT
  • Executing the probing move with the fixed TT. The probing move can be a single, slow probing speed move or a double touch by doing a fast probing speed move first followed by a slow probing speed move. This probing behavior can be changed for each tool if needed by using the “Fast Probing Speed First” option.
  • Reset the selected WCS# to Z0 on top of the workpiece for the active tool by adjusting the measured position on top of the fixed TT by the Reference Height Offset.
  • Optional: If selected, a message will be displayed that WCS# has been reset to Z0. The length of time this message is being displayed before the probing cycle continues automatically can be configure. Default is to display the message indefinitely and it needs to be confirmed with a “Cycle Start”.
  • Retract the Z Axis to the configured return position
  • Optional: Moves to the selected X and Y return position after the probing cycle if any was configured. The default is “No Move” which will leave the machine at the position the probing took place.

Cycle: Continue without Tool Probing

This is not really a cycle as it just closes the ProbeApp and gives control back to CNC12 to continue with the job file. This is being used when a M6 Tool Change command starts up the Tool Setter but there’s no Tool Height measurement neededs.

Now let’s test the Probing Cycles to make sure they are configured correctly. Follow the steps below to test the cycles safely:

Safely testing the Dual TT Method

Make sure the fixed TT is working properly and does recognize a trigger signal as the fixed TT is not being tested for functionality by this cycle.

If you don’t have the ProbeApp Tool Setter up and running at this time, follow these steps to start it up, otherwise jump right to the test steps below:
  • Open the MDI in CNC12
  • Type in the commands T1 M6 and press “Cycle Start”
  • CNC12 should now present you with a message to insert Tool #1
  • Insert Tool #1 and press “Cycle Start”
  • The Tool Setter screen of the ProbeApp should come up
Test Steps:
  • Make sure the option “Test TT” is checked
  • Press the icon “Set Top of Stock and set Reference Height Offset”
  • The ProbeApp Tool Setter screen should now close and give control back to CNC12
  • CNC12 should now display a message “Press Cycle Start to begin Probing Cycle, Press Cycle Cancel to Exit”
  • Do NOT press “Cycle Start” at this point as we want to check the script first that the Tool Setter has generated before we let CNC12 execute the script
  • Open a Windows File Explorer, navigate to the directory “C:\cncm\ncfiles” and open the file “probing_cycle.cnc” in a editor
  • Verify that the script is doing what it’s supposed to do. Every step in the script has a header explaining what it does
  • If the script looks good, close the editor and go back to CNC12
  • Now turn the “Feedrate Overwrite” way down to 10% and then press “Cycle Start”
  • You should now see the “Tool Touch Off Plate Function Test” flashing on the screen
  • Move the TT to touch the tool to manually trigger the TT
  • If CNC12 does recognize the trigger signal, it will display the message “Movable TT Functionality Confirmed”
  • Press "Cycle Start” and the next message will be displayed “Jog Tool over Tool Touch Off Plate”
  • Place the movable TT anywhere on top of the workpiece and jog the tool above it
  • Press “Cycle Start” and the Probing Move should begin. Keep your finger on the “Feed Hold” button just in case
  • If the probing move went well you should now see the Z-Axis DRO set to the height value of the TT, meaning that the Z0 position for the tool in the spindle is exactly on top of the workpiece
  • Press Cycle Start and the Z-Axis will retract to the configured Z return position
  • The Warning message to remove the movable TT will be displayed
  • Remove the TT and press “Cycle Start”
  • The machine will now move to the fixed TT position and start the probing move right away. Keep the finger on the Feed Hold button just in case the location of the fixed TT has been misconfigured.
  • The measured Reference Height Offset will be displayed
  • Press “Cycle Start” and the Z Axis will retract to the configured position
  • If a X and Y Axes return position is configured, the machine will move to that location and end the cycle. If “No Move” is selected, the cycle will end at the current X and Y position
This completes the test for the first probing cycle that involves both, the movable and the fixed TT.

Now let’s test the cycle for the subsequent tool changes with the fixed TT only with the following steps:
  • Open the MDI in CNC12
  • Type in the commands T2 M6 and press “Cycle Start”
  • CNC12 should now present you with a message to insert Tool #2
  • Insert Tool #2 and press “Cycle Start”
  • The Tool Setter screen of the ProbeApp should come up again
  • This time press the second icon “Set Z0 with Fixed TT - Reference Height Offset x”
  • The ProbeApp Tool Setter screen should now close and give control back to CNC12
  • CNC12 should now display a message “Press Cycle Start to begin Probing Cycle, Press Cycle Cancel to Exit”
  • Do NOT press “Cycle Start” at this point as we want to check the script first that the Tool Setter has generated before we let CNC12 execute the script
  • Open a Windows File Explorer, navigate to the directory “C:\cncm\ncfiles” and open the file “probing_cycle.cnc” in a editor
  • Verify that the script is doing what it’s supposed to do. Every step in the script has a header explaining what it does
  • If the script looks good, close the editor and go back to CNC12
  • Now turn the “Feedrate Overwrite” way down to 10% and then press “Cycle Start”
  • The machine will now move to the fixed TT position and start the probing move right away. Keep the finger on the Feed Hold button just in case the location of the fixed TT has been misconfigured.
  • The WCS Z0 reset message will be displayed
  • Press “Cycle Start” and the Z Axis will retract to the configured position
  • If a X and Y Axes return position is configured, the machine will move to that location and end the cycle. If “No Move” is selected, the cycle will end at the current X and Y position
  • Jog the tool manually to Z0 and verify that the tool tip is exactly at the level of the workpiece top surface
This completes the test for the probing cycle for subsequent tool changes with the fixed TT only.

If this all went well the machine has now been successfully configured to use the ProbeApp Tool Setter for all Tool Height Measurements and WCS Z0 settings with the Dual TT Method.

You can always go back and further customize the messages to your needs and likings. Any change will take immediate effect in the next probing cycle.

The Return Feature

If you have the need to run multiple probing cycles during a M6 tool change hold use the Return feature. If “Return” has been checked, the ProbeApp will reopen after the current cycle has been finished. This allows to run multiple, different probing cycles before the job file continues. If you don't see the Return checkbox, check out this section of the ProbeApp User Guide and look for the “Return Feature”.

As an example, this would allow during the first tool change of a job to probe WCS X0 Y0 at the corner of a new workpiece with a Corner Finder Plate and then return to the ProbeApp to measure the tool height offset and set WCS Z0 with the Touch Off Plate.

If you have any questions regarding the Tool Setter or if there are any issues setting it up, please post here in this thread and I’ll be happy to assist.

Also any suggestions to improve this Tool Setter are welcome.


-swissi
Last edited by swissi on Wed Nov 04, 2020 4:25 pm, edited 6 times in total.
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
slodat
Posts: 793
Joined: Thu Apr 12, 2018 11:16 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: How to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficiently

Post by slodat »

This is great, swissi! Thank you so much! I need to get my router updated to 4.5. I'll give this a go when I do that and report back.

Nice work on the documentation as well!
Sword
Posts: 652
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by Sword »

Hey Swissi,

I finally took a little time to give this a quick try and it worked great! Looks super as well! I've been using a modified version of diycncscott's macros for my tool changing that pretty much works like your tool touch off part, but without the "sexy". :lol:

I use the dual system most times, so that's what I tried out first. With my macro, I have the fast and slow feedrates for going down to both the movable TT and the fixed TT hard coded. That way I can keep the plunge to the fixed TT faster on the first tap, so that it doesn't take so long to get there (6"-7" from the machine Z0), and then use the slower settings in the wizard for edge probing functions. I haven't taken the time to look around yet, but is there a place that I could again hard code the feedrates for probing the fixed TT without changing the other probing feedrates (picked up from the wizard settings.

One thing that I'm used to with my macro, and would prefer, would be for the Z axis to go G53 Z0 immediately after the second touch so that the tip of the tool doesn't remain in contact with the movable plate until I reply to the on screen message.

For the probing routines, since I don't have a true probe and don't use them much, I just chuck up a 3/8" drill rod, or in the case of finding the corner of a blank or fixture, the tool that I may be using at the moment. My corner finder jig is used by probing a bore that the center is 2.5" XY from the corner. When that routine finishes, it sets XY 0 and rapids to the corner. viewtopic.php?f=60&t=3565#p27660

All in all, this is a great piece of work you've done here and I'll likely ditch mine and keep using it! ;)

Scott
Scott
swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by swissi »

Sword wrote: Thu Aug 20, 2020 10:51 pm I finally took a little time to give this a quick try and it worked great! Looks super as well! I've been using a modified version of diycncscott's macros for my tool changing that pretty much works like your tool touch off part, but without the "sexy". :lol:
Thanks Sword for the feedback. I think the ProbeApp Tool Setter is not just more "Sexy" with the Touch Screen user interface, it also gives you functions that you don't have with a regular script like making multiple probing functions if needed during a M6 tool change hold like I describe below or changing options on the fly for each probing cycle.
Sword wrote: Thu Aug 20, 2020 10:51 pm I use the dual system most times, so that's what I tried out first. With my macro, I have the fast and slow feedrates for going down to both the movable TT and the fixed TT hard coded. That way I can keep the plunge to the fixed TT faster on the first tap, so that it doesn't take so long to get there (6"-7" from the machine Z0), and then use the slower settings in the wizard for edge probing functions. I haven't taken the time to look around yet, but is there a place that I could again hard code the feedrates for probing the fixed TT without changing the other probing feedrates (picked up from the wizard settings.
The ProbeApp is using the Slow And Fast Probing Feedrates configured in the Probe Tab of the CNC12 Wizard. The standard CNC12 probing behavior is to do a fast probing move first than retract by the “Recovery Distance” configured in the Wizard and do a slow probing move next to take the final measurement. The Tool Setter has a check box where you can select for each probing cycle if you want to do the fast/slow or just the slow probing move. The default behavior of that probing speed selector check box can be configured in the configuration page of the Tool Setter Cycle (see 3) in Config Screenshot). If you configure in the configuration settings that you want the Fast/Slow speed as the default, the “Fast Speed first” option is always checked by default and you need to uncheck it if you want to do a slow probing move only.

Pic3.jpg

The slow and fast probing federates could be overwritten in the file “C:\cncm\probing\probe_initialize.cnc” but that would change the speeds for all cycles of the ProbeApp not just the ToolSetter but it would not effect the probing cycles done with CNC12. I could definitely change the Tool Setter configuration settings to allow separate federates for movable and fixed TT’s if this is a wanted option.

Note that there are other options available to speed up the probing cycle to reduce the plunge time for tool measurements. The Tool Setter configuration screen allows you to configure the retraction position of the Z-Axis after the measurement of the movable TT is taken before moving over to the fixed TT (see 2) in Config Screenshot). One option is to set the starting point of the probing cycle as the retraction position. If you know that the top of fixed TT is always below the top of the movable TT and there’s nothing in the way for the tool traveling from the movable to the fixed TT position, you can jog Z down to about half an inch above the movable TT before you start the cycle that involves both TTs. That way the Z-Axis would only retract to that half inch above the movable TT after taking the measurement and then move over to the fixed TT and the Z-Axis would not need to drop down all the way from Z0 to take the tool measurement of the fixed TT. Just something you should think about to speed up measurements.

Pic1.jpg

If you would like to see more configuration options in regards to probing speeds for the movable and fixed TT, please list your requirements in what situations you are using fast or slow probing speeds with each of the TTs.
Sword wrote: Thu Aug 20, 2020 10:51 pm One thing that I'm used to with my macro, and would prefer, would be for the Z axis to go G53 Z0 immediately after the second touch so that the tip of the tool doesn't remain in contact with the movable plate until I reply to the on screen message.
Interesting that you say that. In my earlier versions of the ProbeApp all the cycles retracted by the amount of the configured “Recovery Distance” before displaying the WCS Reset message but the feedback I got is that this is different than what the CNC12 built in cycles do and it makes it more difficult to verify that WCS 0 was set at the correct position as the tool was no longer at the trigger point by the time the WCS Reset message is being displayed.

You have two options here (see 1) in Config Screenshot):
  • You can turn off the WCS reset message completely by unchecking the checkbox in the configuration settings and the Z-Axis will retract immediately after taking the measurement
  • You can change the length of time the message is being displayed. By default the value is 0 which means indefinitely and needs to be confirmed with a "Cycle Start”. If you set it to 1 the message will be displayed for 1 seconds and the cycle will automatically continue after that.
Sword wrote: Thu Aug 20, 2020 10:51 pm For the probing routines, since I don't have a true probe and don't use them much, I just chuck up a 3/8" drill rod, or in the case of finding the corner of a blank or fixture, the tool that I may be using at the moment. My corner finder jig is used by probing a bore that the center is 2.5" XY from the corner. When that routine finishes, it sets XY 0 and rapids to the corner. viewtopic.php?f=60&t=3565#p27660
This is where the ProbeApp really shines. Let’s assume you just started a new job and you have clamped down a new workpiece on your machine table. At this point you haven’t set any WCS settings. Now you can do the following:
  • Load the job file and press “Cycle Start” and CNC12 will prompt you to insert the first tool. At this point you can either install the first tool or if that tool is not ideal to do the Corner Finder Plate measurement, install a piece of rod or a drill as you say.
  • Press “Cycle Start” again and the ProbeApp Tool Setter comes up. Press the Green Arrow on the top left of the Tool Setter screen. This will bring up the main screen of the ProbeApp.
  • Select the “Bore Plate” Cycle. Check out the User Guide for details how to configure the Bore Plate or press the “Parameter Help” button on the Bore Plate Cycle screen
  • Make sure you select the Check Box “Return” before you start the Bore Plate measurement to set WCS X0 Y0. If “Return” is checked, the ProbeApp will open again after the Bore Plate cycle has finished. If you don’t have the “Return” feature enabled yet, click the “Configuration” button on the Main Screen of the ProbeApp and check the box “Enable Return Feature”.
  • After the Bore Plate cycle has finished, the ProbeApp will come up again. If you haven’t installed the first tool yet, install it now and then kick off the Tool Setter cycle to measure the first tool with the movable and fixed TT
  • After measuring the first tool, the job file will continue as usual with all the subsequent tool change measurements with the fixed TT
Pic2.jpg

As you can see, the ProbeApp gives you new functionality to streamline your workflow that would be very difficult to do with conventional scripting.

Let me know if you have more questions.

-swissi
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
Sword
Posts: 652
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by Sword »

Thanks for that Swissi! That sorts most of it out, but a separate 'Fast' probing speed for the fixed TT would be nice. I don't always have a clear lower level path to the fixed TT, so I just default to all the way up. I come at it for the first touch at 60ipm and the second at 5ipm. Finding a fast/slow setting for the wizard that works well for both the TT's and edge probing is a bit of a trade off. Perhaps not so much if you have a real probe, but with a tool or drill rod, the fast setting needs to be lower to prevent some added pressure from what I'll call, slight overrun with a higher speed. So, for edge probing, I run much slower than I would for the fixed TT. I should qualify that my fixed TT is like the one in pic 3 in your first post, so it has plenty of overrun room for me to come at it a bit quicker for the first touch.

How about an option for a message for after probing the fixed TT, before running or returning to a file? I have "Replace dust foot and press cycle start to continue".

Tried the corner plate bore probing today and it worked great!

Just got a nice larger touchscreen (had a 15" widescreen) and the app and CNC12 both look great on it! :D
Scott
swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by swissi »

Sword wrote: Fri Aug 21, 2020 3:06 pm ... a separate 'Fast' probing speed for the fixed TT would be nice.
...How about an option for a message for after probing the fixed TT, before running or returning to a file? I have "Replace dust foot and press cycle start to continue".
Here's a Beta version that has what you asked for and hopefully pleases everybody :)

The Tool Setter now allows to configure separate Slow and Fast Probing rates for the Movable and the Fixed TT separate from the default CNC12 probing speeds:

Pic1.jpg

If the probings speeds in the Tool Setter configuration settings are left at 0, the default slow and fast probing federates configured in the Probe Section of the CNC12 Wizard are being used.

Also the Tool Setter Screen now allows to change the probing behavior of the Movable and Fixed TT separately for each Cycle.

Pic2.jpg

The User Guide has not been updated yet. If you confirm that this is doing what you need I'll make it the new official version 1.2.

Here's the Version 1.2 Beta (remove the .txt extension after the download:
This version has been replaced with v1.2 Beta 2 HERE

Check the Update Instructions on how to Update the ProbeApp. The Configuration Settings of the old version will be kept.

-swissi
Last edited by swissi on Mon Aug 24, 2020 10:32 am, edited 1 time in total.
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
Sword
Posts: 652
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by Sword »

Nice, best of both worlds, thanks! ;) I like hard coding those just in case something changes down the road, so I'm not surprised with the unexpected. :o

Is there any way to remember the last screen position? I have an old Techno benchtop that I've been rebuilding and I put my 15" widescreen on that now and the app opens about halfway off the bottom of the screen. While it is 16:9, it's 1366x768.

Such an outlier (pain in the butt) I am! :lol:
Attachments
ProbeApp1.jpg
ProbeApp2.jpg
Scott
swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by swissi »

Sword wrote: Sun Aug 23, 2020 3:07 pm Nice, best of both worlds, thanks! ;) I like hard coding those just in case something changes down the road, so I'm not surprised with the unexpected. :o

Is there any way to remember the last screen position? I have an old Techno benchtop that I've been rebuilding and I put my 15" widescreen on that now and the app opens about halfway off the bottom of the screen. While it is 16:9, it's 1366x768.
Absolutely!

Open "Configuration" from the ProbeApp Main Screen. Now move the upper left corner of the Configuration Window to the position you'd like the ProbeApp to be located by default and press "Get currentPosition from this Window" and "Save":

Pic1.jpg

That should do the trick.

-swissi
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
Sword
Posts: 652
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by Sword »

Doh! Never went to that screen! :oops: :roll:
Scott
Sword
Posts: 652
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Guide on how to measure Tool Heights and set WCS Z0 on a Router or Mill with none-fixed Tool Holders most efficientl

Post by Sword »

One last thing and I'll leave ya alone. ;)

The two config screens for the tool setter are not doing something right. Have to close window by way of right clicking the taskbar to get out. These are full screen snips.

Scott
Attachments
Toolsetter config-Single.jpg
Toolsetter config-Movable+.jpg
Scott
Post Reply