14.1.1
Configuration
Before starting the script configuration, you should follow these steps:
1.
Check the sensor and inputs signals working – go to Diagnostics area and while pushing the
hand sensor observe the
control light on the screen. The control light should light up in
the moment of pushing the sensor and off after releasing it. In case of any problems go to 10.4
chapter (inputs signals). The sensor signal in the configuration window is called “Probe”.
2.
Make a reference move of all axes.
3.
On the main screen switch the coordinates display mode for machine display (absolute) – icon
.
4.
Secure the tool in the spindle holder (for the firsts test – the cheapest is the best).
5.
On the manual feed mode move to the center of the sensors measuring surface. Note the XY
coordinates.
6.
On the stepper mode slowly lower the Z axis until the signal from the sensor appears and note
the Z coordinate.
7.
Go with Z-axis up to a level you consider safe. A small explanation here - as written above, while
measurement there is rapid slide down to some level by G0 command first. You have to assess to
what Z-axis level it can slide down quickly. It depends on the maximum length of the tools that
will be measured. You can also enter "0" as the safe Z and then the measurement starts from the
top position.
8.
Move the XY axes to set them somewhere above the working table.
9.
Using the stepper mode, slowly slide the tool down to the working table surface and note the Z
coordinate.
10.
Turn off the absolute coordinates mode by clicking
icon.
When you have noted all necessary data, open the downloaded file toollenght.m1s in any text editor (e.g.
notepad). Then select all using mouse or by pressing "CTRL + A" and copy to clipboard - "CTRL + C".
In the Mach standard graphical interface, on the main screen there is an "Auto Tool Zero" button. This
button is default defined as eliciting a macro, so there is no need to add a new button in the graphical
editor.
To hook the mentioned above button into our macro, select in
the menu: "The operator / Edit Button Script". The "Auto Tool
Zero" button and several others should start to blink. Click on it
and open a Mach3 text editor.
Sometimes there is a single text line, if so - you must delete it,
and then press CTRL + V to paste our macro.
Now just enter a few parameters based on the coordinates,
which we noted earlier. All configuration data can be found
under the "Configuration parameters" line.
C S - L a b s . c . – C N C C S M I O / I P - M c o n t r o l l e r
Page 66