Hello Guest it is March 29, 2024, 06:03:10 AM

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 - SWATH

Pages: « 1 2 3 4 5
41
General Mach Discussion / Problem with Error Involving Arcs
« on: March 23, 2011, 12:28:07 AM »
Hello.
I keep getting errors in the arc lines that my CAM software spits out and I'm not sure how to fix the post processor or Mach itself to get them to work. 

Here are the details:

CAM software is RhinoCAM using Mach3-Inch.spm post processor

In the circle tab I have the following options

Output Format
-I,J,K and Radius
-I,J,K only             <-----------this one is selected
-Radius only

Arc Center (I,J,K)
-Absolute         <----------------this one is selected
-Vector from Center to Start
-Vector from Start to Center
-Unsigned Vector from Start to Center

Here is the circle block format:
[CIR_PLANE]
[G_CODE][NEXT_X][NEXT_Y][NEXT_Z][NEXT_I][NEXT_J]

RhinoCAM also has the following options that can be checked:

-Output arcs as linear segments                   <-------------I have this one unchecked but I'm not sure what I should do with the other two.
-Output spiral motions as linear segments
-Output helix motions as linear segments


Now in Mach I tried both absolute and incremental  but I keep getting these two errors:



In IJ mode Absolute I get this error:

Zero radius arcLine 140

140:G03X-1.1733Y0.5598I-0.8561J0.9783



In IJ mode Incremetal I get this error:

Radius to end of arc differs from radius to startLine 942

942:G02X1.6663Y0.4917I0.3265J0.4175


These are just the first ones to pop up in reality almost every arc line gets an error.

Sorry can someone help me get this straightened out?

I would much rather cut arcs than line segments.
 

 

42
General Mach Discussion / Re: Help with tool changes
« on: March 22, 2011, 11:41:45 PM »
OK I now have a problem.  The above script works perfectly on my laptop.  However when I run it on my machine computer it does not get the new tool specified in the Gcode it just asks for whatever the current tool is regardless of what the T() is.  What is going on here and how can I fix it?

43
General Mach Discussion / Re: Help with tool changes
« on: March 22, 2011, 11:49:36 AM »
Ok I got the new line done.  It is disappointing not to be able to insert an image into the text box somehow, there has got to be a work around.

Anyway how do you edit tool #0?  It's there but I can't do anything with it?

44
General Mach Discussion / Re: Help with tool changes
« on: March 22, 2011, 01:31:55 AM »
Ok here is what I got so far:

Z = GetUserDRO( 1202)

code" G53G0 Z" & Z

NewTool = GetSelectedTool ()

SetCurrentTool (NewTool)

Message "Please Load Tool #" & GetCurrentTool () & Space (1) & GetToolDesc (GetCurrentTool () )

TNum = GetCurrentTool ()

TDec = GetToolDesc (GetcurrentTool ())

MachMsgTypeOK = 0

Ret = MachMsg ("Please Load Tool #" & GetCurrentTool () & Space (2) & GetToolDesc (GetCurrentTool ()), "Tool Change Rquired", MachMsgTypeOK)



I have a couple of questions I can't figure out. 

!.  How do you Bold text in a message box
2. How do you break a message into 2 lines in a message box?
3. How do you add an image to a message box?

45
General Mach Discussion / Re: Help with tool changes
« on: March 21, 2011, 10:21:12 PM »
Ahh that's perfect, thanks a lot.

So now it goes to Z home and waits for cycle start, so far so good.  Now I would like a pop up dialog box displaying the requested tool info.  I tried getting a dialog box which sort of worked but I couldn't get the tool info.

Something like:

Please change to Tool #4
3.15" 45deg Facemill and
then press cycle start.
           OK

46
General Mach Discussion / Re: Help with tool changes
« on: March 21, 2011, 09:17:00 PM »
Thanks that is what I figured.  Here is what I got to get the z to where I specify on the tool change location DRO.

Z = GetUserDRO( 1202)

code" G53G0 Z" & Z

and I saved it in the M6start.m1s

the problem is that is doesn't stop and wait for the cycle start button to be pushed, it just hits the Z location then proceeds with the program.  What's next?

47
General Mach Discussion / Help with tool changes
« on: March 21, 2011, 01:39:21 AM »
Hello,
I'm a new Mach user so I don't know much but I'm in the process of customizing some things and I don't know how to do it.

Here is what I want to happen:

When Mach encounters an M06 for tool change I want the Z to move up to either the home switch/limit switch/or a predefined machine coordinate high in the Z but I want X and Y to not change.  I would also like a pop up window to display a message with the details of the requested tool (i.e. "Please load tool #3 .5 flat endmill", or "Please load tool #4 3.15 45deg facemill", etc.) and possibly even a photo image of it and a beep or a .wav saying "please load new tool" or something.  I would also like to put a "go to tool change location" button on the program screen that executes this action.


As an aside, how do you control tool #0?  I would like to use T0 for the indicator reference tool but I can't figure out how to use the T0 so I have it as T1.

Thanks for the help

48
Hello,
I'm new to CNC but am starting my own business and have a Mikini CNC mill on order.  I don't know a huge amount about Mach but that's why I'm here.

Pages: « 1 2 3 4 5