Mach4 SimpleMotion drive plugin

From Granite Devices Knowledge Wiki
Revision as of 15:17, 10 January 2018 by Jhilliaho (Talk | contribs) (Jhilliaho moved page Mach4Plugin to Mach4 SimpleMotion drive plugin)


Jump to: navigation, search

Introduction

Mach4 is a CNC motion control software developed by Newfangled Solutions. It has been in use on Industrial equipment running constantly for over a year. The M4SM plugin is needed to run motor drivers connected to SimpleMotion bus with Mach4.

Requirements

The following things are needed for building a CNC machine using Mach4 and motor drivers connected with SimpleMotion bus:

  • Atomi, IONI or Argon-based motion system, e.g. CNC mill, connected with SimpleMotion bus
  • Windows PC
  • Mach4 software + license

Motor driver configuration

Configure the motor drivers with Granity software:

  • Motor specific settings
  • Set position mode for every driver except for possible velocity-controlled spindle motor
  • Set suitable max. speed
  • Configure homing for all possible axes to ensure the positioning accuracy
  • Set soft travel limits

Mach4 installation

  • Download and install Mach4
  • Download the plugin files to the plugin folder TODO: Mistä?
  • Launch Mach4
  • Select the SimpleMotion driver plugin from Mach4 settings
  • Restart Mach4
  • Select the plugin as motion control device

Mach4 configuration

  • Plugins
    • Simplemotion drive plugin must be checked
  • Motors
    • Counts/unit, velocity, acceleration, reverse
  • Axis mapping
    • Select motors. Numbers are different here compared to driver numbers!
    • One OB axis can be selected for being used as a velocity or position controlled spindle
    • Do not enable axes without motors
  • Homing/SoftLimits
    • Set home order
    • Home dir is selected in Granity software
  • Spindle
    • Spindle settings
    • A position controlled spindle can be selected here

Plugin configuration

  • FTDI port number
  • Buffer max fill percentage
  • Spindle settings
    • Position-controlled spindle
      • Select from Mach4 settings
    • Closed-loop velocity-controlled spindle
      • Select OOB axis from Mach4 settings and the same axis from the pluginc configuration dialog
    • Open-loop velocity-controlled spindle (TODO: Not implemented for Atomi)
      • Select OOB axis from Mach4 settings and the same axis from the pluginc configuration dialog

Known issues


In no event the Product Information or parts hereof shall be regarded as guarantee of conditions or characteristics. The Product Information or any part thereof may also not be regarded as a warranty of any kind. No liability of any kind shall be assumed by Author with respect to Product Information or any use made by you thereof, nor shall Author indemnify you against or be liable for any third party claims with respect to such information or any use thereof.

As content of this Wiki may be edited by user community, Granite Devices Oy or it's affiliates do not take any responsibility of the contents of this Wiki. Use information at your own risk. However, Granite Devices staff attempts to review all changes made to this Wiki and keep information trustworthy.

Without written consent, Granite Devices' Products or Intellectual Property shall not be used in situations or installations where living beings, material property, or immaterial property could be harmed by the operation, features or failures of Product. Products may only be used in a way where hazards like moving parts, electric shock, laser radiation, or fire can't be realized even if the content of this Wiki would suggest otherwise.