Hello Guest it is July 22, 2019, 09:24:28 PM

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 - giannis121

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
71
VB and the development of wizards / Re: Mach3 ShutDown
« on: August 24, 2009, 08:57:53 AM »

Cooooool

72
General Mach Discussion / Re: Wizard for editing a ready tap file.
« on: August 24, 2009, 07:52:50 AM »
Rich, its clear to me that i can redraw my shapes and have them accuratelly executed.
My question is whether i can edit with any VB commands in a button a ready shape.
This will be done in order not to redraw,
and to be used as "kerf calculator" for plasma cutting.
As you may know kerf (flame diameter) can change with the thickness of the plate to be cut.
So i need to quickly redraw my shapes to the desired dimensions.
Thank you for replying!

73
General Mach Discussion / Re: Wizard for editing a ready tap file.
« on: August 24, 2009, 07:33:16 AM »
Hi Rich!
Well its not exactly what i need.
With this scale correction, you have first to calculate the scale factor, by knowing the overal dimensions.
Also, what if you have several shapes in the file? The executed program dimensions will be different than the original.
So, i suppose that i need to touch the code for each part.
Any other ideas?

74
General Mach Discussion / Wizard for editing a ready tap file.
« on: August 24, 2009, 06:19:58 AM »
Is possible to make  a wizard that can edit a ready shape?
My will is to recalculate a ready shape and change the dimensions of this shape.
For example
if there is a line G01 X20 Y0,  i want to add 5 more units to X axis and 3 to Y axis (these values will be on user DROs), so it will be G01 X25 Y3
Can that be done?

75
VB and the development of wizards / Re: Mach3 ShutDown
« on: August 24, 2009, 05:03:10 AM »
Have you noticed that this command does not work on "image button"?
Works only with "button".
Why is that? Can be solved?

76


Finally, found a solution:

Before "marking" is executed the following code

a=getuserdro(2012)  'gets the X offset from a user DRO
b=getuserdro(2013)  'gets the Y offset from another user DRO
code "G91"  'enables incremental movement
code "G0 X" &a &"Y" &b   'moves the machine exactly as the user offset DROs
While ismoving()
Wend
code "G90"   'enables absolute movement
setoemdro(47,a)  'sets work X offset as the user DRO
setoemdro(48,b)  'sets work Y offset

And after "marking" the next

a=getuserdro(2012)
b=getuserdro(2013)
code "G91"
code "G0 X" &-a &"Y" &-b  'moves the same distance back
While ismoving()
Wend
code "G90"
setoemdro(47,0) 'resets the work offsets
setoemdro(48,0)

My VB is awfull, i know...  ;D

Regards, giannis.
If you have any better solution, please let me know...

77
General Mach Discussion / "Plasma torch" and "marking torch" offsets.
« on: July 25, 2009, 08:09:11 AM »
Do you have any ideas on how the following will be done?
Suppose that we have "plasma cutting" and "plasma marking" torches, both to a machine.
First the marking should be done and after the cutting.

The G code has "macro" commands before and after marking.
The Zero point is given at the cutting torch.
So, before marking, there should be an offset movement (this will be the distance between cutting and marking at both axis).
And after marking, also there should be a movement back to the original values.

Has anybody faced that?
Any ideas would be helpfull.

I allready have tried the following:
This is before marking:
a=GetOEMDRO(83)
b=GetOEMDRO(84)

c=GetUserDRO(2012) 'axonas X offset plasma
d=GetUserDRO(2013) 'axonas y offset plasma

e=a+c
f=b+d

SetDro(0,e)
SetDro(1,f)

code "G0 X" &a
code "G0 Y" &b
While ismoving()
Wend


And this is after marking:
a=GetOEMDRO(83)
b=GetOEMDRO(84)

c=GetUserDRO(2012) 'axonas X offset plasma
d=GetUserDRO(2013) 'axonas y offset plasma

e=a-c
f=b-d

SetDro(0,e)
SetDro(1,f)

code "G0 X" &a
code "G0 Y" &b
While ismoving()
Wend



78
You can use the "DriverTest" under the c:\mach3 folder to see if you have good timing on the parallel port. Gives you the required information about frequency and timing.

79
Ok, now "run reverse" works.
But only if i do the following.
I installed 042 fully with parallel port drivers.
After that i installed 043 without drivers.

If i install 043 with drivers, still "run reverse" does not run.

Anyway, if the end was good, everything was good.
THANKS

80
General Mach Discussion / V3.042.20 and over "Run reverse" problem.
« on: July 24, 2009, 07:52:44 AM »
Have you noticed any problem on "run reverse" button (OEM 279) on versions 3.042.20 and over?
Or something is happening to my pc?

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »