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 06-08-2008, 11:38 PM
 
Join Date: Oct 2005
Location: US
Posts: 1,220
MrWild is on a distinguished road
Constant cutting speed macro

Anyone have an idea how I can add this to a Post Process? The Crusader M uses an M code for this. What I've done so far is to define m1000 and m2000 as M3 in the M woird list. (don't let that confuse you if you don't know aboyt post processing language. Dolphin named their modals after G and M. So each G modal code has a "G group" name. G1 includes G0, G1 etc. M1 includes M03, M04, and M05)

As M1 was used for the spindle, and M2 was used for coolant, I'm thinkng M3 could be used tof another modal. My question is,

"Are there specific actions within the post processor where each G or M GROUP name has a speific function? What I mean here, Are they specific, or could G2 with cirular interpolation be swapped with G1 Feed speed? Or is the G1 group specifically defined as a feed G-group?"

I ask because if that is the case, I'd need to know the M-group that my constant feed will work in.

Anyway, I'd like to make a Macro which turns the constant cutting speed (or look ahead) on and off as the control says z clear plane versus cutting/machining plane. Probably a lot of IF, Then, and Else, with a few Nulls I imagine.

Anyhow, if someone is running a post for another machine and there Post DOES spit out the proper code for constant speed cuts, could you tell me which one it is, so I can look it up and reverse engineer it?


Thanks
Reply With Quote

  #2   Ban this user!
Old 06-09-2008, 05:57 AM
 
Join Date: Feb 2007
Location: UK
Posts: 146
andre-dolphin is on a distinguished road

I'm not a post expert but will try to help.

The modal groups are named to follow the examples in the Fanuc and other controller programming manuals, they don't have any intrisic meaning.

I don't know of any posts that have the exact function you are looking for but it would be possible to make the GOTO rule or a macro do what you want eg.

IF $Z >= $CCLEARP then .........
ELSE ,,,,,,,,,,

Or perhaps something to do with the FEEDRATE like this :-

#F = { [RAPID ? [FEEDTYPE ? ($FPM:FEED) / ($FPR:FEED) ] ] }

ATB
Andre
Reply With Quote

  #3   Ban this user!
Old 06-09-2008, 01:39 PM
 
Join Date: Nov 2006
Location: USA
Posts: 25
PlasticWorker is on a distinguished road

Hi,

Sorry, but I think you are going about this incorrectly.

The G and M,S,T codes are supposed to be universal, as in a common language. I know some machine tool manufactures have not strictly adhered to the concept, but most of the basics are the same. G00 should always be rapid and G01 should be linear ( feed rate). M03 should be a spindle on clockwise command. And no you cannot swap code functions.

But I digress. IF the Crusader has a built in constant feed function you need to access it by whatever method Crusader uses. You can't just make up your own code. The function is built into the control.

What you need to do is have your post add whatever command the Crusader needs.

Most machines purposely slow down when coming to a change in direction so as to reduce the wear and tear.
Reply With Quote

  #4   Ban this user!
Old 06-09-2008, 06:56 PM
 
Join Date: Oct 2005
Location: US
Posts: 1,220
MrWild is on a distinguished road

Right, I know that. For the Crusader it is M1000 and M2000. M1000 turns it on, and M2000 turns it off. I think you are confusing the G1, G2 group names as G1, and G2 cmmands. It confused me at first until I figured out they were group names. A confusing thing is Fanuc(?) uses a G code like G96 and G97 for constant feed. Why I was wondering about the model group names and if they were locked in. So my M3 group name for the M1000, and M2000 were the right idea.

I think Andre is pointing me in the right direction. I just need to study Basic some more so I get a better handle of the if, then, else, and null statements. HMMMMM I bet I could use the lead in/out feature as the toggle. When a cutter gets a lead in command, it switches to constant feed..... Lead out stops it for the Z and clear plane moves. This is something Feature CAM does automatically, it'd be great for Dolphin to do it too.

Mr. Wild's Crusader M.PPR... The fame! The fortune! The infamy!
Reply With Quote

  #5   Ban this user!
Old 06-10-2008, 05:18 AM
 
Join Date: Feb 2007
Location: UK
Posts: 146
andre-dolphin is on a distinguished road

Unfortunatley the lead in/out functions can't be used as they only generate GOTO/GOCLW/GOACLW commands the same as if they were part of the Contour.

I think the best way would be to use the position of the Z axis, if it's "in" the material ie, below the Current Work Work Surface -$CWSURF- then switch it on and if it's above switch it off.

Something like :-

IF $Z < $CWSURF THEN #N "M1000" EOB

(the z is below work surface so it's in the material)

ELSE #N "M2000" EOB

(the z is above the work surface so it's out of the material)


ATB
Andre

PS - Couldn't restist this from an old Carry-On movie

"Infamy ! Infamy ! they've all got it in for me
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
Is "Constant Speed" important? Hamadamj TurboCNC 12 10-11-2007 05:53 PM
constant surface speed mr.mark General Metalwork Discussion 3 10-03-2007 02:21 PM
Is "Constant Speed" faster? Hamadamj General CNC (Mill and Lathe) Control Software (NC) 0 02-12-2007 01:45 AM
Constant Surface Speed raymond1 Bridgeport and Hardinge Mills 9 01-07-2007 10:17 PM
constant velocity and power settings in mach3 plasma cutting Knut CNC Plasma and Waterjet Machines 4 09-27-2006 10:19 PM




All times are GMT -5. The time now is 12:54 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