Skip to main content

Copy Mach4 Folder to New Control

This document describes how to copy a Mach4 folder from one machine to another machine. This is useful when you are powering up a similar machine to one you've done previously. It is also used for installing a replacement control. 

Prerequisites: Mach4/MachMotion Version must be the same between the Source Control and Target Control

Source Control = the Control/Mach4 folder that you want to copy over.
Target Control = the Control/Mach4 folder that you are overwriting.

Setup Process

  1. Rename the Target Control Mach4 folder to something other than Mach4 (Mach4_Original for example).image.png

  2. Identify the Version of the Source Control. Either open the Source Control and check under Service -> Maintenance or open up this file in Notepad: C:\Mach4\VersionInfo\mmbuildver.lua .

    For example, this is version 20039.24451.

    image.png


     
  3. Run the original installer version from the Target Control on the Source Control to get the latest version. 

    For example, for this system download 20039-25244 and run it on the Source Control. 

    image.png

    Download the original installer from this link: https://machmotion.com/download/Mach4/

    image.png


  4. Open Copy over the Source Control Mach4 folder onto the Target Control. 
    • If this is an application backup, you will have to unzip the application backup. Then open it up and rename the folder with all the files Mach4. 
      image.png

      So the application backup should look like this:image.png

    • Then copy that Source Control Mach4 folder into the C directory of the Target Control. image.png


  5. Delete the Licenses folder inside the Target Control Mach4 folder.

  6. Copy the Licenses folder from the Source Control Mach4 folder to the new Mach4 folder. 

    image.png




  7. For Rapidpath systems only
    1. Restart the INtime node by right clicking on the INtime note? 
      1. image.png

    2. Open RapidSetup.image.png

    3. You may have to reload the RapidSetup license as administrator. 
       
    4. Press Discover Network Nodes and then Generate ENI file.  image.png
    5. Press start Network and confirm you have no errors. image.png


  8. Open Target Mach4 using the Desktop shortcut

  9. For Apollo III systems only: After Mach4 is loaded to go to Configure -> Plugins ->HiCon and change the serial number for the HiCon to 0.
    1. Click on update and close the HiCon window

  10. Click on Configure -> Plugins -> MachMotion and select the User Interface tab
    1. Select the X15-14-21 operator panel and then select the refresh tab. Select the Pokeys device that populates
    2. Select the x15-41-01 Wireless MPG Pendant and then press save at the bottom of the MachMotion Plugin window.

  11. Remove any ghost Ethercat devices in the Rapidpath plugin (Configure -> Plugins ->Rapidpath). Click on the red icons and delete them. Then restart Mach. 

image.png


Troubleshooting

Mach4 Crashing

Delete the SingleRMPController.ini in the C:\ProgramData\MachMotion\RapidPath folder.

image.png

Note: This will lose your home position on absolute encoder positions. 


EtherCAT XML Missing

When opening up RapidSetup, if you get the error EtherCAT XML Missing, it's likely because the Source Control was running an older software with other EtherCAT devices.

image.png

To fix this, run the original installer version from the Target Control on the Source Control to get the latest version.