6 AXIS CNC #359
Replies: 6 comments 4 replies
-
Hi @alphaonex86, If I have a good count: 1x + 5y + 3z = 9 logicals axis, with duplicat axes, you have 2 end stops per axis, so: 22 / 2 = 11 reals axes !!! grbl-Mega-5X is only able to drive 6 reals axes. The Arduino mega 2560 board doesn't have the hardware capacity to do more than this. To drive the huge number of axes of your project, you will need to use 2 or more cards with grbl-Mega-5X. So, you will need to add synchronization communication between them. Perhaps this can be done directly in GCode using the digital inputs/outputs which grbl-Mega-5X is able to drive ([M62-M65] Digital output, the digital input synchronization GCode (M66) in not yet implemented in gcode.c). Moreover, there is no input to drive error input message from drivers. @++; |
Beta Was this translation helpful? Give feedback.
-
I search detect the bed leveling, but not as square, following the path and probe (some zone is isolated, other is conductive). I can generate the GCode, I need just have GCode way to detect the level (I can connect opto + electric contact detector). Any GCode to just detect and get the level? pin to connect the sensor? |
Beta Was this translation helpful? Give feedback.
-
Hi @alphaonex86, The GCode When you issue a G38.n, Grbl reply with a PRB: probe parameter message which give the axes values of contact point and includes an additional : suffix value (boolean) which denotes whether the last probe cycle was successful or not. The last probe value can also be retrieved with the You can see on wiki (https://github.com/fra589/grbl-Mega-5X/wiki/grbl-Mega-5X-pinout) than the default probe pin is on A15. @++; |
Beta Was this translation helpful? Give feedback.
-
For now I failed on:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hello @alphaonex86, Grbl (as many other CNC firmware using stepper motors) is not able to know it's phisical position at power on. So, if you enable limits (software or hardware ($20 / $21)) you also need to enable homing ($22). Then, at power on, Grbl come in Alarm status and wait for a homing to know it's position and clear this alarm status. You can clear this Alarm status by issuing the By default, hardware limits are not enabled in grbl-Mega-5X since this lower it's performance a little bit. To enable hardware limits, see cpu_map.h: line 200 to 206... and uncomment the line (remove the // at begining) @++; |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have my own driver, 1X, 5Y, 3Z, all with 2+ optical end-stop for each AXIS (22 end stop with duplicate AXIS). Then the other AXIS is linear, not rotatory. Each Y it's for 1 tools, 3Y it's with spindle motor.
All my driver have error output is case of error detection.
What I need change into the source to have full working/homing and take care of error?
Sorry for my bad English.
Beta Was this translation helpful? Give feedback.
All reactions