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! > CAM Software > Dolphin CADCAM


Dolphin CADCAM Discuss Dolphin CAD/CAM software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-16-2010, 12:38 PM
 
Join Date: Mar 2010
Location: U.S.A.
Posts: 30
ChetR is on a distinguished road
Getting from Engrave to Mach3...

I want to experiment with Dolphin's engraving feature.
I have my text set up and can run the tool operation.
Now I need to convert Dolphin's info into code I can run on another computer which runs my Mach 3 CNC router.
I'm sure there's a simple and probably obvious solution, but I'm not seeing it...
Thanks for any tips...
Reply With Quote

  #2   Ban this user!
Old 10-18-2010, 09:06 AM
 
Join Date: Mar 2010
Location: U.S.A.
Posts: 30
ChetR is on a distinguished road

Okay, more info...
I generated the engrave text "testing 1, 2, 3"
and then chose the Mach3 postprocessor.
Here's what was generated:


TITLE:
:T1 = { PartMaster Level 1 MACH3 CNC Milling Controller
Copyright (c) 2005 Dolphin CADCAM Systems Ltd
}
END:

WORDS:
:TMP = {DDDDDD.dd}
:BLOCK = {"N"DDDD}
:XAXIS = {"X"DDDDD.ddd} {"X"DDD.dddd}
:YAXIS = {"Y"DDDDD.ddd} {"Y"DDD.dddd}
:ZAXIS = {"Z"DDDDD.ddd} {"Z"DDD.dddd}
:XARC = {"I"DDDDD.ddd} {"I"DDD.dddd}
:YARC = {"J"DDDDD.ddd} {"J"DDD.dddd}
:DELAY = {"G04X"DDDDD.ddd}
:DWELL = {"P"DDDD.ddd}
:PECK = {"Q"DDDDD.ddd} {"Q"DDD.dddd}
:RPLANE = {"R"DDDDD.ddd} {"R"DDD.dddd}
:FEED = {"F"DDDDD.dddI} {"F"DDD.dddd}
:SPIN = {"S"DDDD}
:TOOL = {"T"DD}
:SUBPR = {"P"DDDD}
:REPEAT = {"L"DDDD}
:CRC = {"D"DD}
:TLC = {"H"DD}
:INDEX = {"INDEX"DDD.ddd}
:PROGNO = {"O"DDDDD}
END:

GROUPS:
:G1 = { G00 G01 G02 G03 }
:G8 = { G73 G74 G76 G80 G81 G82 G83 G84 G85 G86 G87 G88 G89 }
:G2 = { G17 G18 G19 }
:G3 = { G90 G91 }
:G4 = { G94 G95 }
:G5 = { G20 G21 }
:G6 = { G40 G41 G42 }
:G7 = { G43 G44 G49 }
:G9 = { G98 G99 }
:G10 = { G54 G55 G56 G57 G58 G59 }
:M1 = { M00 M01 M03 M04 M05 M06 }
:M2 = { M98 M99 }
END:

CYCLES:
DRILL CANNED
DRILLDWELL CANNED
NDEEP CANNED
NPECK CANNED
NPECK CANNED
REAM CANNED
BORE CANNED
TAP CANNED
ARC QUADRANT
END:

MACROS:
#N = { $BLOCK:BLOCK
IF ($BLOCK EQ 9995) THEN SET $BLOCK = 5
ENDIF }
#L = { [RAPID ? (G01) / (G00)] }
#FTYPE = { [FEEDTYPE ? (G94) / (G95) ] }
#X = { ($X:XAXIS) }
#Y = { ($Y:YAXIS) }
#Z = { ($Z:ZAXIS) }
#I = { $XCEN:XARC }
#J = { $YCEN:YARC }
#R = { ($CCLDIST:RPLANE) }
#P = { if ( $CDELAY ne 0 ) then ($CDELAY:DWELL) endif }
#F = { [RAPID ? [FEEDTYPE ? ($FPM:FEED) / ($FPR:FEED) ] ] }
#DWELL = { if ($CDELAY ne 0) then (G82) else (G81) endif }
#DWREM = { if ($CDELAY ne 0) then (G89) else (G85) endif }
#DWBOR = { if ($CDELAY ne 0) then (G88) else (G86) endif }
#RAPID = { SET [RAPID] = 2 }
#FEED = { SET [RAPID] = 1 }
#IPLANE = { if ( [CRETRACT ? (G98) / (G99)] }
#CRCX = { [CUTCOM ? (G40) / (G41) / (G42)] }
#CRCNOX = { [CUTCOM ? NULL / ($CRCNO:CRC) / ($CRCNO:CRC) ] }
#CRC = { NULL }
#CRCNO = { NULL }
#Q = { (ABS($CD1):PECK) }

END:

RULES:
:INIT = { SET $USR5 = 2.5 }
:START = { "%" eob }
:PARTNO = { "( Produced :- " $TIME " " $DATE " )" EOB
"( CNC File :- " $CNCNAME " )" EOB
"( Post Processor :- " $POST " )" EOB
"( Part Number ID :- " $JOBTEXT " )" EOB
}
:XPROGNO = { "%" EOB $PROGNO:PROGNO EOB }
:UNITS = { #N (G00) [UNITS ? (G21) / (G20)] (G17) (G90) (G40) (G49) (G80) EOB
IF ([UNITS] EQ 1) THEN
SET $USR2 = 0.0005
set $PRECISION = 0.001
ELSE
SET $USR2 = 0.00005
set $PRECISION = 0.0001
ENDIF
}
:SELCTL = { if( $LASTOOL != 0 ) then #N (M09) eob endif
UNSETALL
if ( $Z ne $ZTLOAD ) then
#N (G00) (G28) $ZTLOAD:ZAXIS eob
endif
#N (G49) eob
#N $TOOLNO:TOOL (M06) " ( " $JOBTEXT " )" eob
#N (G00) (G43) $CLEARP:ZAXIS $TLCNO:TLC eob }

:STOP = { UNSETALL #N (M00) EOB }
:OPSTOP = { UNSETALL #N (M01) EOB }
:PPRINT = { #N $JOBTEXT EOB }
:GOTO = { if( $DISTANCE > $USR2 ) then
#N #L #CRC $X:XAXIS $Y:YAXIS #Z #CRCNO #F EOB
endif
}
:GOCLW = { #N (G02) #CRC #X #Y #Z #I #J #CRCNO #F eob }
:GOACLW = { #N (G03) #CRC #X #Y #Z #I #J #CRCNO #F eob }

:SPINDLE = { #N $SPINDLE:SPIN [SPIN ? NULL / (M03) / (M04) ] eob
#N #FTYPE EOB }

:DRILL = { #N #IPLANE #DWELL #X #Y #Z #R
if ($CDELAY NE 0)($CDELAY:DWELL)
#F eob }

:BORE = { IF ($CDELAY EQ 0) set $CDELAY = $USR5
#N #IPLANE #DWBOR #X #Y #Z #R ($CDELAY:DWELL) #F eob }

:REAM = { #N #IPLANE #DWREM #X #Y #Z #R #F EOB }
:TAP = { #N #IPLANE (G84) #X #Y #Z #R #F EOB }
:NPECK = { #N #IPLANE (G83) #X #Y #Z #Q #R #F EOB }
:NDEEP = { #N #IPLANE (G83) #X #Y #Z #Q #R #F EOB }

:DRILLDWELL = :DRILL

:COOLANT = {#N [COOLANT ? (M09) / (M08)] EOB }
:CYCLEOFF = { #N (G80) EOB UNSET (G8) unset (G9)
unset :RPLANE
unset :PECK
UNSET :FEED
UNSET :ZAXIS
UNSET :DWELL
}

:GOHOME = { if ( $Z lt $CLEARP ) then
#N (G00) (G80) $CLEARP:ZAXIS eob
endif
#N (G00) $XSAFPOS:XAXIS $YSAFPOS:YAXIS EOB
#N (G00) (G28) $ZSAFPOS:ZAXIS eob
#N (G49) EOB
}

:FINISH = { #N (M09) EOB
#N (M30) EOB "%" EOB }


END:

Is this the correct code? I would have expected a list of line numbers with XYZ commands...
Looking forward to any help here...
Chet
Reply With Quote

  #3   Ban this user!
Old 10-19-2010, 05:01 AM
 
Join Date: Feb 2007
Location: UK
Posts: 146
andre-dolphin is on a distinguished road

Hello Chet,

What you've actually shown here is the post-processor itself, don't know quite how you got to this stage.

What you should have is the file created by the post processor when you choose the post processor icon from within CAM.

When you post process a job, the dialogue box shows you the output file that will be created, this will have a .pun extension as a default but you can change this at the time of post processing - look at the bottom right hand part of the dialogue.

When completed the output will be shown underneath the graphics area in CAM, this is the file that is sent to MACH3.

Hope this is clear.

Andre
Reply With Quote

  #4   Ban this user!
Old 10-19-2010, 12:15 PM
 
Join Date: Mar 2010
Location: U.S.A.
Posts: 30
ChetR is on a distinguished road

Hi Andre!
As always, your replies are knowledgeable and helpful.
Yes, I kept experimenting on my own, and finally discovered a way to creating the .pun file.
I also kept careful notes so I can duplicate the process.
I still can't do it from Engrave using PM CAM, but I can do it from PM CAD...
(Yes, I am determined to figure out the PM CAM process...)
I did a dry run on my CNC router, and discovered that the Z plane entry is important... But I was able to debug my code with a copy and replace.
(The 5" default put my router into Emergency Stop)
Thanks for taking the time to share, Andre!
Some day this stuff will become 'intuitive', but for now it's quite the challenge! ; - )
Chet
Reply With Quote

  #5   Ban this user!
Old 10-19-2010, 02:22 PM
 
Join Date: Mar 2010
Location: U.S.A.
Posts: 30
ChetR is on a distinguished road

Well, well, well, well....
Finally figured out the PartMaster CAM method of engraving!
Makes sense in retrospect...
It's sorta like dancing... If you know the steps it can be a beautiful thing!
Reply With Quote

Sponsored Links
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
Need Help!- using engrave lab with mach3 malti2104 Mach Software (ArtSoft software) 1 05-23-2009 12:35 PM
how to engrave cob Mastercam 27 10-17-2008 02:51 PM
WHAT THE BEST METAL TO ENGRAVE IN? hillco148 General Metalwork Discussion 1 07-15-2008 02:45 AM
Desk Engrave WOODKNACK Carken Products (Deskam, DeskCNC etc) 18 02-25-2005 10:19 AM




All times are GMT -5. The time now is 04:13 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 354 355 356 357 358 359 360 361