Hello Guest it is April 25, 2024, 07:48:20 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Deon Gerber

Pages: « 1 2 3 4 5 6 7 »
41
Hi Brian

I see I had a typo in the previous post. It should be G31 not G32. That set aside, here are extract from a vb button..........

Length=GetUserDro(1020)
Clearance=GetUserDro(1010)

'The following is for offline testing!
Call SetVar(2001,99999)   
Call SetUserDRO(1030,GetVar(2001)) 
Call SetUserDRO(1040,GetVar(2001))   

Code "G91"   'Switch to incremental mode
Code "G31 Y-" & Clearance   'First Probing move

'Again only for offline testing!
Call SetUserDro(1030,GetVar(2001))                          '************************************

Code "G0 Y" & Clearance 'Rapid Clearance move
Code "G0 X" & Length 'Rapid move to second Touch point
Code "G31 Y-" & Clearance 'Second Probing move

'Again only for offline Testing
Call SetUserDRO(1040,GetVar(2001))                          '************************************

Code "G0 Y" & Clearance 'Rapid Clearance move     


The problem I encounter.....While stepping into the script line for line everything works as planed.  But when I run the button
The two lines where I call for ........... SetUserDRO(1030,GetVar(2001)) and SetUserDRO(1040,GetVar(2001)).......somehow gets skiped and the DRO's dont get updated. I think I need something to pause the process to give time for the update.

Please Help!

42
Hi Brian

Ok I will let you know when the body work is done.
I had a look at yours in the file section , it might just help. My thought was to use G32 commands to touch off with the touch probe. I will see what I can come up with.

Thanks for your help anyway.

Deon

43
Hi Brian

I did a couple of tests by just adding the G68 at the beginning, it seems to work but I just thought it would be saver to go with Arts recommendations.

Have you perhaps have a copy of the unfinished Wizard. I would like to study it and apply your knowledge to mine as well. I will give you credit off course.You can mail it to custom@polka.co.za  .If you don't have a copy the question's still remain even just to get it to add the G68 at the beginning of the file.

And off course, if I need to call the file by name a Dialog box with some sort of a browse capability to load the file into the Wizard.

I am a very persistant guy, when I set my mind to something I wont stop before I cracked it.

Thanks
Deon

44
Hi Brian

I need some help with a couple of VB problems. I am working on a Job-Setup Wizard where you can just drop your work piece on the table without setting up ,clamp and then touch off with a probe on two spots. The Wizard will then calculate the off-set angle and write it into the currently loaded G-code File as a G68 move. In short that is what is supposed to happen. I did encounter a couple of problems though.

1. How do I load the currently loaded G code into the Wizard. Do I have to load it in by the actual file name or is there a common load procedure like.........call LoadTeachFile()

2. How do I go about appending the G-code file at the right places. When I use ......AppendTheachFile......the G68 gets Written at the end of the G-code, Art said it would be best to add the G68 after the tool change and then again cancel before the next tool change. I think this is the biggest problem to overcome.

Thanks in advance for the help.

Deon

45
Newfangled Solutions Mach3 Wizards / Re: Proposed Job-setup Wizard
« on: April 27, 2006, 02:27:34 PM »
Hi Graham

Thanks for the quick reply.

OK now that makes it a bit easyer. Now I think all I have to do is to get it to append the currently loaded G code.....
The problem will be to append at the right lines.

Any ideas

Thanks

46
Newfangled Solutions Mach3 Wizards / Proposed Job-setup Wizard
« on: April 27, 2006, 11:33:54 AM »
Hi Brian

I am working on a Job-setup wizard where you can just clamp your job on the mill table without clocking up with a dial gauge.

Instead of that I want to use a touch probe and touch of on two points(if it is a straight setup) or four points(if it is a square setup)   , then use the wizard to calculate the offset angle.

This is where I am stuck.......How do I tell Mach to adjust the machine orientation to that angle.(This is like a centroid control)

Hope you can help.

Thanks
Deon

47
Hi Benny

Bussy downloading your sceenset as I write this..... Looks great!!!!!
I also like to play with the screen designers but Screen4 is not so easy to work with , can you help out with a couple of pointers.

First of all do you have to save all bmp's or png's ...........or what ever graphic file you use in the main Mach3 bitmaps folder even if you are doing a Wizard screen set. I find when saving my bitmaps with the wizard ,the bitmaps does not show in Screen4.

Next qeustion related to Realdraw. I used your DRO skins(red, green,yellow and blue) I need to get them a littel darker in collor.How
about a little tutorial in doing that and how to get a round button's background transparent instead of a white square.

Your help will be greatly apreciated

Thanks
Deon Gerber

48
General Mach Discussion / Re: Threading in Mach3 lathe
« on: February 19, 2006, 08:19:09 AM »
Hi

Did a few tests and found my machine coordinates was set wrong ,that explains the tool change position fault.

I then re-instaled ver 1.84(lockdown) and everything works fine.......  Again after re-instaling the latest version I get problems, everything works correctly up to the second pass witch reverts into a short backward like pass at the end of the thread.

This realy looks like a software problem.

Any ideas on this

Thanks
Deon

49
General Mach Discussion / Threading in Mach3 lathe
« on: February 19, 2006, 06:17:47 AM »
Hi all

Does anyone know of changes that has been made in mach3 in the past 2 months..... Everything used to work well for me. I have not done some threading for some time.........Now it seems to go haywire.
Current version that I use is latest release.

Except for tool change move the graphic preview looks right but the actual cutting is not correct. All other turning seems to be fine.
When I use Brian's Wizard this is what hapens....

G0 G40 G18 G80 G50 G90
G00 G53 X100 Z150                        "way off track"
M66 T0303
G00  X28
G00 Z28
G00 X27
M03 S500
M08
G76 X25.3761 Z15 Q3 P1.5 J0.1 L45 H0.2 I29 C1 B0.05 T0                 "First cut looks fine then it starts small reverse cuts at
                                                                                                             end of the thread
M9
M5
M30

Please help
Thanks
Deon

50
Wow Wow Wow!!!!!!!!!!!!!!!!

This looks awsome,  Hope there will be one for turn as well.

Will be glad to help in the testing.

Nice work

Deon

Pages: « 1 2 3 4 5 6 7 »