Hello Guest it is March 28, 2024, 04:43:19 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 - ben_mtl

Pages: 1
1
VB and the development of wizards / Re: DRO numbers / squaring macro
« on: April 05, 2013, 08:55:14 PM »
Very interesting, those 2 last links are very useful !
The first link I already knew about and that's what I was confused about because the DRO#2 in this file doesn't refer to the Z DRO... but the 2nd link might have given me some start of answer..

It looks like the SetDRO command is an older command and should not be used anymore.... it's been replaced by SetOEMDRO. In the example for this function in the 2nd link, the X, Y and Z DROs seems to be 800, 801 & 802... and  803 might then be the one I'm looking for (A axis).

Someone please correct me if I'm wrong but basically :
SetDRO (0, valueX) ==  SetOEMDRO(800, valueX)
SetDRO (1, valueY) ==  SetOEMDRO(801, valueY)
SetDRO (2, valueZ) ==  SetOEMDRO(802, valueZ)

Thanks for those links !

Any comment about the DoOemButton(357) and DoOemButton(358) functions ? are those vaild ?

2
VB and the development of wizards / Re: DRO numbers / squaring macro
« on: April 05, 2013, 07:19:33 PM »
Yep I'M with you on it except that I don't have my limit/home switches set up yet... I'm working on it (+ waiting for parts to be delivered).
Meanwhile I'd like to do this kinda manually...
thanks

3
VB and the development of wizards / DRO numbers / squaring macro
« on: April 05, 2013, 06:18:33 PM »
Hi All,

total newbie here I'm slowing setting up my machine.
I made a z-zero button following some info I found here, at one point the script behind the button sets the z-axis DRO @ "plate thickness" through the command "Call SetDro (2, PlateThickness)".

Right now I'm looking for an easy way to square my gantry (I'm still not done with my home switches) so what I plan on doing is "cut" a square (which won't be perfectly square) and measure the diagonals so I can calculate how much I'm off and how much I could move my A axis to so the gantry is squared (X and A would temporarily be "deslaved" for the occasion).

I've looked on the mach3 wiki and on a couple other sources to find the DRO corresponding to the A axis but cannot find it ! Even stranger, on what I found the DRO #2 (which the script above modifies) is not listed as the Z axis DRO but as "Pulse Freq DRO" !
I'm sure there's something I'm missing somewhere so any help would be appreciated.

just for information here is the macro I plan on running to square the gantry, the ***offset-value*** would be calculated beforehand after measuring the diagonals of the previously cut "square", feel free to post any comment... I'm not even sure if the OEMbuttons #357 and #358 actually do what I want...

'Squaring routine  

Code "G0 X0 Y0"
DoOemButton(357)  'temporarily deslave axis
Code "G1 F4 A***offset-value***"
While IsMoving
Wend
'here I would insert the command to set the A axis to 0, just in case...
DoOemButton(358)  're-slave axis


Thanks for any help on that.
Ben

4
VB and the development of wizards / Re: Break-In Wizard
« on: February 03, 2013, 06:29:54 PM »
Yep that was it, the images were not in the correct folder... It's working perfectly ! Thanks !

5
VB and the development of wizards / Re: Break-In Wizard
« on: January 29, 2013, 05:50:48 PM »
I just downloaded the break-in wizard (rev 1.0) and I have a small issue with it : I can load it but when it's on the screen it only show the fields aboute min/max axis. spindle speed.. etc.
On the right of the screen I can see there are some buttons (I can see grey or green boxes) but nothing else shows : no text to tell me what the boxes are referring to..
I also don't have to buttons to export g-code or anything.
Is this a known issue or can it come from my computer configuration ?

Thanks for any help

Ben

Pages: 1