Separate names with a comma.
Some features disabled for guests. Register Today.
Discussion in 'Control Software' started by Mark Carew, Oct 8, 2018.
On my way home today I was trying to figure out a good way to get a repeatable way to get Zero on a fixture I was going to make. Would it be possible to add probe X and probe Y Like how we have probe Z?
Yes. We do it with macros. I set up mine using the docs from Ooznest. The only thing you need to change is swap out all the semi colons with new lines.
Setup a XYZ Touch Probe with a CNC xPro Controller
There are two docs at the bottom that will help you sort it out.
Awesome, Well I kinda got it to work. But after it touches off I have to home again for it to goto Zero. and its off in X and Y.
G38.2 Z-25 F100
G91 G0 Z3
G91 G0 X-25
G91 G0 Z-8.2
G38.2 X30 F100
G91 G0 X-3
G91 G0 Y-25
G91 G0 X25
G91 G0 Z-8.2
G38.2 Y30 F100
G91 G0 Y-3
G91 G0 Z8.2
G10 P0 L20 X34.236 Y-15.628 Z8.48
One other thing I forgot. Add G90 to a new line at the bottom.
"But after it touches off I have to home again for it to goto Zero" I dont understand what you mean. Are you saying that you want the tool to move to Work 0 after the probe finishes? If so, add it on a new line after G90.
If it's off in X and Y did you change the offsets in the G10 line to match your probe and bit dimensions?
If I click goto work Zero it will not move until I home all the axis.
Hmmm. Not sure why that would be. OB Control issues a G21 G90 to start the move so even missing the G90 at the end of your code should be ok.
What does the serial console say?
G90 did fix it. Now I just need to mess with the X offset. It is like 25mm away from where it should be.
Since we are straying from an OB Control convo, lets take this to a new thread or to DM.
Edit. I see you changed the X and Y movements to 25mm instead of 50mm. But it doesnt look like you accounted for that in your G10 line.
I've searched the forum and google and didn't see this asked, Is there a way in GRBL or the in Open Build CONTROL to specify that the Y axis is actually Z and the Z axis is actually Y. This way the gcode it generates just switches the vaules so that when its looking for a Y move is uses the Strpper plugged into the Z Port on the board?
I'm converting an old 3D printer into a Laser cutter and am looking at getting a GRBL board that has a X/Y1/Y2/and Z port but the printer has 2 Stepper on Z and only one on X and Y? I don't think I'd need to change Z very often but it would be useful when trying to engrave item by raising the Z axis to focus distance+material height.
Get a BlackBox it supports what you want to do out of the box
Hi, Does the ACEPC work well with Fusion 360?
I havent tried but probably a big NO.
Need some help on homing w/ BlackBox and Control, I have 3DP background w/ a bit of CNC on an (Bantan) Othermill. I know GRBL Gcode similar but not the same and reading on this issue I understand the machine vs workspace coordinates for cnc. However I cant find a well put together guide on this. OB tutorials and docs have not been sufficient yet.
Issue: Control finds Home is in middle or machine, I issue G28 X0 expecting to home to the limit switch but it only home back to the middle, Im aware of a setting for unsafe homing (continuing into neg space) but this doesnt seem right.
Im sure Im just not getting wrong the GRBL codes and procedures to A) Home to Switches for Machine, B) Set Workspace Home or some variation thereof, but I could really use some CNC/OpenBuildControl/GRBL noob pointers here as to what Im missing.
My expectation is that once I turn on my machine (much like a 3DP) 0,0,0 is init'd to the current tool location and the very next thing you want to do is home to the switches/probe.
I for the life of me cant figure that out in OpenControl (I wasnt hitting the Home ALL button at the top as one limit switch was not connected, but I expected something like a G28 X0 would work but it does not go to switch.
Im on Sphinx 55 and I have set firmware to switches enabled, saved, reset etc.
Any help appreciated as I cant move forward w/o this corrected.
Read the "Run homing cycle" here. It should help you understand what's happening: gnea/grbl
Thanks @sharmstr !!!
I got me endstops setup correctly/completely so I could feel comfortable running the home all, in doing so, I realized I would have to revert my override of the default profile to invert x and y as it was homing opposite the endstops. A quick fix, reset, and it homed correctly and now Im going to have to get used to working in negative space as Ive read is common.
Thanks for the link, I only had time to skim it, it is exactly what I needed!!! Ill have to take some more time to go through and learn that page proper.
Does the machine have homing switches?
The behavior you describe indicates that it does not.
When there are no homing switches GRBL sets machine home to wherever it turns on or resets.
It also defaults G28 to 0,0,0 unless you change it (and it remembers the change).
So it looks like your are turning on (connecting the software will also do a reset) with the router in the middle of the machine.
While this can work there is a better way. We fake the home position!
Industry convention is that home is at the positive ends of travel, so if we put the router at X+ Y+ and Z+ we can call this home.
Just push it there (if belts) or jog it there (if screws) and then reset the controller.
Now GRBL regards this as machine 0,0,0.
Now we have a bunch of advantages:
G28 offsets will always be in the same place on the machine, I use this as a place for tool changes.
Work offsets (WCS like G54) are remembered correctly through power outs. Thus if you are busy on a cut and the power fails or you have to Estop for some reason, the work 0,0,0 is remembered in the correct place. (I always check Z height after this, and especially after a tool break the Z offset will change)
We can easily position a fixture and cut many items in the fixture over many days without having to reset WCS offsets, even with turning off everything and turning on again the next day.
But how to ensure that this always works? All we have to do is always switch off in the home position. I use macro for this
G53 G0 z0
G53 X0 Y0
If power fails, we only have to push or jog to that position and reset and we have our work coordinates back and can continue.
you cannot enable homing until all the switches work. If homing is enabled, you HAVE TO home before doing any work. (G28 is not a homing command, G28 is only a remembered position that can be used for toll change or material change etc. It is an offset from the home position so without a good home G28 is useless)
Is it possible to set work or machine coordinates to 0,0,0 after homing the machine automatically?
'Homing' means setting the machine coordinates to 0,0,0 in a defined position.
You can set up a macro to reset the work coordinates but really you already have buttons for that.
^ those buttons there set work coordinates to 0 at the current position.
So if you want it to be the same as machine 0 then either
press 'gotozero XYZ' if you have home switches
G53 G0 Z0 ; safely raise z
G53 G0 X0 Y0 ; go to home
and then press the 'setZero XYZ' button
After I click on the "Home" button (picture of house), the machine goes to the home position but the coordinates are not 0,0,0. This happens after I turn on the machine and computer. I almost ruined a job after I forgot to click on the "SetZero XYZ" button.
setting work coordinates is a normal part of every CNC job. you have do it every time. this is not what home is for.
home is so the machine knows about itself.
work coordinates are so the machine knows about your workpiece.
@Peter Van Der Walt We got a problem. I cant reproduce, but I have a screenshot for you. The other day, @Blake Barr contacted me asking why the Z probe wizard would switch to inches per min on the feed rate. I told him he was crazy and to quit drinking in the shop. .180 had just came out so I tested both .179 and .180 and couldnt reproduce. I explained to him again that he was crazy.
Today I was setting up a new job. I manually set x and y 0 using the set buttons (something he had done as well). Then I used the Probe Z wizard. I have never changed my feed rate in the wizard so its set to 100mm per min. I clicked the probe button and my bit slammed into my probe plate. In the screen shot you can see that it used my jog feed rate, not the feed rate in the wizard. Then when I retracted it slammed into my Z limit switch (which is a good 40+mm from where Z0 is after probing) as you can see below.
I've since run it again like 4 times without issue. Good luck
You're going to say its emi
Love this software. bCNC seems more fully featured but this is much easier to use.