![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| SheetCam Discuss SheetCam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
| Does this post look right? I added a few functions at the end before finish and would like to know if I have to adjust this bit of code to make it work- function floodon() text(" M08 (Flood coolant on)\n") end function miston() text(" M07 (Mist coolant on)\n") end function coolantoff() text(" M09 (Coolant off)\n") end function finish() -- endz = safez text (" T0\n") text (" G00 Z4.5\n") text (" G59\n") text (" G00 X0 Y0\n") -- rapid() -- endy = 0 -- endx = 0 -- endz = 5 -- rapid() text (" M05\n M30\n") end
__________________ Thank You, Paul G Site Owner-Webmaster- Administrator www.rfqwork.com www.cnczone.com www.welderzone.com |
|
#2
| |||
| |||
| Yes that should work fine. It might do odd things if you use the parking position in options->material (later versions of SheetCam only) Les |
|
#3
| ||||
| ||||
| What I would like is for the flood to turn on and off with the laser is that possible?
__________________ Thank You, Paul G Site Owner-Webmaster- Administrator www.rfqwork.com www.cnczone.com www.welderzone.com |
|
#4
| |||
| |||
| If you are using a plasma based post then edit the pendown() and penup() events. Otherwise use the spindlecw() and spindleoff() events. Just use text() to add the code to the output, just like you did in function finish(). Les |
|
#5
| ||||
| ||||
| function pendown() if (preheat > 0.001) then modaltext (" G00") modalnumber (" Z", cutheight * scale, "0.0000") text ("\n G04 P") number (preheat,"0.###") eol() end modaltext (" G00") modalnumber (" Z", pierceheight * scale, "0.0000") text ("\n M03\n") (" M08\n") <------------------ like this ? if (piercedelay > 0.001) then text (" G04 P") number (piercedelay,"0.###") eol() end end
__________________ Thank You, Paul G Site Owner-Webmaster- Administrator www.rfqwork.com www.cnczone.com www.welderzone.com |
| Sponsored Links |
|
#6
| |||
| |||
| text ("\n M03\n M08\n") The \n starts a new line Les |
|
#7
| ||||
| ||||
| So this is all I need than- function pendown() if (preheat > 0.001) then modaltext (" G00") modalnumber (" Z", cutheight * scale, "0.0000") text ("\n G04 P") number (preheat,"0.###") eol() end modaltext (" G00") modalnumber (" Z", pierceheight * scale, "0.0000") text ("\n M03\n M08\n") <--------------------here if (piercedelay > 0.001) then text (" G04 P") number (piercedelay,"0.###") eol() end end function penup() text (" M05\n M09\n") <------------here if (enddelay > 0) then text (" G04 P") number (enddelay,"0.###") eol() end end Thanks so much for your help!!
__________________ Thank You, Paul G Site Owner-Webmaster- Administrator www.rfqwork.com www.cnczone.com www.welderzone.com |
|
#8
| |||
| |||
| Yup. That is all you need to do. Les |
|
#9
| ||||
| ||||
| Thanks a bunch!
__________________ Thank You, Paul G Site Owner-Webmaster- Administrator www.rfqwork.com www.cnczone.com www.welderzone.com |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need post Delcam PowerMILL post for Hardinge VMC 600 II with Fanuc Series oi-MB | littlem | Post Processor Files | 0 | 10-26-2006 05:59 PM |