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 02-01-2007, 12:03 AM
 
Join Date: Jan 2006
Location: usa
Posts: 461
pzzamakr1980 is on a distinguished road
Trouble With Program

I am new to this whole thing so please bear with me. I have finished setting up my sieg x3 with the cncfusion kit and all the other necessary hardware with the exception of limit and home switches. I am now trying to use the mill to machine the mounts for the switches. To home the machine temporarily i wired up some switches and press them when the machine reaches its home travel. It works okay because i will then press the soft limit switch in Mach and the mill wont go past the soft home. The problem I am running into is this. I designed the part in Mastercam X, Its very basic and very small, roughly 2*2 inches. I am using the default mill/generic mill for my machine type. When I import the nc file into Mach i get a giant red box with red lines leading to the part. The part will not go onto my machine table in the toolpath view in Mach regardless of how I position the table and click regen toolpath. When I try to run the program the machine will soft home itself and then it will ask for the tool change, i click continue cycle (since i wanted to demo it first on the machine i just have a pen mounted), and next it immediately says "softlimits switch thrown" or something to that effect. I am including the file so if i am doing something wrong in that yall can look at it and tell me.
Attached Files
File Type: txt XLIMITBASE1.txt‎ (3.1 KB, 55 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 02-01-2007, 07:48 PM
 
Join Date: May 2006
Location: USA
Posts: 34
Tim S is on a distinguished road

pzzamakr1980,

I'm not to sure on Mach3 code, I believe it is pretty similar to Fanuc. The first few lines of code with "/" in front of them are going to send the machine to its home position (G28 Y0 & x0) if you do not have the block delete selected on the control. The "/" will block the control from reading the lines if you have block delete turned on. Best bet would be to remove the lines from the program. Also, remove the A0. callouts. This is for a rotary (4th) axis. Usually if you don't have the rotary axis, or if it's not hooked up, that will alarm out the machine as well.

Hope that helps,
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 02-01-2007, 11:04 PM
 
Join Date: Jan 2006
Location: usa
Posts: 461
pzzamakr1980 is on a distinguished road
Got Machine Running And Cutting: Air Mostly

The problem has been fixed for the most part, it took updating the MasterCAM X post and control with the older MasterCAM 9 post for Mach2. Im running Mach3 but I havent had any problems and what little I understand of the G-code it looks okay and runs okay. The problem is when I run the program it is not taking into account the stock material. It is cutting from the starting position of the tool rather than moving over the correct amount that I set in Stock Setup/Stock Origin. So if I have the part sitting in the middle of the stock so that I have extra material that offset of centering the designed part is not being taking into account. It just starts cutting, in this case drawing, the part from the place i edge find and not moving over .9 inches x and moving over 1.2 inches y to start cutting. The z axis does not have any problems. . I hope this was clear as to what i mean. File is attached again.
Attached Files
File Type: txt MACHINE_GROUP_1.txt‎ (3.5 KB, 42 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 02-02-2007, 12:36 PM
 
Join Date: May 2006
Location: USA
Posts: 34
Tim S is on a distinguished road

Again, not being too familiar with Mach3 code, I don't see a work offset (G54) in your program. If you don't have a work offset, the machine will start machining the program from right where it sits. Look into your manual for Mach3 and look for work offsets.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 02-02-2007, 11:48 PM
 
Join Date: Jan 2006
Location: usa
Posts: 461
pzzamakr1980 is on a distinguished road
Good Point Tim

I didnt know what a work offset was to be honest, at least not as its defined in G-code. I had thought that the CAM program, in this case Mastercam figured it out and put it in there. The design is setup on the work/stock so that it will have enough extra to be milled out properly. I imagine that i can put one in there now if someone shows me how to do so.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-03-2007, 01:31 PM
 
Join Date: May 2006
Location: USA
Posts: 34
Tim S is on a distinguished road

To set up a work offset you need to define where your X0 & Y0 is going to be on the machine (for this particular program). The zero that you define on your machine, needs to correspond with the zero that you programmed from. Lets say that the zero on your part in Mastercam is the upper right corner, then you need to set the zero to the upper left corner on your stock (then move a little on X & Y to allow for removal of stock). When you find those coordinates on your machine, you will define them in your control as a G54. Your program will then call a G54 and start from that position. You will also need to touch your tools off on the top of the piece and define those as your height offsets (H1 for tool 1, H2 for tool 2 and so on). Otherwise you might make a nice mark in your table.

Use an edgefinder to define your X0 & Y0. Not sure of where you are, but MSC, J&L and other industrial hardware stores will carry them.



Check you rmanual for setting work offsets, that should get you on your way. I've never used Mach3 so I couldn't tell you, but maybe somebody with Mach3 experience can chime in and help you further.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 02-03-2007, 04:21 PM
 
Join Date: Jan 2006
Location: usa
Posts: 461
pzzamakr1980 is on a distinguished road
Thx, Art Suggested The Same

Thanks Tim, Art from Artsoft had already suggested the same and I in fact had already done this method, I didnt realize that it was the same as a g54, or rather what I was doing would call a g54 sequence, or whatever.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 02-05-2007, 07:44 PM
 
Join Date: Jan 2006
Location: usa
Posts: 461
pzzamakr1980 is on a distinguished road
One More Question

Okay, this part is clamped in a vise and I want the final cut to release the part. The problem is it makes the outer roughing cut first which cuts through the part and then makes the finishing cut. It cant make the finishing cut because the part drops down. How would i make the finishing cut be the one that cuts it out and lets it drop. Thx
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 02-06-2007, 08:50 AM
 
Join Date: May 2006
Location: USA
Posts: 34
Tim S is on a distinguished road

Without seeing your part, my first suggestion would be to increase the Z level of your final roughing pass so that it leaves material holding them together. The problem with this is, when it makes the finish pass, as it gets toward the end of the cut, there is nothing holding the piece in the vise. It will probably end up breaking your cutter. You can post your file here if you want me to take a look at it.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 02-06-2007, 06:34 PM
 
Join Date: Jan 2006
Location: usa
Posts: 461
pzzamakr1980 is on a distinguished road
Heres the program

Heres the program Tim. Okay, so rather than break the endmill what should I do. Should I mount it on another piece of larger stock?
Attached Files
File Type: txt MACHINE_GROUP_1.txt‎ (2.9 KB, 36 views)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-07-2007, 08:59 AM
 
Join Date: May 2006
Location: USA
Posts: 34
Tim S is on a distinguished road

If you can post your actual Mastercam file, that would be very helpful. What version are you running?
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 02-07-2007, 05:29 PM
 
Join Date: Jan 2006
Location: usa
Posts: 461
pzzamakr1980 is on a distinguished road
Here U Go

I am running MasterCAM X
Attached Files
File Type: zip LimitBase.zip‎ (15.2 KB, 35 views)
Tweet this Post!Share on Facebook
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
tl-2 program integrity error and program data error alarm #'s 212 250 need help CNChelp Haas Mills 12 03-14-2010 09:19 PM
Mazatrol Program into a G Code Program fuzzman Mazak, Mitsubishi, Mazatrol 14 02-08-2010 04:55 PM
Fanuc Series 15-M Trouble uploading Ladder Program grege101 Fanuc 5 12-13-2007 10:38 PM
Trouble With Program pzzamakr1980 Mach Mill 3 02-02-2007 06:10 AM
Anyone got any basic examples of a program using a subroutine/program? Darc CamSoft Products 11 10-09-2005 12:45 AM




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