Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2016, 03:30:22 PM

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 116 117 »
331  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 10, 2012, 10:52:06 AM
Yes. Copy and paste it in the M6Start.m1s macro file.

Dan
332  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 10, 2012, 10:46:36 AM
Yes. The macro tells it to move the A axis. Go to General Config and under Tool Change select Automatic Tool Change.

Dan
333  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 10, 2012, 10:41:25 AM
You have to enable the A axis in Ports and Pins and then in Motor Tuning set the number of steps per one turret index. Actually just a bit more than one index so that it overshoots a bit and then reverses to lock.

Dan
334  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 10, 2012, 10:35:52 AM
Hi Jasminder,

You could still use a DC motor and only need one switch running on a cam or an optical switch with a slotted disk.

Dan
335  Mach Discussion / General Mach Discussion / Re: Mach3 turn atc on: September 10, 2012, 02:47:10 AM
You have to put the code into the M6Start.m1s file located under Mach3\macros and the name of your turn profile (if you haven't changed it, it would be Mach3Turn).

Oh.. just noted there was a small mistake in the code. On the reverse move line it should be:

Code " G91 G0 A" & (-1/5)

Dan
336  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
337  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
338  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
339  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
340  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
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 116 117 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!