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


Mastercam Discuss Mastercam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-29-2008, 01:09 AM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road
Customizing Canned Text?

I guess I must be finally 'getting' this Mastercam stuff.

As I was hunting around in MCX last weekend, trying to solve my multiple work offset question, I discovered Canned Text. Now I know what it is and what it does. I haven't used it but I already want to customize it.

What I've been doing in the past is scheduling a part flip during my programs but I've been doing in manually (Manual entry, with this text):

G53 Z0.0
G53 X-15.0 Y0.0
M00 (FLIP PART AGAINST BACK JAW)


Now that I have discovered Canned Text, I'd like to edit things so I can just add that from the last operation before the part flip. I see how to put comments into the operation and I know that I can M00 from there as well. The part missing is my homing of the table at those machine coordinates (table to the door and spindle all the way up). I want a single Canned Text statement that I can pick and have it add the entirety of the text above (with the G53 moves).

I thought I had found it in the Control Definitions but I must be missing something. Do I need to add it as a Canned Text entry there (call it something like "part flip"), then edit the post with the text definition/equivalent from above? Is that basically how it works: the Control Definition gets the name of the entry and the Post outputs the text string of what that means?

Thanks in advance
__________________
Greg
Reply With Quote

  #2   Ban this user!
Old 11-14-2008, 07:19 PM
 
Join Date: May 2007
Location: USA
Posts: 303
foxsquirrel is on a distinguished road

I called the MCX rep for something similiar with canned text, they said the post needs tweaked to get it to work right. I was not very happy or impressed by all the "post mods"
Reply With Quote

  #3  
Old 11-15-2008, 12:17 PM
cadcam's Avatar
Community Director
 
Join Date: Apr 2003
Location: United States
Posts: 2,721
cadcam is on a distinguished road

I used the manual entry and used a text file. for simple click and get this.
pretty easy and you don't have to edit the post and you don't have to type each time.

N254 G3 X2.425 Y0. R.5
N256 X-2.425 R2.425
N258 X2.425 R2.425
N260 X1.925 Y.5 R.5
N262 G1 X1.425
N264 Z-.05
N266 G0 Z.25
N268 M5
N270 G91 G28 Z0. M9
N272 G28 X0. Y0. A0.
N274 M01
( 1/4 CHAMFER MILL TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA. - .25 )
G53 Z0.0
G53 X-15.0 Y0.0
M00 (FLIP PART AGAINST BACK JAW)

N276 T2 M6
N278 G0 G90 G55 X-7.08 Y-2.6875 A0. S6112 M3
N280 G43 H2 Z.25 M8
N282 Z.1
N284 G1 Z-.07 F8.56
N286 X-6.83 F24.45
N288 G3 X-6.58 Y-2.4375 R.25
N290 G1 Y2.4375
N292 G2 X-6.25 Y2.7675 R.33
N294 G1 X-4.7331
N296 G3 X-4.0074 Y3.1221 R.92
N298 G2 X4.0074 R5.08
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng)
Reply With Quote

  #4   Ban this user!
Old 11-15-2008, 01:43 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

Yup, I've been using the 'text file' method but since I do it often, I figured it would save time if I could do it with Canned Text. I'm more interested because when I get into 4th and 5th axis stuff (indexing), I may want to insert similar commands as canned text.

I went into the machine definition and defined Canned Text #11. It showed up at the very end of the post as 11. "Home & Flip"

I tried to use the other predefined commands (like M00) as a template but I still don't understand the mechanics of that script. I found pcant_1, pcant_2, etc, but I'm not following how they work.
__________________
Greg
Reply With Quote

  #5  
Old 11-15-2008, 02:01 PM
cadcam's Avatar
Community Director
 
Join Date: Apr 2003
Location: United States
Posts: 2,721
cadcam is on a distinguished road

Why would you need this for indexing?
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng)
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-15-2008, 02:10 PM
Donkey Hotey's Avatar  
Join Date: Nov 2007
Location: USA
Posts: 1,636
Donkey Hotey is on a distinguished road

One way I plan to use the rotary is to store 4 and 5 axis 'positions' as work offsets. In that instance, I'd like to be able to do a full Z home before changing tool planes (and firing the indexer).

Another 'canned text' that I might use often would be to turn my Haas Auto Air gun on and off (M-codes).
__________________
Greg
Reply With Quote

  #7  
Old 11-15-2008, 02:35 PM
cadcam's Avatar
Community Director
 
Join Date: Apr 2003
Location: United States
Posts: 2,721
cadcam is on a distinguished road

Well for starters let me show you how to program using planes to handle the rotation. and as for the air this can be set up for coolant section. I will try and help soon with all this.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Cadcam
Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng)
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
Need Help!- Canned tapping on 0TB guhl Fanuc 3 06-28-2008 08:43 AM
Using Canned Text to enable Block Delete Bloodeye Mastercam 1 05-26-2008 10:18 AM
G76 Canned cycle Stebedeff Fanuc 1 02-07-2008 11:42 AM
canned cycles on 16t? DocHod Fanuc 3 07-08-2007 07:58 PM
G90/G91 in canned cycles alfalfa CamSoft Products 18 02-25-2007 05:20 AM




All times are GMT -5. The time now is 11:43 PM.





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