CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Mach Plasma / Laser



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-30-2009, 01:48 AM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road
Pierce Delay even when set to 0?

I am having a pierce delay (plasma), even when set to 0. Not long, but it makes an unecessarily large pierce hole when it doesn't need to delay.

Any ideas? I thought maybe it was the spindle incr. setting in general config waiting for it to spin up, it was set at 10, and spindle speed in gcode is 500, so i tried setting it to 500, and didn't seem to make a difference???

I would like to get rid of this if possible. Also if you see something else wrong in the post or gcode, let me know, Im learning well, but still a long ways to go.

here is a gcode for a straight line test cut using sheetcam, I cant find anything weird, so I think its with mach.

I am setting z home switch offset in the post file, and using sheetcam for pierce delays, heights, etc.

------------------

N0000 (Filename: 2&half horizontal line.tap)
N0010 (Post processor: Brians Plasma THC300.scpost)
N0020 (Date: 1/30/2009)
N0030 G20 (Units: Inches)
N0040 G53 G90 G40
N0050 F1
N0060 S500
N0070 (Part: 2&half horizontal line)
N0080 (Process: nil)
N0090 M06 T3 (1/4" steel 60 amp)
N0100 G00 Z1.0000
N0110 X0.0000 Y0.0000
N0120 G28.1 Z0.12
N0130 G92 Z0.0
N0140 G00 Z0.3575
N0150 G92 Z0.0
N0160 G00 Z0.1250
N0170 M03
N0180 G01 X0.0000 Y0.0000 Z0.0625 F100
N0190 X2.5000 F40
N0200 M05
N0210 G00 Z1.0000
N0220 X0.0000 Y-0.2500
N0230 M05 M30

----------------------

Here is my post file

function OnAbout(event)
ctrl = event:GetTextCtrl()
ctrl:AppendText("plasma THC300 post processor\n")
ctrl:AppendText("\n")
ctrl:AppendText("Modal G-codes and coordinates\n")
ctrl:AppendText("Comments enclosed with ( and )\n")
ctrl:AppendText("M03/M05 turn the torch on/off\n")
ctrl:AppendText("Incremental IJ\n")
ctrl:AppendText("The torch is referenced at cut start and every 500mm of movement thereafter\n")
ctrl:AppendText("Designed for use with Mach2 and Campbell Designs THC300\n")
ctrl:AppendText("Post variables:\n")
ctrl:AppendText("refdistance - set the distance between each reference\n")
end



-- revision 3/2/07
-- Removed final safety move. This is now done in SheetCam

-- revision 7/10/05
-- Added new arc handling

-- created 27/10/04
-- Based on plasma1.post



function OnInit()

post.SetCommentChars ("()", "[]") --make sure ( and ) characters do not appear in system text
post.Text (" (Filename: ", fileName, ")\n")
post.Text (" (Post processor: ", postName, ")\n")
post.Text (" (Date: ", date, ")\n")
if(scale == metric) then
post.Text (" G21 (Units: Metric)\n") --metric mode
else
post.Text (" G20 (Units: Inches)\n") --inch mode
end
post.Text (" G53 G90 G40\n F1\n S500\n")

dist = 9999999
refdistance = 500 * scale
switchoffset = .3575
bigArcs = 1 --stitch arc segments together
minArcSize = 0.05 --arcs smaller than this are converted to moves
end

function OnNewLine()
post.Text ("N")
post.Number (lineNumber, "0000")
lineNumber = lineNumber + 10
end


function OnFinish()
post.Text (" M05 M30\n")
end

function OnRapid()
if(endZ < currentZ) then return end
dist = dist + math.hypot(endX-currentX , endY-currentY)
post.ModalText (" G00")
post.ModalNumber (" X", endX * scale, "0.0000")
post.ModalNumber (" Y", endY * scale, "0.0000")
post.ModalNumber (" Z", endZ * scale, "0.0000")
post.Eol()
end

function OnMove()
dist = dist + math.hypot(endX-currentX , endY-currentY)
post.ModalText (" G01")
post.ModalNumber (" X", endX * scale, "0.0000")
post.ModalNumber (" Y", endY * scale, "0.0000")
post.ModalNumber (" Z", endZ * scale, "0.0000")
post.ModalNumber (" F", feedRate * scale, "0.###")
post.Eol()
end

function OnArc()
dist = dist + math.hypot(endX-currentX , endY-currentY)
if(arcAngle <0) then
post.ModalText (" G03")
else
post.ModalText (" G02")
end
post.NonModalNumber (" X", endX * scale, "0.0000")
post.NonModalNumber (" Y", endY * scale, "0.0000")
post.ModalNumber (" Z", endZ * scale, "0.0000")
post.Text (" I")
post.Number ((arcCentreX - currentX) * scale, "0.0000")
post.Text (" J")
post.Number ((arcCentreY - currentY) * scale, "0.0000")
post.ModalNumber (" F", feedRate * scale, "0.0###")
post.Eol()
end


function OnPenDown()
if(dist >= (refdistance/scale)) then
dist = 0
post.ModalText(" G28.1 Z")
post.Number(3 * scale, "0.00")
post.Eol()
post.ModalText(" G92 Z0.0\n")
post.ModalText (" G00")
post.ModalNumber(" Z", switchoffset, "0.0000")
post.Eol()
post.ModalText(" G92 Z0.0\n")
post.CancelModalNumbers()
end
post.ModalText (" G00")
post.ModalNumber (" Z", pierceHeight * scale, "0.0000")
post.Eol()
if (preheat > 0) then
post.Text ("\n G04 P")
post.Number (preheat,"0.###")
post.Eol()
end
post.Text ("\n M03\n")
if (pierceDelay > 0) then
post.Text (" G04 P")
post.Number (pierceDelay,"0.###")
post.Eol()
end
end


function OnPenUp()
post.Text (" M05\n")
if (endDelay > 0) then
post.Text (" G04 P")
post.Number (endDelay,"0.###")
post.Eol()
end
end


function OnNewOperation()
post.Text (" (Process: ", processname, ")\n")
if (plungeRate <= 0) then
post.Warning("WARNING: Plunge rate is zero")
end
if (feedRate <= 0) then
post.Warning("WARNING: Feed rate is zero")
end
end

function OnComment()
post.Text(" (",commentText,")\n")
end

function OnToolChange()
post.Text (" M06 T")
post.Number (tool, "0")
post.Text (" (", toolName, ")\n")
end

function OnNewPart()
post.Text(" (Part: ",partName,")\n");
end

function OnDrill()
OnRapid()
OnPenDown()
endZ = drillZ
OnMove()
OnPenUp()
endZ = safeZ
OnRapid()
end

---------------------------

???

Brian
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 01-30-2009, 12:25 PM
 
Join Date: Jul 2008
Location: US
Posts: 24
thedoctor is on a distinguished road

Looks to me like the process is waiting for the Z axis to make a short move. How fast is your Z motion? I assume you don't use any "prove-arc" command from the plasma power source as a motion interrupt.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 01-30-2009, 01:19 PM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road

I have pierce set at .125, and cut at .0625, so it has to move .0625, Velocity is 100 ipm, and accel is 15, so theoretically (if my math is correct) it should take approx .037 of a second, and the delay is much longer than that, its more like 1-2 seconds.

I do not have a prove arc command right now, but the hypertherm does have the easily accessible xfer (machine move) feature available, which in another thread, I am seeing if anyone knows how to use this without a THC. (I have the soundlogic board and use mach)
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 02-02-2009, 11:00 PM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road

Ah HA! I found it on my own! Im posting, cause maybe someone else will have the same problem.

In the ports and pins settings, Spindle setup Tab, the options that deal with CW and CCW spin up and spin down were set at 1 instead of 0! Now that I changed it, It does what I want.

Now, I have to go back and reset the pierce delay for my tools to cut heavier metals, the right way, not starting with 1 sec of delay!
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pierce delay in Mach 2 ? Redline CNC Plasma and Waterjet Machines 2 11-13-2011 07:58 AM
PIERCE PLASMA help? tibet CNC Plasma and Waterjet Machines 7 10-07-2010 06:49 PM
Spindle delay mkc2 Mach Mill 3 01-06-2009 07:56 AM
Pierce delay and plunge rate settings. Fiero Addiction CNC Plasma and Waterjet Machines 0 07-19-2008 07:05 PM
Pierce Delay And Plunge Rate DISCONNECTED CNC Plasma and Waterjet Machines 3 01-29-2007 09:48 PM




All times are GMT -5. The time now is 07:00 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

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 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353