|
|
Rank: Newbie Groups: Member
Joined: 11/9/2009 Posts: 1 Points: 3 Location: Wichita, KS
|
It seems that the machine is staying in G91 mode.
Add a G90 to the first movement line in each script... All start out in the form of 'Code "G31 Y" &(X/Y/Z)New' and should be 'Code "G90 G31 Y" &(X/Y/Z)New'.
The hole center probe routine is lacking G90 altogether in its original form and will bend and break probes if the above change isn't made...
My machine has not traveled in the wrong direction since....
|
|
Rank: Newbie Groups: Member
Joined: 11/6/2009 Posts: 1 Points: 3 Location: s
|
thank so much HOSS
|
|
Rank: Administration Groups: Administration
Joined: 6/28/2008 Posts: 202 Points: 515 Location: Follansbee, WV
|
It's a good idea to enable The Initialization String in Machs General Config page and include G90. Whenever you reset, the system is returned to G90 and you won't run into any problems. Hit reset before you are about to do any probing and all will be well. I include in my string the following, G20 G40 G49 G50 G80 G90 Hoss
Hoss attached the following image(s):

Gosh, you've... really got some nice toys here.-Roy Batty
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2010 Posts: 5 Points: -82 Location: Scotland
|
Hi Hoss,
I have just been trying your probe screens and I have come accross a problem. Everything seems to work okay but the corner buttons for x,y and z setting. I first home the machine followed by jogging the probe or tool down to near the corner I want to set, I then activate the corner button which then starts the z axis jog down to the surface contact is made the the z axis reverses and drives all the way to the top. Looking at the code for the button it should stop 15mm above the surface. Any idea what I may be doing wrong?? I am using your metric tool probing screen.
Regards
Arthur
|
|
Rank: Administration Groups: Administration
Joined: 6/28/2008 Posts: 202 Points: 515 Location: Follansbee, WV
|
Does the standard Z probe work right? The code should be the same for the start of all the corner buttons. Hoss
Gosh, you've... really got some nice toys here.-Roy Batty
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2010 Posts: 5 Points: -82 Location: Scotland
|
Hi Hoss
The standard Z probe is fine. Problem has changed though a Z now comes up to 15mm above part then moves to the right 25 down 5 and stops with a z plate is grounded error. I have had the scope on the input and it only momentarily grounds when the probe touches. I will need to investigate further, it may be a noise problem.
Regards
Arthur
|
|
Rank: Newbie Groups: Member
Joined: 1/21/2010 Posts: 1 Points: 3 Location: Italy
|
Hi Hoss, I set your screen and your scripts. Z+ works fine except that probe comes up to a random height (I set 20mm). Same story for the other scripts: smoe time they work some time they don't. I suspect G90-G91 trouble. Is it possible to manage something in order to eliminate g90-g91 need?
|
|
Rank: Administration Groups: Administration
Joined: 6/28/2008 Posts: 202 Points: 515 Location: Follansbee, WV
|
Noise is a problem with false triggers, I had them too. Adding the capacitor between the probe wires cured mine, others have switched to using shielded wire. Hoss
Gosh, you've... really got some nice toys here.-Roy Batty
|
|
Rank: Newbie Groups: Member
Joined: 1/20/2010 Posts: 3 Points: 9
|
Hoss,
Ok I found all my problems with my probe setup. When I try X,Y Z zero, all works as expected. When I try any of the corners, it will perform the z, move in the proper direction, lower then stop on table ground. If I use the edit button script and hit any corner button, it will step through the script and complete the procedure with out going to the ground subroutine. This always works with no problems. I tried inserting the cap but got the same results. I'm using a C1 opto-isolated BOB. Any thoughts?
Stellartom
|
|
Rank: Administration Groups: Administration
Joined: 6/28/2008 Posts: 202 Points: 515 Location: Follansbee, WV
|
I notice on the CNC4pc pdf that the c1 doesn't use a pull-up resistor like on my older c10. http://cnc4pc.com/Tech_Docs/C1R10_1_USER_MANUAL.pdfHoss
Gosh, you've... really got some nice toys here.-Roy Batty
|
|
Rank: Newbie Groups: Member
Joined: 2/14/2010 Posts: 4 Points: 12 Location: HB, So Cal
|
Hi Hoss, thanks for all the great work!
I'm also having a problem. The inner/outer diameter routines work just fine, but I also have trouble on the corner finding macro.
The Z moves down, contacts, and then X moves (and then Z again, I think). But from there it freezes saying the plate is grounded. The probe is insulated from the spindle and I'm using shielded wire. Seems strange that the circles would work but not the squares?
|
|
Rank: Administration Groups: Administration
Joined: 6/28/2008 Posts: 202 Points: 515 Location: Follansbee, WV
|
If I get an error once in a while, I hit the Mach Reset button, usually clears the problem. Mach gets codes stuck in it's memory and needs to clear it's head once in a while. Hoss
Gosh, you've... really got some nice toys here.-Roy Batty
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2010 Posts: 5 Points: -82 Location: Scotland
|
Hi Hoss
I am still having trouble with the corner finding macro. All others are working well. (using your metric screen set)
On starting the corner find macro the probe drops to touch the top surface of the part. Imediately the status bar shows probe grounded the probe then rises 15mm and the x moves 25mm across and then drop to -5 where it stays. I find it strange that the z only works without the plate grounded error.
After starting the corner macro I simulated the probe touch by manualy touching the surface of the job very quickly instead of letting the probe travel all the way down to the surface and the macro completely finished.
Any ideas?
Art
|
|
Rank: Newbie Groups: Member
Joined: 2/14/2010 Posts: 4 Points: 12 Location: HB, So Cal
|
Seems like I'm not the only one, I've tried Hoss' suggestion but the corner macro just doesn't work.
I was able to find the outside corner by clicking the 3 different buttons separately, no big deal. I just can't remember what order I did them in for the next time!
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2010 Posts: 5 Points: -82 Location: Scotland
|
Hi Rezcar
I bet it will run through the whole macro if you take the connection off the probe, push the corner find button and touch the material once with the probe wire. You will also need to touch the material when the probe starts to move in the x and y direction to simulate the probe actually touching the material to be machined. I know this is no good as you are not using the probe so the readings will mean nothing.
I dont know visual basic but it seems that the command (Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun)when the probe touches the material for the second time the probe grounded error shows.
Hoss may be able to advise as it sounds like both our machines have the same problem.
Art
|
|
Rank: Administration Groups: Administration
Joined: 6/28/2008 Posts: 202 Points: 515 Location: Follansbee, WV
|
Sorry for the delay guys, have you tried changing the symbol <> to = or vice versa? Hoss wrote:look for this line in the code
If GetOemLed (825)<>0 Then 'May need to use =0 if it errors
Hackmax has problems with the <>0 so he changed it to =0 to fix it. My system just stops if I use =0. Hoss
Gosh, you've... really got some nice toys here.-Roy Batty
|
|
Rank: Newbie Groups: Member
Joined: 1/17/2010 Posts: 5 Points: -82 Location: Scotland
|
Hi Hoss,
I now have the corner probing buttons working now.
By changing GetOemLed (825) to = 0 only in the x direction and leaving the other axis as <>0 it has cured the problem.
I dont know enough VB to explain why but it now works well.
Art
|
|
Rank: Administration Groups: Administration
Joined: 6/28/2008 Posts: 202 Points: 515 Location: Follansbee, WV
|
Good to hear, I don't know much about VB either just enough to get by. I can edit OK but wouldn't know where to start writing one from scratch. Hoss
Gosh, you've... really got some nice toys here.-Roy Batty
|
|
Rank: Newbie Groups: Member
Joined: 2/14/2010 Posts: 4 Points: 12 Location: HB, So Cal
|
Thought I had auto email notifications when this thread was updated...good thing I checked back!
I did the same as the flying scot and the corners now work! However, the hole centering macros don't anymore. They do some crazy movements which I can't figure out in the script.
I'll play around with it and see if I can figure it out.
|
|
Rank: Newbie Groups: Member
Joined: 2/14/2010 Posts: 4 Points: 12 Location: HB, So Cal
|
It works now! Didn't do anything. Thanks again Hoss!
|
|
|
Guest |