Click here to go back to the main Getting Started page.

 

Migrating from Mach3 to Mach4

 

Getting Started: Migrating from Mach3 to Mach4.

 


 

Introduction:

This page is designed to help you make the transition from Mach3 to Mach4 as easily as possible.  The different sections of this page will help you to convert your existing Mach3 profile/setup into a functional Mach4 profile.

Please keep in mind that Mach3 is a mature product, and while Mach4 is stable, it is still under active development with new features being added and new releases coming out. 

Changes to be aware of in Mach4:

  • Mach4 has a much more modern appearance than Mach3.  The layout and flow of the program has changed, especially with respect to the configuration of a profile.
  • Mach4 uses lua as its scripting language instead of VB in Mach3
  • When running a MDI command, you MUST press "Cycle Start" instead of just 'Enter' like you could in Mach3.
  • In Mach4 the default Spindle Speed is 0 RPM, and you must enter a S command via G-Code or MDI to set a new Spindle RPM "S1000" or "M3 S1000" for instance.
  • In Mach4, your profile (typically "C:\Mach4Hobby\Profiles\YOUR PROFILE NAME\") must contain a "Macros" folder in it.  If the Macros folder does not exist, the Spindle will not work, and you will experience other weird problems as well.
  • Our Mach4 ESS plugin communicates with Mach4 at a default 40 Hz (and it is adjustable), compared to the fixed 10 Hz rate in Mach3. 
  • Our Mach4 ESS plugin allows for 7 Encoders, 3 MPGs compared to 5 total in Mach3.
  • Mach4 allows for up to 4 probes compared to only 1 in Mach3.
  • Only the ESS currently works with Mach4.  A USS plugin for Mach4 is in development.
  • Every time you upgrade to a different version of Mach4, the provided screensets may have different lua code in them.  This will also over write any changes you made to your screenset(s).  It s strongly recommended that you make zip file backups of your whole Mach4 directory from time to time, especially if you are about to make modifications.
  • Mach3 screensets will NOT work in Mach4.
  • Mach3 scripts will NOT work in Mach4.
  • Mach3 Brains will NOT work in Mach4.

 

For the remainder of this article, I will show you how to port the G540 from Mach3 to Mach4.

 


Initial Mach4 setup with the current ESS plugin:


The first thing you will need to do, is install Mach4 and the ESS plugin.  Please visit this page to see how to do that.

Then you will need to complete steps 1 through 7 of Continuing with the ESS Plugin Configuration. 

Once you are done with that, the following steps on this page will walk you through the settings you need to transfer from Mach3 to Mach4, and we will follow the same basic steps as that other guide.

 


 

EStop Information:

This page is still under construction, April 20th, 2017

 


 

Motor Information:

This page is still under construction, April 20th, 2017

 

 

 


 

Spindle Information:

This page is still under construction, April 20th, 2017

 

 

 


 

Input Signal Information:

This page is still under construction, April 20th, 2017

 

 

 


 

Output Signal Information:

This page is still under construction, April 20th, 2017

 

 

 

 

 

 

 

 

 

Go to top