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 12-28-2006, 01:16 PM
 
Join Date: Sep 2003
Location: chester,england.uk
Posts: 138
stevieboy is on a distinguished road
decimal point

Hi guys,

I'm using Mastercam V9 and I'm wanting to run a mill that I've just bought off it. The mill is a Hurco BMC 20, I'm working in metric and I can send programs to the machine ok. What's happening is mastercam creates the programs with a decimal point in the feedrates, e.g. "F1500.0". The machine will not accept this and says the decimal point is "illegal". I can edit the program to remove the decimal points from all the feedrates before I send it to the machine, which isn't so bad for a small program but something big that needs drip feeding will be a bit of a hassle.

Is there any way I can set up Mastercam to not produce the decimal point in the feedrates by default.

Thanks in advance,

Steve.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 12-28-2006, 01:26 PM
jackson's Avatar  
Join Date: Oct 2006
Location: United States
Posts: 584
jackson is on a distinguished road

Could it have anything to do with your baud rating ? i dont know about master cam i use Multi DNC for com. and i dont do metric
__________________
individual who perceives a solution and is willing to take command. Very often, that individual is crazy.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 12-28-2006, 02:03 PM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 976
psychomill is on a distinguished road

Do you need to only have the decimal point removed? or also the "0" that's behind it?

I'm assuming you're using the Hurco post (MPHUR). If not, let me know, this may be slightly different....

Look in your post file and you should this:

# --------------------------------------------------------------------
# Spindle Speeds & Feedrate output formats
# --------------------------------------------------------------------
fmt S 3 ss # Spindle Speed
fmt F 5 fr # Feedrate
fmt F 11 fmod # Feedrate Modified
fmt 4 dirchg # Feerate Accel/Decel Flag
# ---------------------------------------------------------------------

On this line here...
fmt F 3 fr # Feedrate

Change the 5 to a 3. This will drop the decimal and any number behind it. It should post out a "F1500".

If you look above this in the post where it says "Format Statements", it should have a line like this:
fs 3 4 0

That should do the the trick. If not, let me know....



P.S. Make sure you make a copy of the post file first before you edit it. That way, if any mistakes are made and you can't get it corrected, you can still revert back to the original version to start over.
__________________
It's just a part..... cutter still goes round and round....
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 12-29-2006, 12:59 PM
 
Join Date: Sep 2003
Location: chester,england.uk
Posts: 138
stevieboy is on a distinguished road

OK Psychomill, I'll give that a try and get back to you in the next few days. I'm not sure it'll work though but it's worth a try. It seems to be Mastercam itself that's the problem.

When I create a toolpath from a drawing the parameters box comes up to select the tooling. I pick the tool I want from the library and type in the box for the feedrate what I want it to be. Working in mm per minute so e.g. 500, 1000, 1500, etc. When I press enter Mastercam puts a decimal point in there followed by another 0, so 500.0, 1000.0, 1500.0, etc.

This then comes out in the program and the machine's controller won't accept it. I'll have a look over the weekend and get back to you.

Thanks for the help so far.

Steve.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 12-30-2006, 04:33 PM
 
Join Date: Sep 2003
Location: chester,england.uk
Posts: 138
stevieboy is on a distinguished road

Well I tried that and it worked, but only on feedrates with four figures or more, e,g, 1000 mm/min. For anything below that like a drill or tap routine that might have a feedrate of 500 mm/min it still puts the decimal point in there followed by another 0.

I don't think it's a post processor problem as this decimal point thing happens with everything else. In the toolpaths parameters dialogue box whatever figures I type in for any of the information, feedrates, depth cuts, stepover percentages, cutter diameter, it doesn't matter it still does it. I type a hole number with no decimal point and as soon as I press enter, bang, a decimal point and 0 on the end of it.

Any more ideas.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-30-2006, 06:01 PM
Matt Berube's Avatar
Power User
 
Join Date: Mar 2005
Location: USA
Posts: 461
Matt Berube is on a distinguished road

This can definitely be worked out in the post.

There is nothing wrong with Mastercam.

Unfortunately I don't know enough about posts to help you fix this.

I did notice that there was a similar question a while back...

Hurco post deleting feed rate decimal
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 12-31-2006, 01:50 PM
ObrienDave's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 280
ObrienDave is on a distinguished road

Some of the text below blatantly stolen from psychomill's post.

stevieboy...
Try this...
In the MPHUR.pst file, you will find...

# --------------------------------------------------------------------
# Spindle Speeds & Feedrate output formats
# --------------------------------------------------------------------
fmt S 3 ss # Spindle Speed
fmt F 5 fr # Feedrate
fmt F 11 fmod # Feedrate Modified
fmt 4 dirchg # Feerate Accel/Decel Flag
# ---------------------------------------------------------------------

On this line here...
fmt F 5 fr # Feedrate

Make it read...
fmt F 10 fr # Feedrate

If you want to get rid of the decimal for drill cycle feedrates, In this section...
# --------------------------------------------------------------------------
# Drill variable formats
# --------------------------------------------------------------------------

look for...
fmt F 5 frplunge # Plunge feedrate in drill cycles

change to...
fmt F 10 frplunge # Plunge feedrate in drill cycles

Since none of the FMT lines are using FS 10, this will drop the decimal and any number behind it. It will post out a "F1500" or "F50".
Tested with MPHUR.pst
Works.

To quote Matt, "There is nothing wrong with Mastercam". Well..., sort of.

Normally, The input box data is "filtered" by the post processor.

The general idea of post processing is, so you can take a toolpath program from Mcam, run it through different machine post processors, and get the same result from different machines.

Post processors take care of different requirements for different machine and control combinations such as,

1. Tool change codes.
For example, I have a standard post and a different one set up to make the machine behave differently for extra long tools, or extra tall parts.
This can also take care of machines that require pre-staging the next tool in a dual arm changer, etc.

2. Arc center codes.
Such as, R or R- over 180 degrees, or absolute, incremental, or delta, I,J,K information.

3. End of program table movement.
I set mine up to retract the spindle and then present the table to the operator.

4. Axis letter data requirements.
Your machine control may not support decimal feed rates, others do.
Your machine may require different values for tool information, such as T6 H46 D46, etc., others may not.

The point is, it is the post processor's job to take care of these and other differences from machine to machine.

Please, don't be so quick to blame MasterCam.
Like any other tool, it is only as good as the person using it.
__________________
ObrienDave. MasterCam since V6. Gcode since 1983.
Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow.

Last edited by ObrienDave; 12-31-2006 at 05:32 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 01-04-2007, 12:10 AM
Mike Mattera's Avatar
Gold Member
 
Join Date: Mar 2006
Location: USA
Posts: 1,010
Mike Mattera is on a distinguished road

I have a free tutorial for this. Click the link below and then click "How To Edit A Post". It explains the Format Statement (fs).

http://www.mmattera.com/mastercam/index.htm

Mike Mattera
__________________
Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
http://www.tipsforcadcam.com
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 01-09-2007, 09:53 AM
 
Join Date: Sep 2003
Location: chester,england.uk
Posts: 138
stevieboy is on a distinguished road

Hi Guys,

Well that seems to have done the trick so thanks a lot for all the help, especially you Obriendave, that sorted it, great. There's still a few things to sort out like the bore and drill routines. Also tool change positions for long tools/high jobs. There is a function for this in the machine's own parameters but I get a Y axis limit switch warning when I use it, obviously nothing to do with mastercam.

Your right, I shouldn't be so quick to blame the software, it's obviuosly just in need of the post setting up properly which is down to the operator. I guess I was getting a bit frustrated because it was doing something that I wasn't telling it to, but now I'm starting to see the bigger picture.

I'll be back on here soon with a new post for the other things but for now I'm a bit busy with loads of work to do.

Many thanks,

Steve.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 01-10-2007, 06:42 AM
ObrienDave's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 280
ObrienDave is on a distinguished road

Steve,
No problem on the help.
I have found that there are a lot of very good people on this forum.
Most of us are happy to help simply because we have been through similar problems in the past.
I do it because I do not want to see anyone going through what I had to, to learn learn what I know.
Thanks for the chance to help.
__________________
ObrienDave. MasterCam since V6. Gcode since 1983.
Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow.
Tweet this Post!Share on Facebook
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





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