Hello Guest it is April 19, 2024, 01:45:33 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.


Topics - HimyKabibble

Pages: « 1 2 3 4 5 6 7 8 9 10 »
51
General Mach Discussion / Some Days Mach Just Hates Me....
« on: June 24, 2009, 12:40:48 PM »
I was working yesterday, and the cutter clogged, doing a "soft" crash on the machine - I hit FeedHold, then Stop.  Once cleared, I can no longer jog!  MDI commands, GoToZeroes, all work just fine.  But, none of the Jog keys work, the pendant doesn't work, etc.  What can disable jogging??  And why would hitting FeedHold then Stop cause this??  I've re-booted, powered off overnight, reloaded the screen set - No help.

I'm dead in the water here....

Regards,
Ray L.

52
I'm in the process of adding a toolchanger to my BP clone mill.  First step is a power drawbar.  Rather than use the very common impact wrench approach, I wanted something that would leave the collet in place, and simply pop out the tool.  I will be using Tormach TTS toolholders.  So, taking a page from the design of many VMCs, I've created a design that tensions the drawbar using a stack of Belleville washers.  The drawbar is initially tensioned in the normal manner, by tightening with a wrench, to compress the Belleviille washers enough to create the desired drawbar tension (about 2000 pounds, as it turns out...).  To release the tool, all that's required is to compress the Bellevilles a bit further, then push the drawbar down to pop the collet free of the taper, and the tool simply falls out.  The trick is to provide a means of compressing the Bellevilles that does not place that 2000+ pound load on the spindle bearings.  To accomplish that, a small arm is rotated in under the Bellevilles, to take the downward load.

Since, on my first attempt at this, I was largely shooting in the dark as far as the required forces, and some of the other side-effects of the design, I've found I need to make a few minor modifications to the design to get it working properly.  But, the first attempt, shown in the below pictures, does, in fact, work pretty well.  The biggest problem is I under-estimated the drawbar tension required, and the air cylinder in the pictures is not quite up to the task.  A larger cylinder will be here in a day or two, which should do the job nicely.  The other "gotcha" is that the long drawbar extension sticking up above the head "whips" at speed - not good.  So, it will be surrounded by a cylindrical guide, rigidly attached to the spindle, that will rotate with the spindle and prevent any whipping.

The assembly is fastened to the head, by bolting an adaptor ring to the flange that retains the upper bearing outer race.  The upper bearing inner race retainer is replace with the drawbar guide tube.  The adaptor has two guide rods rigidly attached.  The rest of the assembly "floats" on these guide rods.  The guide rods have concentric springs on them such that the whole floating assembly is spring-loaded downward.  To do a toolchange, the quill is run fully up, which causes the top of the drawbar to contact the plunger in the center top of the drawbar assembly.  This compresses the springs, placing a downward force on the drawbar assembly.  This is the force that is used to pop the collet free, and will probably be on the order of 100 pounds - hardly enough to harm the spindle bearings.  A small air cylinder then flips an arm in under the flange that lsupports the bottom of the stack of Belleville washers on the drawbar.  Once that arm is in position, the large air cylinder is activated, which compresses the Bellevilles between that arm, and the plunger.  Since the whole assembly is floating on the guide rods, none of the Belleville force is transmitted to the spindle - only the initial downforce of the springs on the guide rods is transmitted to the spindle.  Once the Bellevilles are compressed sufficiently (0.030-0.050"), the collet pops free of the taper, and the tool falls out.  Once the new tool is installed, the air pressure is removed from both cylinders, and the collet is once again locked by the tension in the Bellevilles.

This is a totally bolt-on design, which requires absolutely no modifications whatsoever to the machine.  Drawbar tension can be adjusted over a very wide range by simply changing the number and type of Belleville washers used, and, if necessary, the strength of the air cylinder.  Collet-popping force is adjustable by adjusting the pre-load on the downforce springs.  Initial position is set by simply adjusting the length of the link on the air cylinder.  All very simple and flexible.  Tool changes become almost instantaneous - literally less than a second to engage or disengage the drawbar.

For the toolchanger, I am taking a very simple route, since I only need a few tools - I will have a single-row rack of tools mounted to the T-slot along the front face of the table, holding perhaps 8-10 tools, or perhaps 4-6 tool racks mounted at either end of the table.  The tool pick-and-place will be handled entirely by moving the machine, with no additional mechanism required.  This does cost a small amount of useable table travel, but since I have a 49" table with 34" of travel, I am more than happy to lose a few inches of workspace in exchange for the huge increase in productivity I'll get from the toolchanger.

Regards,
Ray L.

53
General Mach Discussion / Mach3/XBOX 360 Controller Question
« on: May 26, 2009, 11:29:06 AM »
It appears that most, if not virtually all, XBOX 360 controllers are wireless.  Anyone having any problems due to interference from all the other "emitters" on a typical CNC machine?  What kind of range do you see?  How about battery life?

Regards,
Ray L.

54
General Mach Discussion / M01 Optional Stop
« on: April 13, 2009, 05:59:09 PM »
Obviously, I don't understand this....  If I have an M01 in my code, and I turn *off* M1 Optional Stop, I expect the M01 line to be skipped, but it's not.  What's the trick?

Also, if I have the following macros:

M991.m1s:

If GetOEMLED(65) = 0 Then
    DoOEMButton(177)
End If

M992.m1s:

If GetOEMLED(65) = 1 Then
    DoOEMButton(177)
End If


I expect the sequence:

M991
M992
M991
M992

To toggle M1 Optional Stop mode, and toggle OEM LED 65.  However, M991 will SET M1 Optional Stop mode, but M992 will NOT clear it!

Regards,
Ray L.

55
General Mach Discussion / VB Dialog Controls
« on: March 29, 2009, 12:04:00 PM »
I'm screwing around with VB and dialogs, but can't seem to get reading and writing TextBox controls to work.  My code is below.  It appears to me I *should* be able to write to the TextBox control with:

        Dlg1.VFDFreq = "abcd"  or, perhaps Dlg1.VFDFreq.Text = "abcd"

Both throw syntax errors.  What am I doing wrong?

Regards,
Ray L.


' Spindle Speed Calculator

Sub Main

   Begin Dialog BoxSample 16,35,256,89,"Motor Speed Calculator", .OnAction

      CancelButton 204,44,40,14
      
      Text         12,12,64,8,"Target Speed:"
      TextBox      16,24,32,10,        .TargetSpeed
      
      Text         130,12,  50, 8,"VFDFreq:"
      TextBox      130, 24, 50, 10,    .VFDFreq
      
   End Dialog

   Dim Dlg1 As BoxSample
   Button = Dialog ( Dlg1 )

End Sub

Function OnAction( ControlID$, Action%, SuppValue% )

   Dlg1.VFDFreq.Text("ABCD")

   Select Case Action%

   Case 1

   Case 2
      If ControlID$ = "TargetSpeed" Then
         Dlg1.VFDFreq.Text = "1234"
      End If
   Case Else
   
   End Select
   
End Function       

56
General Mach Discussion / Mach Basic - Which Flavor
« on: March 28, 2009, 11:09:17 AM »
What "flavor" of Basic does Mach use?  I've sometimes found useful looking snippets on the web, but they don't always work in Mach....

Regards,
RayL.

57
General Mach Discussion / Initialization Macro?
« on: March 28, 2009, 11:08:08 AM »
I understand there is some means for making an initialization macro that will be executed either on startup, or perhaps when coming out of E-Stop?  How is that done?

Regards,
Ray L.

58
General Mach Discussion / VB Is Laughing At Me....
« on: March 21, 2009, 09:26:37 PM »
I'm writing a bunch of Mach macros lately, to automate common tasks. But I'm finding myself scratching my head at times. The below code does not execute correctly. It calls the M900 macro, which works perfectly when called directly from button scripts. The M900 macro uses DRO 1105 to tell it which axis to probe (0=X, 1=Y, etc.), and DRO 1106 tells it which direction to probe (1=Plus, -1=Minus). When I run the code below, the M900 macro does run, but it gets the wrong parameters - I'm telling it to probe X in the Plus direction, and that is what is displayed by the code below, but the same printout code in the M900 macro shows the parameters it receives tell it to probe Y in the Minus direction. How can this be?


MacroParameter1DRO = 1105
MacroParameter2DRO = 1106

EdgeFindMacro = "M900"

XProbeDirection = GetDRO(MacroParameter1DRO)

' Probe first in X
SetDRO(MacroParameter1DRO, 0)
SetDRO(MacroParameter2DRO, XProbeDirection)

' Show the parameters we're passing
AxisName = Chr(Asc("X") + GetDRO(MacroParameter1DRO))
If GetDRO(MacroParameter2DRO) = 1 Then
    Direction = "+"
Else
    Direction = "-"
End If
Code "(Probing " & AxisName & Direction & ")"
Sleep 1000

' Set the "busy" LED
SetUserLED(200, 1)

Code EdgeFindMacro

' Wait until EdgeFindMacro completes, clearing UserLED 100
While GetUserLED(200) = 1
    Sleep 100
Wend

Regards,
Ray L.

59
How can I create a macro that will display a FileOpen dialog to open a G-Code file, then load the file?  The GetOpenFilename method that I use in Excel doesn't seem to work in Mach - gets a syntax error.  I want to create a dupliciate of the Open G-Code File button with some extra functionality.

Regards,
Ray L.

60
Screen designer tips and tutorials / Very Cool LED/Button Combo
« on: March 04, 2009, 12:40:04 PM »
Perhaps this has been done, but I haven't seen it....  You can make a very cool combo button LED by doing the following

1) I'm most of you know this part, but....  Create a graphic file containing two side-by-side images of the same size.  When this graphic is assigned to an LED, the left-hand image will be displayed when the LED is off, and the right-hand image will be displayed when the LED is on.  If the LED is configured to blink, the display will toggle between the two images.

2) Create an LED using the above graphic, and overlay that with a graphic button, with the image file assigned to a transparent .png file with no color data - i.e. - a blank, but transparent, image.  You now have a button that can have two completely different graphics depending on whether the corresponding variable is on or off.

The attached simple screen demonstrates this.  The left-most button changes color when the corresponding variable is set.  The middle button blinks in a different color when the corresponding variable is set.  The right-most is a photo I took of one of the dashboard toggle switches on my '64 Jaguar E-Type.

Regards,
Ray L.

Pages: « 1 2 3 4 5 6 7 8 9 10 »