Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2015, 06:02:10 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 »
311  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 09, 2012, 09:26:00 AM
Here is a real quick one I made. Seems to work here in simulation.

numtools = 99                                              'The number of valid tools
newtool = GetSelectedTool( )                                         'read the new requested tool

currenttool = GetOEMDRO(1000)                                     'user DRO 1000 is used to store the current tool. In this line assign whatever is in this DRO to the variable
While(currenttool< 1 Or currenttool > numtools)                'Check that currenttool contains a legal tool number.
currenttool = question("Please enter the current tool")       ' If not ask to enter the current tool in position.
Wend
SetOEMDRO 1000,newtool                                               ' Set user DRO 1000 to the new tool number

dist = (newtool Mod 8 ) - (currenttool Mod 8 )                    ' the number of turret positions to move to the requested tool.

If (dist < 0) Then                                                            'Check if rollover needed
dist = 8 - Abs(dist)
End If

Code " G91 G0 A" & dist                                                  ' Move to the new turret position.
While IsMoving()
Wend
Code " G91 G0 A" & (-dist/5)                                           ' Reverse move to lock - set to 1/5th of one position and can be changed
While IsMoving()
Wend

Code "G90"                                                                  ' Set back to absolute mode.  

SetCurrentTool(newtool)


Set the A axis as above and although not mandatory check the rotational axis rollover in general config.

You can then use the proximity switch to home the A axis and set reset OEMDRO 1000.

Dan
312  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 09, 2012, 04:49:06 AM
Ok. Then you can use the switch for homing the turret. Since it's a stepper you will have to treat it as an axis and set it up in ports and pins and define the steps/per in motor tuning. For instance you could assign the A axis for the turret. Then you need to figure how many steps per one index of the turret the stepper has to make and enter this in the motor tuning. Once you know this you can write a simple macro to control the turret.

I suggest you doing a search on the forum for a macro and changing it to work for you. There are many here and I think you should be able to find something close to what you need. Anyway, see if you can find someting.

Dan
313  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 09, 2012, 02:25:52 AM
Are you sure it's a stepper and not an ordinary DC motor? Having a proximity sensor I would assume it's a DC motor.

A macro is needed, but first you need to figure the exact setup you have.

Dan
314  General CNC Chat / Show"N"Tell ( Your Machines) / Re: Conect 121 lathe retro on: September 07, 2012, 02:58:57 PM
then just used an oldham coupling to connect screw to motor.

Does it not introduce backlash?

Dan
315  General CNC Chat / Show"N"Tell ( Your Machines) / Re: Conect 121 lathe retro on: September 06, 2012, 10:01:15 AM
Yes Dan, got an angle grinder  that makes short work of it :-D

Hood

Ah.. OK. It just looked so good that I thought you acquired a Plasma CNC and didn't tell us Wink

Dan
316  General CNC Chat / Show"N"Tell ( Your Machines) / Re: Conect 121 lathe retro on: September 06, 2012, 08:35:41 AM
Very nice, Hood! Do you cut your sheet metal parts yourself?

Dan
317  Mach Discussion / General Mach Discussion / Re: BT30 spindle from scratch - with power drawbar and ATC of course on: August 30, 2012, 11:08:17 AM
Looks very good, Steve!

Dan
318  General CNC Chat / Show"N"Tell ( Your Machines) / Re: Just got a lathe to retrofit on: August 30, 2012, 10:43:35 AM
Looks you're having great time, Hood Smiley Only drawback is setting up the jaws for each diameter is a PITA on a hydraulic chuck Sad

Dan
319  General CNC Chat / Show"N"Tell ( Your Machines) / Re: 1997 DYNA MYTE DM4800 VMC to Mach3 Conversion on: August 30, 2012, 02:57:57 AM
The disadvantage of Geneva type ATCs is them being rather slow. It drivers one crazy watching the turret stopping at each position when setting up tools.

Dan
320  Tangent Corner / Tangent Corner / Re: F1gur471v3ly 5p34k1ng? on: August 29, 2012, 08:36:47 AM
Amazing, Tweakie! Must admit it took me a while and at first I even tried to figure what went wrong with that Gcode Grin

Dan
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!