Commit Graph

52 Commits

Author SHA1 Message Date
Rob Giseburt
6e0442f4eb Implement spindle override {spo:1} 2020-07-26 15:53:07 -05:00
Rob Giseburt
6b99643e6b Implement feedrate overrides
`{fro:1}` is `G1 Fxxx` words are interpreted at 100% of `xxx`, `{fro:2}` is at 200% (max), and `{fro:0.05}` is at 5% (min).

`{tro:n}` is the same for the inherent feedrate of `G0`, with a max of 100% and min of 5%.
2020-03-12 14:26:58 -05:00
Rob Giseburt
c439af38ce Fix accidentally broken pwm json group 2020-01-22 15:44:00 -06:00
Rob Giseburt
45ac4a9723 Getting it to compile for gQuintic 2020-01-10 19:30:28 -06:00
Rob Giseburt
cffcd25266 Add ESCSpindle::stop, and ensure speed is recorded as 0 on stop 2020-01-10 19:30:28 -06:00
Rob Giseburt
8ba3eae1bf Compiling with new BantamSafetyManager 2020-01-10 19:30:27 -06:00
Rob Giseburt
205c401e72 Consolidating direct spindle controls to spindle.cpp 2020-01-10 19:30:27 -06:00
Rob Giseburt
2dfbb8c42d Make feedhold and feedhold exit interruptable, and Z-lift to max only when homed 2020-01-10 19:30:27 -06:00
Rob Giseburt
e16a9a8238 Making spmo do more nothing than it already did 2020-01-10 19:30:27 -06:00
Rob Giseburt
00cc6a0b53 Make feedhold while processing resume actions re-enter feedhold
Fixes #71
2020-01-10 19:30:27 -06:00
Rob Giseburt
c4830f6603 Fix for spindle PWM stutter, possibly causing brown outs
Fixes #78
2020-01-10 19:30:27 -06:00
Rob Giseburt
56f21080a1 Make spindle_speed_ramp_from_systick() return "done" when in feedhold (releasing the spindle) 2020-01-10 19:30:27 -06:00
Rob Giseburt
c7f2e0af41 Only have spindle trigger feedhold if the spindle.speed > 0 2020-01-10 19:25:11 -06:00
Rob Giseburt
57534fcd13 Ensure spindle ramp starts from 0 to get the timing right 2020-01-10 19:25:11 -06:00
Rob Giseburt
d2dba9d453 Cleanup spindle controls (adds spindle_is_on_or_paused) 2020-01-10 19:25:11 -06:00
Rob Giseburt
65860065dd Finish pwm soft-start
fixes #5
2020-01-10 19:25:11 -06:00
Rob Giseburt
224219ca71 Work on shutdown and estop handling 2020-01-10 19:25:11 -06:00
Rob Giseburt
517639f757 Add PWM ramping, make moves wait on spindle 2020-01-10 19:25:11 -06:00
Rob Giseburt
d130ed4675 S0 when spindle is at zero no longer triggers a pause
Fixes #62
2020-01-10 19:25:11 -06:00
Rob Giseburt
55418bc49d Don't request feedholds from inside spindle commands 2020-01-10 19:25:11 -06:00
Rob Giseburt
1a42d698a5 Fix #33 - spindle would resume when it wasn't on originally 2020-01-10 19:24:35 -06:00
Matt Staniszewski
0923a24f2f Added Bantam Tools E-Stop and Interlock Handler, Fixes #7 2020-01-10 19:24:35 -06:00
Rob Giseburt
c8659114fe Note that _exec_spindle_control() ignores flags 2020-01-10 19:24:10 -06:00
Rob Giseburt
29d8293562 Put compiler warning in place for when SPINDLE/COOLANT pins aren't set 2020-01-10 19:24:10 -06:00
Rob Giseburt
5b11fb9cd5 Merge branch 'edge' into 4c-recovery 2019-10-14 20:01:59 -05:00
Alden Hart
d03a10e8b8 Updated copyright dates. Tested dev-304-uvw-9axis/edge merge. Passed baseline testing. Fails Spindle test SPIN-02. ToGo - GPIO, Feedhold, Probing, Homing and Planner cases. 2018-03-26 12:18:26 -04:00
Rob Giseburt
70a3f309e2 Major GOIO refactor 2018-02-19 10:18:13 -06:00
Alden Hart
c60dc581f7 resolved merge conflicts between edge marlin-compatibility and dev-p24 2017-03-23 11:07:12 -04:00
Alden Hart
5031f4c8c6 Comments and cleanup 2017-03-21 08:04:31 -04:00
Alden Hart
76361a60b3 Removed overloading on get_int; shared some code on set_ints; removed set_flu() 2017-03-20 17:09:48 -04:00
Alden Hart
5f306e1657 Big commit. Added nv->value_int, and changed nv_value to nv->value_flt. Many many things changed. Passes smoke test. Now on to some real regressions. 2017-03-19 20:27:53 -04:00
Alden Hart
edf2b845b5 Added {dw:n} as a way to examine the dwell timer down counter. Useful for testing 2017-02-06 08:59:13 -05:00
Alden Hart
43c3430930 Some refinements to spindle function, out-of-band-dwell; testing 2017-01-16 12:27:28 -05:00
Alden Hart
886b4041b3 Installed planner-level out-of-band-dwell to better handle pinup delays. Commented out spin down delays. These may be useful later for direction reversals, but for now they are not needed. 2017-01-16 11:03:31 -05:00
Alden Hart
dddfa1ef13 Testing 2017-01-16 07:40:36 -05:00
Alden Hart
51741fde2f Added spinup and spindown delays for sync’d spindle commands; Added option on PAUSE and RESUME actions; Testing. Still have some work to make the delays work correctly. 2017-01-15 11:03:27 -05:00
Alden Hart
cbd34dfb58 Testing pause and resume cases. Check. 2017-01-15 09:42:37 -05:00
Alden Hart
c735a27cef Different approach to _exec_spindle_control(); Basic function only - no spinup or spindown or reverses 2017-01-15 07:01:43 -05:00
Alden Hart
6551f4e232 Testing and tweaking 2017-01-14 15:14:48 -05:00
Alden Hart
831a8c9011 Testing and tweaks 2017-01-14 12:38:33 -05:00
Alden Hart
65eeab7ac7 Testing and tweaks 2017-01-14 11:49:23 -05:00
Alden Hart
59c4cbad7e Checkpoint on spindle functions 2017-01-14 09:02:25 -05:00
Alden Hart
2b07f865c6 Changed base spindle control and speed functions 2017-01-13 16:09:13 -05:00
Alden Hart
c456b5ce88 Added spindle speed min/max values; added spindle mode; Separated spindle into its own group (SP); Made spindle standalone from canonical machine 2017-01-13 14:36:48 -05:00
Alden Hart
665475b57d Isolated Gcode parser 2017-01-12 10:54:16 -05:00
Alden Hart
f26522aae2 Isolated Gcode parser and cleaned it up a bit 2017-01-12 09:50:01 -05:00
Alden Hart
ca546db67d Intermediate checkpoint for isolating Gcode parser 2017-01-12 08:52:12 -05:00
Alden Hart
dc8800b7bd Cleaned up Gcode startup default values - moved from Gcode parser to Canonical machine settings 2017-01-11 10:00:50 -05:00
Alden Hart
33af418920 moved Gcode defines and structures into code.h 2016-12-09 14:13:39 -05:00
Alden Hart
a4330f42cc Intermediate commit - changing canonical machine struct to work by pointer - not absolute. Compiles. Does not run. 2016-12-09 07:41:31 -05:00