Editing Mach4 SimpleMotion drive plugin

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help page.

Latest revision Your text
Line 1: Line 1:
[[Mach4]] is a CNC motion control software developed by Newfangled Solutions. The Mach4 SimpleMotion drive plugin is provided by Granite Devices to run any [[SimpleMotion V2|SimpleMotion]] compatible motor drivers, such as [[IONI]] or [[ATOMI]] with [[Mach4]].
+
[[Mach4]] is a CNC motion control software developed by Newfangled Solutions. The Mach4 SimpleMotion drive plugin is needed to run [[SimpleMotion V2|SimpleMotion]] motor drivers with [[Mach4]].
[[File:mach4.png|thumb|Mach4 main screen]][[File:Mach4 plugin atomi lohkokaavio.svg|thumb|Typical usage of Mach4, Mach4 plugin and [[ATOMI]] drive]]
+
 
+
{{Info|The plugin has been developed and tested with industrial version 4.2.0.3481. Hobby version 4.2.0.3804 does not work.}}
+
 
+
== Features ==
+
The plugin seamlessly integrates Granite Device drives into Mach4 CNC software. The supported features are:
+
* Control up to 6 independent motor axes
+
* Direct USB connection to drives by using with highly reliable built-in FTDI USB chipset on the drives
+
* Uses non-real-time dependent [[Buffered motion stream in SimpleMotion V2]] method to feed trajectory points to drives
+
* Support axis homing/referencing with built-in [[Homing|homing functions]] of the drive, including [[Hard-stop homing]]
+
* Support spindles in various operating modes
+
** Velocity controlled spindle
+
** Position controlled spindle with rigid tapping
+
* Continuous error & fault monitoring on communication link and on each drive individually
+
  
 
== Requirements ==
 
== Requirements ==
 
The following things are needed for building a CNC machine using Mach4 and motor drivers connected with SimpleMotion bus:
 
The following things are needed for building a CNC machine using Mach4 and motor drivers connected with SimpleMotion bus:
 
* [[ATOMI|Atomi]], [[IONI Servo & Stepper Drive|IONI]] or [[ARGON Servo Drive|Argon]]-based motion system, e.g. CNC mill, connected with [[SimpleMotion V2|SimpleMotion]] bus
 
* [[ATOMI|Atomi]], [[IONI Servo & Stepper Drive|IONI]] or [[ARGON Servo Drive|Argon]]-based motion system, e.g. CNC mill, connected with [[SimpleMotion V2|SimpleMotion]] bus
 +
* Windows PC
 
* Mach4 software + license
 
* Mach4 software + license
 
* SimpleMotion adapter depending on selected motor drivers
 
* SimpleMotion adapter depending on selected motor drivers
 
* [[Granity]] software for configuring the motor drivers
 
* [[Granity]] software for configuring the motor drivers
  
== Motor driver configuration with Granity software ==
+
==== Mach4 installation ====
'''NOTE: The SimpleMotion motor drivers must be configured before trying to control them with Mach4!'''
+
* Download and install Mach4
 +
* Download the plugin files to the Mach4 plugin folder inside of its installation folder
 +
* Read the Mach4 installation, configuration and operation [http://www.machsupport.com/help-learning/product-manuals/ manuals] before use
 +
 
 +
== Configuration ==
  
 +
=== Motor driver configuration with Granity Software ===
 
This section shows the basic configuration for motor drivers with [[Granity]] software. More support for using this software can be found from the [[Granity user guide]]. The following subsection titles are links to corresponding guide pages. Download the Granity software from its wiki page, launch it and follow these steps:
 
This section shows the basic configuration for motor drivers with [[Granity]] software. More support for using this software can be found from the [[Granity user guide]]. The following subsection titles are links to corresponding guide pages. Download the Granity software from its wiki page, launch it and follow these steps:
  
Line 62: Line 54:
 
# Go to Testing tab and find a good high limit position by incrementing the setpoint
 
# Go to Testing tab and find a good high limit position by incrementing the setpoint
 
# Read the current setpoint, go to the Goals tab and set it to the position high limit
 
# Read the current setpoint, go to the Goals tab and set it to the position high limit
 +
{| class="wikitable"
 +
 +
|}
  
 
==== [[Granity user guide/Machine|Machine]] ====
 
==== [[Granity user guide/Machine|Machine]] ====
Line 75: Line 70:
 
This tab lets you to test your motor by changing its setpoint. It also shows the device state.
 
This tab lets you to test your motor by changing its setpoint. It also shows the device state.
  
'''NOTE: Ensure that the motors work correctly before trying to control them with Mach4!'''
+
=== Mach4 configuration ===
 
+
== Mach4 installation & configuration ==
+
 
+
==== Mach4 installation ====
+
* Download and install Mach4
+
* Download the plugin files to the Mach4 plugin folder that is located inside of its installation folder (i.e. C:\Mach4\Plugins). The download link can be found at the end of this page.
+
* Read the Mach4 installation, configuration and operation [http://www.machsupport.com/help-learning/product-manuals/ manuals] before use
+
  
 
==== Open the Mach4 Configuration dialog ====
 
==== Open the Mach4 Configuration dialog ====
Line 126: Line 114:
 
==== Spindle configuration ====
 
==== Spindle configuration ====
 
* Set min. and max. rpm for the spindle motor if it is controlled by Mach4.
 
* Set min. and max. rpm for the spindle motor if it is controlled by Mach4.
* The max. rpm set here doesn't have effect to the real speed of velocity-controlled spindle. Running a velocity-controlled spindle by here configured max. speed runs the spindle motor at the maximum speed configured in the SimpleMotion drive.
+
* The max. rpm set here doesn't have effect to the real speed of velocity-controlled spindle. Running a velocity-controlled spindle by here configured max. speed runs the spindle motor by the maximum speed configured in the motor driver.
 
* If the spindle is position-controlled, the spindle motor should be selected in the "Step/Dir Spindle Axis"-dropdown. The axis must be enabled and mapped before this.
 
* If the spindle is position-controlled, the spindle motor should be selected in the "Step/Dir Spindle Axis"-dropdown. The axis must be enabled and mapped before this.
 
[[File:MachConfigurationSpindlePos.png|800px]]
 
[[File:MachConfigurationSpindlePos.png|800px]]
  
 
==== SimpleMotion drive plugin configuration ====
 
==== SimpleMotion drive plugin configuration ====
Save the Mach4 configuration by pressing the OK button. Then open the SimpleMotion drive plugin configuration:
+
Save the Mach4 configuration, close it and open the SimpleMotion drive plugin configuration:
  
 
[[File:PluginConfigurationTab.PNG|400px]]
 
[[File:PluginConfigurationTab.PNG|400px]]
  
 
Set the following settings. The default values work in most cases.
 
Set the following settings. The default values work in most cases.
* SimpleMotion V2 adapter FTDI COM port number
+
* SimpleMotion V2 adapter FTDI port number
 
* SimpleMotion V2 buffer max. fill percentage
 
* SimpleMotion V2 buffer max. fill percentage
 
* In the case of using a velocity-controlled spindle, its axis should be selected here. The list shows only mapped and enabled axes that are not selected as position-controlled spindle
 
* In the case of using a velocity-controlled spindle, its axis should be selected here. The list shows only mapped and enabled axes that are not selected as position-controlled spindle
Line 142: Line 130:
  
 
Save the SimpleMotion drive plugin configuration by pressing "OK", and start using the software!
 
Save the SimpleMotion drive plugin configuration by pressing "OK", and start using the software!
 
+
== Other ==
== Downloads ==
+
  
 
==== Versions ====
 
==== Versions ====
Line 151: Line 138:
 
!Download
 
!Download
 
|-
 
|-
|0.9.0b
+
|0.1
 
|The first beta release
 
|The first beta release
 
|[[:File:M4SM.zip]]
 
|[[:File:M4SM.zip]]
Line 159: Line 146:
 
* A possible small bump after disabling or stopping motion due to aborted buffered motion
 
* A possible small bump after disabling or stopping motion due to aborted buffered motion
  
=== Giving ideas, bug reports, general discussion===
 
To discuss about the plug-in and it's features, join the community at: https://community.granitedevices.com/t/mach4-granite-devices-motion-plugin-open-beta/1022
 
 
__FORCETOC__
 
__FORCETOC__
 
[[Category:ATOMI_features]]
 
[[Category:Application]]
 
[[Category:CNC]]
 
[[Category:IONI_features]]
 
[[Category:IONI_user_guide]]
 

Please note that all contributions to Granite Devices Knowledge Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Granite Devices Knowledge Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Select categories:

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)