Commit Graph

740 Commits

Author SHA1 Message Date
Anders Sandstrom f4e25dacaa Test s-traj 2022-01-27 10:22:08 +01:00
Anders Sandstrom 338aa1d173 Add comments in plc file 2022-01-26 18:22:15 +01:00
Anders Sandstrom 161ff92c25 Retrigger code buffer works.. 2022-01-26 16:51:26 +01:00
Anders Sandstrom 5593772b71 Add busy bit 2022-01-26 16:43:09 +01:00
Anders Sandstrom 55ce426476 Add plc-commands WIOP 2022-01-26 15:08:24 +01:00
Anders Sandstrom a42b4b62f2 WIP 2022-01-26 09:46:16 +01:00
Anders Sandstrom 61bfb33edb WIP 2022-01-25 19:37:34 +01:00
Anders Sandstrom 1f9c162555 Identify ok or error from grbl 2022-01-25 19:00:43 +01:00
Anders Sandstrom 218ade3e2a WIP 2022-01-25 18:53:17 +01:00
Anders Sandstrom 634b147a56 Wait for reply before send new command. (WIP) 2022-01-25 15:56:46 +01:00
Anders Sandstrom fc194a029b WIP 2022-01-25 15:04:56 +01:00
Anders Sandstrom fa957a8bec WIP 2022-01-25 14:31:11 +01:00
Anders Sandstrom 11c3e5c5b5 WIP 2022-01-25 08:44:51 +01:00
Anders Sandstrom 5ff7e7fcd8 Add sync ecmc and grbl positions before enable. Comment out some printfs 2022-01-24 16:05:52 +01:00
Anders Sandstrom 438d9cf5a1 Comment out some printouts! 2022-01-24 11:41:58 +01:00
Anders Sandstrom 56c588690b Do not execute if exe time<0 2022-01-24 11:17:40 +01:00
Anders Sandstrom 02cb9cd6e4 Simulate grbl intreupt rate (WIP) 2022-01-24 11:10:20 +01:00
Anders Sandstrom 274267133d Tested 2 axes on mcu1021_coupler 2022-01-21 12:34:43 +01:00
Anders Sandstrom 50f8f7d7fd WIP 2022-01-21 11:56:29 +01:00
Anders Sandstrom 6d968d724c Fix cycles 2022-01-21 11:54:20 +01:00
Anders Sandstrom a889eb0e8c WIP 2022-01-21 11:36:18 +01:00
Anders Sandstrom 15fc72e326 WIP 2022-01-21 09:41:07 +01:00
Anders Sandstrom 9c97d44b02 WIP 2022-01-21 08:20:22 +01:00
Anders Sandstrom 2917bdfeb5 WIP 2022-01-20 17:37:08 +01:00
Anders Sandstrom 08053a9896 WIP 2022-01-20 17:34:45 +01:00
Anders Sandstrom 0b33512ffd Increase serial buffers.. 2022-01-20 17:29:06 +01:00
Anders Sandstrom e2de2fb0a8 WIP 2022-01-20 16:55:06 +01:00
Anders Sandstrom 002221ccf1 WIP 2022-01-20 16:32:18 +01:00
Anders Sandstrom aa5b5f8267 Prefix all grbl files with grbl to avoid conflicts.. 2022-01-20 13:45:18 +01:00
Anders Sandstrom 84ff286e0b Rename limits.h to avoid conflict 2022-01-20 13:33:21 +01:00
Anders Sandstrom d78e8ef9f6 Integrate as a normal plugin.. WIP 2022-01-20 13:08:08 +01:00
Anders Sandstrom 406b66d020 WIP: tested G0,G1,G2,G4.. 2022-01-19 21:14:47 +01:00
Anders Sandstrom 972f29ec19 WIP 2022-01-19 20:06:00 +01:00
Anders Sandstrom 3f9eb4ea85 add client thread. Fix delay_ms bug ... 2022-01-19 18:05:16 +01:00
Anders Sandstrom 450f553699 Test x,y movement 2022-01-18 15:37:22 +01:00
Anders Sandstrom 6e4bd2410f First parsed G-code commandgit add .! 2022-01-18 15:28:28 +01:00
Anders Sandstrom 6ce6b78ebe WIP: settings to file (eeprom) seems to work 2022-01-18 11:25:10 +01:00
Anders Sandstrom 6ece50c491 First execute as ecmc plugin.. 2022-01-18 10:25:21 +01:00
Anders Sandstrom 4143351780 WIP 2022-01-17 17:13:38 +01:00
Anders Sandstrom 952c0d4cf5 WIP 2022-01-17 16:04:51 +01:00
Anders Sandstrom e907604e26 WIP: need to check print again.. Maybe keep serial interface.. 2022-01-17 14:04:24 +01:00
Sonny Jeon bfb67f0c79 Update README.md 2021-01-22 19:13:48 -05:00
Sonny Jeon eefe2bb95b Update log. 2019-08-30 07:13:51 -04:00
Sonny Jeon bdc2da9b59 Fixed typo bug effecting dual-axis build with Y. 2019-08-30 07:13:21 -04:00
Sonny Jeon 40eb439bf2 Update grbl.h 2019-08-25 21:13:03 -04:00
Sonny Jeon cc4c0ffebc Update system.c 2019-08-25 21:04:09 -04:00
Sonny Jeon b75e5571ee 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.
2019-07-30 21:51:49 -04:00
Sonny Jeon bb25d2f97e Update grbl.h 2018-11-12 08:25:57 -07:00
Sonny Jeon addb1a9813 Update system.c
Correct control pin state checking within pin change interrupt. Improper if-else statements could lead to missed signal.
2018-11-12 08:25:32 -07:00
Sonny Jeon 0b5604bd7b Update gcode.c
If statement bug fix related to jog motion modal group error checking.
2018-11-12 08:20:45 -07:00