Commit Graph

63 Commits

Author SHA1 Message Date
Alden Hart
c60dc581f7 resolved merge conflicts between edge marlin-compatibility and dev-p24 2017-03-23 11:07:12 -04:00
Rob Giseburt
735b9dcad7 Fix marlin compatibility bed controls not working. 2017-03-21 22:23:57 -05:00
Alden Hart
ae0145c28f Some comments and naming changes to offsets for clarity 2017-03-21 06:32:45 -04:00
Alden Hart
5c451cfcb4 Fixed Gcode parser to preserve large line numbers 2017-03-20 07:18:26 -04:00
Alden Hart
e31be2ae0d Line number validation 2017-03-18 20:05:48 -04:00
Alden Hart
0a466861f6 Converted cm_cycle_start to use operations runner; Stubbed in motion profiles 2017-03-12 07:52:27 -04:00
Rob Giseburt
d770cb81d4 Fix non-Marlin compatibility compile 2017-03-07 11:20:38 -06:00
Rob Giseburt
6e5d073e7e Introducing checksums and sequential-line-number checking.
Use {nxln:0} to reset the next line number expected.

Add *nnn to the end of a line (can be after a ; for gcode cleanness) where non is the decimal (NOT with leading zeroes) value of the XOR of every character before the *.

If there is a *checksum AND a line number, then the checksum is verified and the line number is checked to be the next one it was expecting (the value of nxln or the previous line’s N + 1).
2017-03-07 11:03:02 -06:00
Alden Hart
747cdf02d1 Review and formatting. No code changes other than {} wrappers in some places in bio where they were missing 2017-02-24 10:58:15 -05:00
Alden Hart
0abc3af2de Moved Code MODAL_GROUP enums to Gcode_parser.cpp from canonical_machine.h 2017-02-24 10:20:52 -05:00
Alden Hart
c8a99ad73f Created Marlin state object (removed variables from cm.gmx); 2017-02-24 10:17:39 -05:00
Alden Hart
86908cabe5 Code documentation and organization pass 2017-02-24 09:33:56 -05:00
Alden Hart
a42c6a3759 resolved merge conflicts 2017-02-23 11:11:03 -05:00
Alden Hart
6549d21e6d resolved merge conflict with edge 110.20 2017-02-23 09:01:47 -05:00
Alden Hart
8199c1816f resolved merge conflicts 2017-02-16 13:17:33 -05:00
Alden Hart
22737fd75f Optimistically, Issue #33 is fixed. Still has a whole lot of diagnostics enabled that would blow up the JSON parser, and it has not been well tested yet. So don’t use this. 2017-02-15 13:20:10 -05:00
Alden Hart
2325c1119e Removed some cruft 2017-02-08 16:04:33 -05:00
Alden Hart
23012a0351 cleaning up complex merge with dev-237-probing-improvements. Passes a a bunch of regressions 2017-02-08 15:13:12 -05:00
Rob Giseburt
8dded6a9f3 Marlin: Now requests line resend on non-sequential line numbers, and for checksum failures. 2017-02-08 13:53:07 -06:00
Alden Hart
e592ce1339 Checkpoint. Passes G28 and G53 tests 2017-02-08 13:22:49 -05:00
Rob Giseburt
eff4939bf5 Improve handling of too-long lines, and up minimum buffers to 512bytes.
Fixes #206
2017-02-06 16:57:05 -06:00
Rob Giseburt
ecc09e0b54 Marlin: *fake* support for SD M-codes (M20, M21, M22, M23) 2017-02-06 16:53:11 -06:00
Rob Giseburt
96b4e0c52e Marlin: If an E is seen, switch to Marlin-flavor gcode. 2017-02-06 15:20:49 -06:00
Rob Giseburt
dcba477058 Improve handling of too-long lines, and up minimum buffers to 512bytes.
Fixes #206
2017-02-06 15:20:20 -06:00
Rob Giseburt
bca3848b9a Marlin: M84, M84 Sxxx, M85 Sxxx, and M18 Sxx
Note, M18 Sxx, M84 Sxx, and M85 Sxx have the same implementation.

M84 is different.
2017-02-06 15:18:06 -06:00
Rob Giseburt
1350523c37 Mute probing, and ensure that tool 0 is never selected in Marlin-flavor gcode. 2017-02-01 20:58:12 -06:00
Alden Hart
b8af55c653 More testing, some name changes to clarify things 2017-02-01 13:14:01 -05:00
Alden Hart
ba730ddf6c Disabled soft limits during probing; Some cleanup 2017-01-31 11:56:46 -05:00
Rob Giseburt
fb1860dc02 Marlin: Fix G28 to work when either marlin gcode flavor or marlin protocol are active. (For Repetier to home from the console.) 2017-01-26 10:45:43 -06:00
Rob Giseburt
018bc18a09 Marlin: Added M115 (report version) and M110 (ignored) 2017-01-26 10:44:44 -06:00
Alden Hart
f13278e72a Corrected arc entry condition that was not properly trapped; more feedhold testing 2017-01-25 10:35:23 -05:00
Rob Giseburt
657e68b53a Refactor tool (startup tool is 1 now), speedup marlin temp display, added str_concat utility. 2017-01-24 17:02:08 -06:00
Rob Giseburt
015e9060d9 Correction on how Marlin M104, M140, M109, M190 are handled. 2017-01-23 17:05:15 -06:00
Rob Giseburt
3556a2cbf3 Another pass at Marlin Compatibility mode. Functional enough to test. 2017-01-20 14:36:21 -06:00
Alden Hart
a7b3cae61b Fix for JSON G10 coordinate commands. 2017-01-19 17:21:27 -05:00
Rob Giseburt
c1b2a91115 More work on Marlin-compatibility (M104,M140,M109,M190 implemented) 2017-01-18 15:48:31 -06:00
Rob Giseburt
56b9991a16 More Marlin compatibility work 2017-01-18 12:44:12 -06:00
Alden Hart
956840358c Coolant testing and minor fixes. Passes current regressions. Pause and resume tested manually. 2017-01-17 08:53:59 -05:00
Alden Hart
e9742a1a05 Coolant work. Checkpoint 2017-01-17 07:06:32 -05:00
Rob Giseburt
c2158b9662 First steps at marlin compatibility. 2017-01-16 12:50:56 -06:00
Alden Hart
dddfa1ef13 Testing 2017-01-16 07:40:36 -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
15241fabb5 Checkpoint. Testing switch to secondary planner 2017-01-11 09:06:26 -05:00