Hello Guest it is March 29, 2024, 02:38:57 AM

Author Topic: Changing to metric  (Read 1731 times)

0 Members and 1 Guest are viewing this topic.

Changing to metric
« on: November 07, 2018, 03:08:42 PM »
How do I set up Mach3 to respond to metric files when my machine has been set up in inches?  The machine manufacturer supplied an XML file for the machine, using imperial units.  When I run his test programs it runs fine, but when I enter my G-code (from MeshCAM) the machine isn't responding correctly.  I added G21  to the start of my G-code sequence as instructed by the manufacturer, but that hasn't solved the problem.

Online ZASto

*
  •  423 423
    • View Profile
Re: Changing to metric
« Reply #1 on: November 07, 2018, 05:44:01 PM »
That should solve the problem. Mach will do all the needed conversion math for you.
For start try this:

G21
G0X0Y0
G0Z0 (asuming top of material)
G1Y25.4F100
G1X25.4
G1Y0
G1X0
G0Z5
M30
%

This should "draw" 1 inch rectangle
« Last Edit: November 07, 2018, 05:56:31 PM by ZASto »
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.