Comments (12)
Scratch that. It looks like you need to change config.h so it won't try homing Z:
#define HOMING_CYCLE_0 ((1<<X_AXIS)|(1<<Y_AXIS))
// #define HOMING_CYCLE_1
// #define HOMING_CYCLE_2
from grbl-lpc.
Do G0 and G1 moves work?
from grbl-lpc.
Yes. everything else seams to work. We also had successful laser cuts and engravings.
from grbl-lpc.
Connect to it using a terminal (e.g. PuTTY) and send it the ?
command. It should send a status block back. Look for |Pn:
. Within that field will be X
, Y
, and Z
values if it sees any switches active.
Repeat when you're holding down each switch to make sure they register properly.
from grbl-lpc.
With the Head in the homing position:
$5=1
ok
?
<Alarm|WPos:0.000,0.000,75.000|FS:0,0|Pn:PXYZ>
$5=0
ok
?
<Alarm|WPos:0.000,0.000,75.000|FS:0,0|Pn:P>
With the Head not in the homing position:
$5=1
ok
?
<Alarm|WPos:0.000,0.000,75.000|FS:0,0|Pn:PZ>
$5=0
ok
?
<Alarm|WPos:0.000,0.000,75.000|FS:0,0|Pn:PXY>
A switch in the Z direction is not attached.
I assume $5=1
is the correct setting. But when I home with this, I get ALARM: 8 - Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.
from grbl-lpc.
The Z switch input might be confusing it. Try tying it off to either VCC or GND (opposite of what your switches drive to).
from grbl-lpc.
Ah, in the grbl/config.h
. It would be nice if this was optionally / disabled in laser mode or configurable via serial commands.
Shall I open an issue?
from grbl-lpc.
Some lasers use a Z axis to adjust focus based on stock height. I'm trying to avoid moving too far from grbl-328's way of doing things to make it easier to move grbl-lpc to grbl-hal when it comes out.
from grbl-lpc.
My grbl/config.h
now has the lines 106 to 109 as follows:
// #define HOMING_CYCLE_0 (1<<Z_AXIS) // REQUIRED: First move Z to clear workspace.
#define HOMING_CYCLE_0 ((1<<X_AXIS)|(1<<Y_AXIS)) // OPTIONAL: Then move X,Y at the same time.
// #define HOMING_CYCLE_1 ((1<<X_AXIS)|(1<<Y_AXIS)) // OPTIONAL: Then move X,Y at the same time.
// #define HOMING_CYCLE_2 // OPTIONAL: Uncomment and add axes mask to enable
Works for me and our K40 laser cutter.
Much Thanks!
from grbl-lpc.
from grbl-lpc.
What wiki do you mean?
The cncpro wiki?
from grbl-lpc.
from grbl-lpc.
Related Issues (20)
- Error in checksum calculation in flash.cpp HOT 3
- Open drain outputs HOT 7
- Laser PWM PIN how can i find it? HOT 16
- how to compile master to binary HOT 1
- Compile thew project for MKSSBASE1.3 HOT 1
- Windows Comiple Issue HOT 2
- please help, compileeeeee HOT 1
- Setting up an MKS board - PWM/TTL HOT 7
- M9 not working on mks HOT 2
- Can this run on LPC1768? SKR boards? HOT 5
- pn:PA triggered on MKS HOT 4
- Compatible with Bigtreetech SKR V1.3?
- MKS Sgen L HOT 1
- Safety door detected as opened HOT 1
- Compiling in Platform IO HOT 1
- How to compile Firmware.bin without Arduino IDE (LPC17xx) HOT 1
- LPC boards HOT 11
- grbl-LPC on AZSMZ Mini Board HOT 5
- arduino cnc sheild grbl setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grbl-lpc.