Hello Guest it is September 28, 2020, 07:09:07 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 - mikeyz3385

Pages: 1 2 3 4 5 6 7 8 »
General Mach Discussion / Re: Mach turn Thread pitch is off?
« on: July 04, 2016, 08:53:57 PM »
Got it! after trying and trying I began to notice something a little weird. I tried to speed up the turning process to break a better chip rather than a curl but no matter how much I kept upping the ipr it didn't seem to get any faster. At one point I had it set at .06 per revolution but it was only going .01

I also noticed that if I turn the chuck on to say 500rpm I can slow the chuck down with the drag of my hand to about 450 which wasn't good at all. I started to tweek some dials on my spindle board and got the spindle to have a full amount of power and for some odd reason the feedrate was now working properly. Very weird indeed but I decided to thread a part and the pitch is right on! Very excited

Thank you both for taking time out of your day to shoot me some suggestions on this. Thank you

General Mach Discussion / Re: Mach turn Thread pitch is off?
« on: July 04, 2016, 07:01:53 PM »
Just changed the mach 3 version back to 062. Upon reinstalling this older version It didn't change any of my motor settings or port numbers. Is that normal?

Ran a part on this older version and still the same results. I can't understand this. Everything is dead on as far as sizes and length but the pitch is closer to an 18tpi rather than what I have programmed at 16tpi.

I guess ill start going step by step with mach threading manual and see If I can find any issues

General Mach Discussion / Re: Mach turn Thread pitch is off?
« on: July 04, 2016, 06:06:11 PM »
I am using the simple threading to generate the code using g76.

I tuned the z axis motor for accel/velocity when first putting the machine together to prevent stall. It seems to work fine even through normal cutting. Also I have the thread cutter starting .300 away from the part for adequate acceleration .

Only way I tested the index was manually turning the chuck and noticing the led on the index board go on and off when passing over the slot. I then checked the calibration with the use of a laser tachometer and its within 1rpm.

I didn't take into any account of the tool tip radius. The tool table is left blank for any tip radius on the threading insert. The radius setting can throw off the pitch?

Also I will download the 062 version tonight and see what the outcome is with that

General Mach Discussion / Re: Mach turn Thread pitch is off?
« on: July 02, 2016, 06:37:01 PM »
Thanks for the quick reply. I will check again with a dial indicator but from what I recall it was dead nuts. Where can I download the older version?

General Mach Discussion / Mach turn Thread pitch is off?
« on: July 02, 2016, 05:49:55 PM »
I have an old dyna metronics dm3000 lathe which over the past couple months i've been converting over to mach 3. I've come so far but today i hit a snag.

I wrote a quick program to machine a .5 aluminum rod down and thread a 3/8-16 external thread. After completing the part my diameters are dead on along with turn length. However i couldn't get a 3/8 nut to thread onto it. I checked the thread pitch on the piece and it measures .050 instead of .0625. I looked through the mach threading manual and also did research on this page but was unsuccessful. As the machine is threading , the dro shows the spindle at the program speed of 525rpm. I even used a laser tachometer and received the exact same number. My spindle pulley ratio is set to 1. I have both "use spindle feedback" "spindle speed averaging" checked under spindle setup. I ran multiple parts at different depths thinking it was struggling but that didn't change anything.

What could be causing this? Im using an index pulse card and slotted disc. Could having too big of a slot in the disc be a possible problem? It seems weird since everything else is dead on, including the spindle speed.

Also i am using the latest version of mach 3

General Mach Discussion / Re: Turret macro is giving me issues
« on: June 20, 2016, 08:13:26 PM »
Got it working!  I originally tried dialing the stepper motor in simply by using an a360.0 command in mdi and adjusting the steps till I got a perfect circle. All was good but the problem was the chewed up gear inside. Once I tore all that out and switched over to a belt drive I was trying to dial it in using the tool macro instead of just commanding the a axis to turn 360 degrees. It left me guessing left and right since it backs up 10 degrees against the pawl. It pays to sit back and take my time.

I must thank all who gave me advice on how to fix this issue. Without any support I would have been completely lost. Thank you

General Mach Discussion / Re: Turret macro is giving me issues
« on: June 12, 2016, 07:40:22 PM »
It keeps starting from a0 while using incremental rather than absolute, so I'm guessing even if it backs up tight against the pawl that it won't matter since the next move is reset to zero anyways. This is truly driving me nuts! I thought I had it figured out the other day. I tore the whole turret apart to find the worm gear a little chewed up on some of the teeth. I removed all of that and decided to go with a pulley setup much like my x and y drive. There is zero backlash also. I still have the same results.

General Mach Discussion / Re: Turret macro is giving me issues
« on: May 08, 2016, 09:19:41 PM »
Thank you rich. I will give that a go this week and report back with the outcome

General Mach Discussion / Turret macro is giving me issues
« on: May 07, 2016, 10:23:23 PM »
Hi everyone, I converted an old cnc lathe that already had a turret on it. After converting the entire machine over to mach3 I needed to control the turret. I receieved a macro from a different site but no one seems to have any info on it.

My turret is equipped with a stepper motor and a pawl. The macro simply rotates the turret past the tool location then backs up tight against the pawl.

 I installed this macro and I can successfully index my turret from tools 1-6 as long I call the next tool in order.  If for instance I'm using tool 3 and call up tool 6 my turret seems to not rotate far enough, its off by a couple degrees. Is there a math error in the macro? I can't see it being the stepper tuning since It works perfect if I call up the tools in order. I indexed the tools in order for 3 full rotations with no errors but as soon as I command it to call up a tool that's a couple slots away it loses its spot.

Here's the macro I installed:

If IsLoading() Then
 'Do Nothing, program loading


 ' Dim Variables

 Dim Num_Tools As Integer
 Dim CW_Steps_Per_Tool As Integer
 Dim CCW_Steps As Integer
 Dim HoldingDRO As Integer
 Dim Requested_Tool As Integer
 Dim Current_Tool As Integer
 Dim CW_Feed As Integer
 Dim CCW_Feed As Integer

 'Dim moves As Integer
 'Dim total_move As Integer

 ' set up some vars

 Num_Tools = 6
 CW_Move_Per_Tool = 360/Num_Tools
 CCW_Move = 10
 HoldingDRO = 1050
 Requested_Tool = GetSelectedTool()
 Current_Tool = GetCurrentTool()
 CW_Feed = 3000
 CCW_Feed = 2000
 Current_Feed = GetOEMDRO(818)

 ' start tool change

 Message ("Requested Tool No=" & Requested_Tool)

 If Requested_Tool > Num_Tools Then
 Message "Requested Tool No. too high, program stopped."
 Code "M30"
 End If

 If Requested_Tool < 1 Then
 'Message "Requested Tool No. too low, program stopped."
 Code "M30"
 End If

 If Requested_Tool = Current_Tool Then
 ' do nothing
 ' lets do some changing
 If Requested_Tool > Current_Tool Then moves = Requested_Tool - Current_Tool
 If Requested_Tool < Current_Tool Then moves = Num_Tools - Current_Tool + Requested_Tool

 total_move = (moves * CW_Move_Per_Tool)+(CCW_Move/2)

 'Move to safe position
 Code "G0 G53 Z-1 X-.25"
 'Pause for 1/2 second
 Code "G04 P0.5"

 Code "G91 G94" 'incremental & Feed per minute
 Code "G01 A" & total_move & " F" & CW_Feed
 Code "G01 A-" & CCW_Move & " F" & CCW_Feed
 While IsMoving()

 SetCurrentTool Requested_Tool
 SetUserDRO HoldingDRO, Requested_Tool
 Code "G90" ' back to absolute movement
 Code "F" & Current_Feed
 End If
 End If

 ' end of tool change

I'm redoing an old cnc lathe with all new electronics. The lathes spindle motor is a dc servo motor. To power it and control it I am using a bardac 1600i drive. Last week I was able to successfully wire up the bardac to control the spindle manually with the use of a pot. I now want to control it using mach 3. I purchased a c11 breakout board but am confused as to how to wire it. The c11 has a analog 0-10v output. I have a +12v psu that powers the analog just like the manual says. I then ran a wire from the analog to terminal 3 on my bardac. Is that all I need to control the spindle speed? What would I need to set the spindle pins at in mach 3 considering its only using the analog. I attached the bardac manual if anyone is able to help me out. Thank you

Pages: 1 2 3 4 5 6 7 8 »