Dual motor support for self-squaring gantry homing.
- New dual motor support feature for gantry CNC machines. An axis motor is efficiently mirrored to a dedicated set of step and direction pins (D12/D13 or A3/A4) with no detectable loss of performance. Primarily used to independently home both sides of a dual-motor gantry with a pair of limit switches (second shared with Z-axis limit pin). When the limit switches are setup correctly, Grbl will self-square the gantry (and stay square if $1=255 is programmed). Beware use at your own risk! Grbl is not responsible for any damage to any machines. - Dual axis motors is only supported on the X-axis or Y-axis. And deletes the spindle direction(D13) and optional coolant mist (A4) features to make room for the dual motor step and direction pins. - Dual axis homing will automatically abort homing if one limit switch triggers and travels more than 5% (default) of the non-dual axis max travel setting. For example, if the X-axis has dual motors and one X-axis triggers during homing, Grbl will abort 5% of the Y-axis max travel and the other X-axis limit fails to trigger. This will help keep any misconfigurations or failed limit switches from damaging the machine, but not completely eliminate this risk. Please take all precautions and test thouroughly before using this. - Dual axis motors supports two configurations: - Support for Arduino CNC shield clones. For these, step/dir on pins D12/D13, and spindle enable is moved to A3 (old coolant enable), while coolant enable is moved to A4 (SDA pin). Variable spindle/laser mode option is NOT supported for this shield. - Support for Protoneer CNC Shield v3.51. Step/dir on pins A3/A4, and coolant enable is moved to D13 (old spindle direction pin). Variable spindle/laser mode option IS supported for this shield. - Added Bob's CNC E3 and E4 CNC machine defaults.
This commit is contained in:
parent
bb25d2f97e
commit
b75e5571ee
13 changed files with 578 additions and 104 deletions
|
|
@ -8,3 +8,4 @@
|
|||
"7","Homing fail","Homing fail. Safety door was opened during homing cycle."
|
||||
"8","Homing fail","Homing fail. Pull off travel failed to clear limit switch. Try increasing pull-off setting or check wiring."
|
||||
"9","Homing fail","Homing fail. Could not find limit switch within search distances. Try increasing max travel, decreasing pull-off distance, or check wiring."
|
||||
"10","Homing fail","Homing fail. Second dual axis limit switch failed to trigger within configured search distance after first. Try increasing trigger fail distance or check wiring."
|
||||
|
|
|
|||
|
|
|
@ -19,4 +19,5 @@ $,Restore EEPROM `$` settings command,Disabled
|
|||
I,Build info write user string command,Disabled
|
||||
E,Force sync upon EEPROM write,Disabled
|
||||
W,Force sync upon work coordinate offset change,Disabled
|
||||
L,Homing initialization auto-lock,Disabled
|
||||
L,Homing initialization auto-lock,Disabled
|
||||
2,Dual axis motors,Enabled
|
||||
|
|
|
@ -1,3 +1,40 @@
|
|||
----------------
|
||||
Date: 2018-11-12
|
||||
Author: Sonny Jeon
|
||||
Subject: Update grbl.h
|
||||
|
||||
----------------
|
||||
Date: 2018-11-12
|
||||
Author: Sonny Jeon
|
||||
Subject: Update system.c
|
||||
|
||||
Correct control pin state checking within pin change interrupt. Improper if-else statements could lead to missed signal.
|
||||
|
||||
----------------
|
||||
Date: 2018-11-12
|
||||
Author: Sonny Jeon
|
||||
Subject: Update gcode.c
|
||||
|
||||
If statement bug fix related to jog motion modal group error checking.
|
||||
|
||||
----------------
|
||||
Date: 2018-06-14
|
||||
Author: Sonny Jeon
|
||||
Subject: Spindle/coolant rare bug fixes. Free more flash.
|
||||
|
||||
[new] Altered the way default settings are stored and restored. Saved about 300 bytes(!) of flashed size. Should free up enough for certain configurations of CoreXY machines.
|
||||
|
||||
[fix] When the optional M7 mist coolant IO was enabled, coolant overrides was not disabling correctly.
|
||||
|
||||
[fix] Coolant override states was not restored correctly after a parking motion in certain situations. It would restore programmed state, rather than current overridden state.
|
||||
|
||||
[fix] Now allow coolant overrides to operate during jogging motion.
|
||||
|
||||
[fix] Invert control pin mask typo.
|
||||
|
||||
[new] Added a new build info feedback mechanism for enabling the safety door input pin.
|
||||
|
||||
|
||||
----------------
|
||||
Date: 2018-06-09
|
||||
Author: Jon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue