ProbeApp for Centroid CNC12

ProbeApp for Mill & Routers that integrates with Centroid CNC12


Project maintained by swissi2000 Hosted on GitHub Pages — Theme by mattgraham

Rack-ATC Module Setup Instructions

Configuring Rack ATC Parameters

Prerequisites

Before the Rack-ATC Module can be configured these steps must be completed first:

1. Start the ProbeApp with the VCP ProbeApp Button

Pressing the ProbeApp Button on the VCP should bring up the Main Screen of the ProbeApp:

On the ProbeApp Main Screen, press the Tool Library Mgr Button.

If this is the first time the Tool Library Manager is being started, the Guided Setup will open to configure all Probing Devices and setup CNC12 with the correct Tool Height Offset Method:

If you are getting the Guided Setup as shown in the Picture above, follow the Guided Setup Instructions first and then come back here to continue with the next steps.

If the base Configuration of the Tool Library Manager has been completed and Saved and the Rack-ATC Module license is active, the following screen will be shown:

Press the ATC Configuration Button to open the ATC-Configuration Screen.

2. Rack-ATC Configuration

Fill out the configuration parameters. If you need Help with any of the Parameters, select the ? on the top right of the Configuration Screen and then hoover with the ? over the Input-field you need Help with and a Balloon Help Message will provide more information.

Automatic Dust Shoe

If the Automatic Dust Shoe function is being used, the ATC-Function bar on the ProbeApp Tool Library Manager screen will display two additional buttons to Park and Mount the Dust Shoe.

IMPORTANT! Note that the Load Tool and Unload Tool buttons assume that there’s no Dust Shoe mounted on the spindle. It’s up to the operator to Park the Dust Shoe before loading/unloading a Tool within the Tool Library Manager.

Also note that the commands to Park and Mount the Dust Shoe need to be added manually to the M6 Tool Change Macro mfunc6.mac. The sections of where these commands have to be added are clearly commented within the provided mfunc6.mac Template file.

Extendable Tool Rack

An extendable Tool Rack of Type Fork/Finger can be configured in the standard way where spindle movement is being used to slide the tool in and out of the tool holder.

Another option is to let the rack retract move pull the tool out of the tool holder and the rack extend move is pushing the tool into the rack holder. This requires less table space for a tool change as no additional space is needed for the spindle to slide the tool out of the extended rack. To configure this option, the Slide Out Clearance Position must be configured with the same machine coordinate position as the center line of the holder. Also the option Keep Rack Extended can NOT be used in this case.

The standard behavior is that the rack is being extended and retracted for every tool load and unload. If it is preferred to leave the tool rack extended, the Keep Rack Extended option can be used. Using this option does have the effect within the ATC functions of the Tool Library Manager, that the first tool load or unload move will extend the rack and keep it extended until the Tool Library Manager is exited with the Exit button.

IMPORTANT. When using the Keep Rack Extended option, the Rack Retract Command MUST be added to the end of the M6 Tool Change Macro mfunc6.mac into the commented section of the provided mfunc6.mac Template file.

Requires Tool Orientation

If the Spindle requires Tool Orientation, check the box Requires Tool Orientation and enter the required commands.

ATC Function Enabled

Make sure the check box ATC Functions Enabled is checked before Saving the Configuration. This check box allows to turn off the ATC functionallity if required for some reasons.

3. Bin# Assignment

After the ATC Parameters have been saved, the Tool Library Manager Screen will show all the ATC Functions and Tools can now be assigned to Bin#’s.

Tool# to Bin# assignment scripts will instantly be updated after a change is being made and will be available in CNC12 after exiting the Tool Library Manager.

4. Configuring the M6 Tool Change Macro (mfunc6.mac)

The last piece in the Puzzle to get the Rack-ACT Module fully working is to configure the M6 Tool Change command mfunc6.mac in the CNC12 Folder C:\cncm.

The ProbeApp installation process will install a template file of the M6 Tool Change macro into the C:\cncm folder named:

C:\cncm\mfunc6.mac.customize-for-ProbeApp-ATC

Use this template, add all the commands that might be needed for your machine into the commented sections and then save the file as mfunc6.mac to activate it as the new M6 Tool Change macro.

This is how the M6 template file looks like:

;------------------------------------------------------------------------------
; File     : mfunc6.mac - to be used with ProbeApp ATC Module
; Purpose  : ATC Tool change macro for CNC12 using ProbeApp ATC module
;
; Usage    : The section required for the ProbeApp - ATC Module are between the ### lines
;            Add additional commands if needed for your Tool Change
; Author   : -swissi
; Date     : 15 May 2021
;------------------------------------------------------------------------------

IF #50001                          ;Force lookahead to stop processing 
IF #4201 || #4202 THEN GOTO 10000  ;Skip when graphing or searching

;------------------------------------------------------------------------------
; Turn Off Spindle 
;------------------------------------------------------------------------------
M5                 

;------------------------------------------------------------------------------
; Add Commands here that need to happen before getting Tool from ATC
;------------------------------------------------------------------------------
; Turn off Stuff: Coolant (M9), Mist (M8) etc.
; Add Command for Automatic Dust Boot Parking if needed

;------------------------------------------------------------------------------
; Save XYZ Positions for machine to return to after Tool Retrieval
; Activate this Section if wanted. You need to activate also the Return at the end
;------------------------------------------------------------------------------
If #50001
;#101 = #5021
;#102 = #5022
;#103 = #5023

;##############################################################################
;------------------------------------------------------------------------------
; Start of Section required for ProbeApp - ATC Module
;------------------------------------------------------------------------------

#31998 = #4006    ;Save current G20/G21 mode
#31997 = #4003    ;Save current G90/G91 mode
G[#25001]         ;Force Machines Default Unit of Measure 

;------------------------------------------------------------------------------------------
; Force opening of ProbeApp-Tool Library Manager by Turning on Worklight 
; Activate these lines if this function is wanted
;------------------------------------------------------------------------------------------
;If #61112 != 0 Then #29500 = 12                     ;sets Flag to open ProbeApp-Tool Manager Library
;If #61112 != 0 Then M58                             ;opens ProbeApp-Tool Manager Library

If #50001
G65 "c:\cncm\probing\ATC_return_tool.cnc"            ;will return tool in spindle if needed
If #50001
G65 "c:\cncm\probing\ATC_get_tool.cnc"               ;will retrieve the requested tool

;------------------------------------------------------------------------------------------
; Activate an automated Tool Height Offset Measurement Cycle with TT at fix Location 
; if the requested Tool has no Height Offset set in the Tool Offset Library.
;------------------------------------------------------------------------------------------
If #[10000+#[12000+[#4120]]] == 0 Then #29500 = 40  ;sets Flag for Auto Tool Height Offset Measurement
If #[10000+#[12000+[#4120]]] == 0 Then M58          ;activates an automated Tool Height Offset Measurement Cycle with fix TT

;------------------------------------------------------------------------------------------
; Restore G20/G21 and G90/G91 Mode
;------------------------------------------------------------------------------------------
If #50001
G[#31998]  ;Restore G20/G21 mode
G[#31997]  ;Restore G90/G91 mode

;------------------------------------------------------------------------------
; End of Section required for ProbeApp - ATC Module
;------------------------------------------------------------------------------
;##############################################################################

;------------------------------------------------------------------------------
; Add Commands here that need to happen after getting Tool from ATC
;------------------------------------------------------------------------------
; Add Command to Retrieve parked Dust Boot if needed
; Add Command to Retract Tool Rack if "Keep Rack Extended" option is used

;------------------------------------------------------------------------------
; Return to Position where M6 Tool Change command was issued
; Activate this Section if wanted
;------------------------------------------------------------------------------
;G90 G53 Z#103  
;G53 X#101 Y#102 

N10000     ;End of macro  

Some of the additional functions are commented out with a ; and are inactive. Remove the ; at the beginning of the line if you would like to activate the function.

Only activate the automated Tool Height Offset Measurement function if there is a configured, fully operational fix Tool Touch Off device available on the machine.

The Rack-ATC Module should now be fully operational.

5. Testing the ATC Functinality

Until you have confirmed that all your Bin Locations are accurate and all the other ATC Configuration parameters are correct, be very careful when testing the ATC functionality.

I suggest that you turn the Feedrate Overwrite all the way down and always keep a finger on the Cycle Cancel or the Emergency Stop button.

Also Note that the Feed Hold Button is inactive while CNC12 is in a M6 Tool Change command so all the moves that occure in a M6 Tool Change cannot be stopped with the Feed Hold button. You have to use Cycle Cancel to stop the move.

Testing the ATC Functionality

Testing M6 ATC Tool Change Functionality

Open the MDI from the CNC12 Main screen.

If this all works correctly, the Rack-ATC Module should be ready for real action.

Changing ATC Configuration Parameters

If any adjustments to the Rack-ATC Module need to be made, just press the ATC Configuration Button on the Tool Library Manager screen.

Any changes made to the ATC Configuration Parameters will instantly be active after pressing the Save Configuration button.

Note that changing the number of Bins will reset all Bin Coordinate Data in the table.

If the check box ATC Functions enabled is unchecked, all ATC Functions will be disabled and all Bin# will be reset to 0 which will force all manual Tool Changes. In order to fully remove the Rack-ATC Module, the M6 Tool Change Macro mfunc6.mac should be exchanged with a macro that’s setup for manual tool changes and the Rack-ATC Module license needs to be removed.

Other Tool Library Manager Functionality

The Rack-ATC Module is an extension of the ProbeApp-Tool Library Manager*.

For details about all the non-ATC Module related functionality and configuration of the Tool Library Manager, consult the Tool Library Manager Chapter.

Back