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


MadCAM Discuss MadCAM software here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-02-2012, 03:20 PM
 
Join Date: Dec 2011
Location: usa
Posts: 17
warrguitars is on a distinguished road
Box Top Clearance Z Move

Is there a way to set the Z movement to move faster when it comes to the "Box top clearance"?

I have tried a bunch of things and have not figured out the magic code- Lol

G00 G49 G40.1 G17 G80 G50 G90 G64
G20
M998
(Brass_FlatEnd_.25)
M6 T1
M03 S10000
G01Z0.5000 < this move here I would like to move faster

Thanks
Reply With Quote

  #2  
Old 02-03-2012, 04:25 AM
Moderator
 
Join Date: Apr 2003
Location: Canada
Posts: 714
Dan B is on a distinguished road

You're telling the machine to do a linear move to Z0.5, but you aren't telling it the feed rate to use. Adding an F(something) at the end of the line should give you control over how fast it gets there.

Something like this:

G00 G49 G40.1 G17 G80 G50 G90 G64
G20
M998
(Brass_FlatEnd_.25)
M6 T1
M03 S10000
G01Z0.5000F100

I'm assuming you are working in inches so that F100 would move the machine to that specified Z location at 100 inches/minute. For subsequent linear moves, that feedrate will "stick" until you define another. Like this:

G00 G49 G40.1 G17 G80 G50 G90 G64
G20
M998
(Brass_FlatEnd_.25)
M6 T1
M03 S10000
G01Z0.5000F100
X2.0000Y2.0000 (the G01 and feed are carried over from the previous line)
G01Z0.0000F50 (using an new F value will cause this line to move at the new feed rate.)

Depending on your controller, the above example may or may not work. Some controllers may need the command (G01) and the feed (F) defined on each line. You probably already know what works for your machine.

I'm a little surprised that your machine moved at all without a feedrate defined. I've seen this happen here, but we get a warning on the controller that a feed is missing (Heidenhain controllers). But again, there are a lot of variations when it comes to controllers.

Hope this helps,

Dan
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 02-03-2012, 10:16 AM
 
Join Date: Dec 2011
Location: usa
Posts: 17
warrguitars is on a distinguished road

Thanks Dan,

I am using Mach 3 inch. Do you know if I can define it in the post processor and if so where? At this time I figured out how to insert M998 and M997 for my purpose of tool change position and moving the spindle out of the way.

I have tried a bunch of things and can not seem to make it work. I have been using RhinoCam and the way it is working is as follows; I start the code and M998 takes the spindle to home in rapid fashion, then the spindle goes to the work piece x y in rapid fashion, then z in rapid fashion, then the programmed x y z feeds that I programmed take over.

Here is what I am using at the moment with regard to the post processor;

//MadCAM_POST_2003-12-10
*VERSION*
1.0_031210
*FILE_NAME*
Mach3_Gcode
*FILE_EXTENSION*
txt
*FILE_DEST*
c:\postfiles\
*FILTER*
0.001
*OUTPUT_WIDTH*
4
*OUTPUT_DECIMALS*
4
*SCALE_X*
1
*SCALE_Y*
1
*SCALE_Z*
1
*AXIS_1_CHAR*
X
*AXIS_2_CHAR*
Y
*AXIS_3_CHAR*
Z
*CUTTER_REFERENCE*
TIP
*RAPID*
G00"x""y""z"
*END_SECTION*
*RAPID_APPROACH*
"x""y""z"
*END_SECTION*
*RAPID_RETRACT*
G00"x""y""z"
*END_SECTION*
*APPROACH*
G01"x""y""z" F"feedz"
*END_SECTION*
*FIRST_CUT*
"x""y""z" F"feed"
*END_SECTION*
*CUT*
"x""y""z"
*END_SECTION*
*TOOL_CHANGE*
("toolname")
M6 T"toolnr"
M03 S"speed"
G01"zhome"
*END_SECTION*
*TOOL_STOP*
M997
M5 M9
*END_SECTION*
*PROGRAM_START*
G00 G49 G40.1 G17 G80 G50 G90 G64
G20
M998
*END_SECTION*
*PROGRAM_END*
M30
*END_SECTION*
*LINE_START_NUMBER*
1

Thanks much,

Mark
Reply With Quote

  #4  
Old 02-03-2012, 11:26 AM
Moderator
 
Join Date: Apr 2003
Location: Canada
Posts: 714
Dan B is on a distinguished road

Hi Mark,

Add this section to your post (don't know if it matters, but I have this right above the first rapid section):

*FIRST_MOVE*
(define your moves here)
*END_SECTION*

Here is a sample from my Haas post:

*FIRST_MOVE*
N"lnbr" S"speed"M3
N"lnbr" G01"x""y"F10000
N"lnbr" "z"
N"lnbr" "coolant_on"
*END_SECTION*

This should help.

Dan
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5   Ban this user!
Old 02-03-2012, 02:04 PM
 
Join Date: Dec 2011
Location: usa
Posts: 17
warrguitars is on a distinguished road

Thanks Dan,

I tried some of that and it does not seem to make a difference. I did remove the "zhome" line all together and its seems to work. Doing this, will it cause any kind of safe clearance issues???

Getting close and thanks. Just trying to tweak.

Mark
Reply With Quote

Sponsored Links
  #6  
Old 02-03-2012, 02:14 PM
Moderator
 
Join Date: Apr 2003
Location: Canada
Posts: 714
Dan B is on a distinguished road

The "zhome" variable is how you get the values on the post page to show up in the code. (see the attachment)

I would suggest you don't put a linear move in the "Tool Change" section. Let the "First Move" section handle that.

Let me know how that works. I'll attach my Haas post for reference. Sorry, I don't have one specifically for your machine, but maybe this will help.

Dan
Attached Thumbnails
Click image for larger version

Name:	pic 3.png‎
Views:	8
Size:	31.2 KB
ID:	151816  
Attached Files
File Type: zip AV-Haas.zip‎ (716 Bytes, 1 views)
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #7   Ban this user!
Old 02-03-2012, 05:46 PM
 
Join Date: Dec 2011
Location: usa
Posts: 17
warrguitars is on a distinguished road

Hi Dan,

I figured it out. I just inserted a F80 next to the G01"zhome" like this;

G01"zhome" F80 and it all works the way I want it now without compromising or losing the "Box Top Clearance" setting. I hope this helps any other Mach 3 user.

Thank you for the time trying, it is greatly appreciated!

Mark
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
Mach3plasma can't move my servo motor during Mach3Mill can move it ? nhson104 Mach Plasma / Laser 6 03-14-2011 03:41 PM
Torch clearance kiramunch@sympa Plasma, EDM and other similar machine Project Log 3 02-13-2011 11:47 AM
TM-1 Table Clearance hst Haas Mills 4 11-27-2009 07:27 AM
Mastercam X - z clearance. jderou Mastercam 4 10-28-2005 12:21 PM




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