®
14. VisualBasic
macros
On the website:
www.cs-lab.eu
tool-length and for automatic tool replacement. These are usually the most desirable functions and make
the work easier. For advanced users we invite to learn more about macros, which provide great
opportunities for self-expanding functionality of Mach3 program.
14.1 Automatic tool-length measurement
Automatic tool-length measurement is one of most implemented function, e.g.
because mechanically it is very easy to do. If high measurement accuracy is
required, the sensor must be a good quality. In the CSMIO/IP-M controller –
specialy for G31 command (used while the measurement) – completely
autonomous movement operation and ultra-fast logic were implemented to
assure the measurement precision at the highest level.
The measurement is made through the following stages:
Raising the Z axis at the maximum high (absolute zero)
•
Driving in the fast mode (G0) at the XY sensor position.
•
Quick exit (G0) by Z-axis to the so-called. safe Z
•
Driving down the measurement mode (G31) at "1" speed until receiving the signal from the
•
sensor.
Raising the Z-axis by a small value (preparing to measurement that is more accurate).
•
Driving down the measurement mode (G31) at "2"speed, until receiving a signal from the
•
sensor.
After finished measurement – raising the Z-axis maximally.
•
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
you can download standard scripts for handling automatic measurement of
Page 65
Need help?
Do you have a question about the CSMIO/IP-M and is the answer not in the manual?
Questions and answers