Hello Guest it is April 18, 2024, 02:37:29 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 - Dave1200

Pages: 1 2 »
1
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: November 15, 2012, 12:12:17 PM »
Hello.
Anyone knows a European source for those clamping wedges that this post have pictures?
I need to do my own DVI disc but I should buy the wedges as they are standard.
Thank you
Hi,
I think www.westontooling.co.uk can supply them.
Dave.

2
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 20, 2011, 02:13:22 PM »
Success at last !
The problem was the number of digits of the tool offset number when 'converted' to a string.
The USerDRO dropped the leading zero for tool offsets below 10 (even with the correct format string set)
The tool command sent to M6Start was something like T014 which didn't work.
The macro now checks if the offset is a single digit and adds the extra leading zero if the offset is 0 - 9.
The Tool 1 select buton macro looks like this -

Sub Main
Code "G91 G28 X0 Z0"
Dim Offset As Single
Offset=GetOemDRO(1101)
If Offset<10 Then
Code"T010" & Offset
End If
If Offset>9 Then
Code"T01" & Offset
End If
Code "G90"
End Sub

I just enter the tool offset in to the Userdro on the initial set up and when ever I need to switch the tool manually I click the relevent button - the tool is selected and the tools offset loads as well.

Thanks for all your help Hood.
All good fun.  Dave

3
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 20, 2011, 03:12:23 AM »
Thanks Hood. I'll look through that lset today and see if I can get it to work here.
Cheers,
Dave.

4
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 19, 2011, 06:09:44 PM »
The value in UserDRo(1101) now doesn't flash up - The Current Tool DRO is set to 1

If I take out the line Code"T0100"  as a test, the value in UserDRo(1101)  appears in the Current Tool DRO

It looks like some thing in the M6 macro is jumping over the 
SetCurrentTool(Offset)  command in the button.
Looking in to that and will post any findings in the morning.... Cheers,
Dave.

5
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 19, 2011, 05:55:32 PM »
With the button as this -

Code "G91 G28 X0 Z0"
Offset = GetOemDRO(1101)
Code"T01" & Offset
Code "G90"

The Current Tool Dro is set to 0


This seems to nearly work

Code "G91 G28 X0 Z0"
Code"T0100"
Offset = GetOemDRO(1101)
SetCurrentTool(Offset)
Code "G90"

I can see the value of OemDro(1101) flash up in the Current Tool Dro then revert back to 1. Strange ?

Thanks a lot for your help
Dave.


6
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 19, 2011, 05:35:51 PM »
Unfortunately that sets to current tool to 0.  Looks like the & Offset doesn't get appended on to the T01
Humm.. might have to sleep on this one.
Dave

7
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 19, 2011, 05:20:50 PM »
Thanks for the reply Hood -

For the Turret position1 button, I want the offset number to come in from the UserDRO 1101  ( I've typed a number 2 in that DRO to test)  and not 'hard coded' in the macro.

All attempts so far not worked :(

Thanks
Dave.

8
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 19, 2011, 04:59:45 PM »
Still playing with the tool changer and setting it up. We're getting there !

The turret has 8 positions and I have about 16 tools mounted in their holders to use depending on the job.
When running the program I call tool number and offset  eg T0215  All ok.

But for setting up and manual changes,  I find typing in T0306 etc in to the MDI a bit slow and can easily lead to typing related errors !
So, I have an array of 8 buttons on screen that select tool change position and these work fine. Click and the turret moves to home position and turns to the appropriate slot 1 to 8
(Screen grab attached)
For the tool offsets, I've also got a parallel set of user DRO's 1101 to 1108 (shown above the tool position buttons) which I can type in the offset number of the tool in the particular slot.
But I can't get the macro to update the Current Tool number DRO with that shown in my 'Tool Offset' user DRO.

The code in the No1 turret position button is -

Code "G91 G28 X0 Z0"
Code "T0100"
SetCurrentTool(GetUserDRO(1101))
Code "G90"

Which I was hoping the above would move the turret to slot 1 and then uptate the current tool to the number in the UserDro 1101
and set the correct tool offset for that tool.
I'd appreciate any help / suggestions where I'm going wrong or better ways to approach this .
Thanks , Dave.



9
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 14, 2011, 03:57:30 PM »
ah Ok well not the one I thought.Is Mach going on it or are the orig controls ok?
Hood

Not Mach this time, but Fanuc.  ( I hope I don't get an instant ban for using the F word :)  )
Dave.

10
General Mach Discussion / Re: Duplomatic turret for Colchester
« on: October 14, 2011, 02:19:20 PM »
[Thanks for the info, the one I am getting, or may be getting is only a VDI20 which is smaller than I would have liked but it is 16 position which is nice.
I know the feeling of having to be careful, having a rear and front turret can be a bit of  heart stopper at atimes when running code for the first time ;D
The new lathe wouldnt happen to be a blue XYZ would it?
Hood
Not a XYZ . A Leadwell. We should have it at the of end Dec.  :)
Dave.

Pages: 1 2 »