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 > Post Processors for MC



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-05-2007, 10:54 AM
 
Join Date: Nov 2004
Location: UK
Posts: 23
Davidimurray is on a distinguished road
Changing Z moves

Hi Guys

I'm working with the attached post and I need to make a mod for a new machine we got. I've editied posts before but now sure how to go about this one.

I need to replace every Z move with an M00 (new machine is 2 axis)

Any ideas on how I do this would be much appreciated.

Cheers

Dave
Attached Files
File Type: txt _MACH3B.txt‎ (106.1 KB, 81 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 02-05-2007, 06:59 PM
 
Join Date: Nov 2004
Location: UK
Posts: 23
Davidimurray is on a distinguished road

Hi

Spent a few hours working on this. Found a more appropiate simple post to edit. See attached file

Now the type of output this is giving me is :-
%
N100G00G90
N110G20
N120T214
N130G00X-15.Y.3415
N140Z50.
N150Z10.
N160G01Z0.F1.79
N170X-10.
N180G02X-5.Y-4.658I0.J-5.
N190G01Y-12.4
N200G02X-7.827Y-19.568I-10.5J0.
N210G03X-8.5Y-21.274I1.827J-1.706
N220G01Y-32.
N230Y-80.
N240G03X-6.Y-82.5I2.5J0.
N250G01X6.
N260G03X8.5Y-80.I0.J2.5
N270G01Y-32.
N280Y-21.274
N290G03X7.827Y-19.568I-2.5J0.
N300G02X5.Y-12.4I7.673J7.168
N310G01Y-4.6585
N320G02X10.Y.342I5.J0.
N330G01X15.Y.3415
N340Z10.
N350G00Z50.
N360M02
%

and what I am looking for is :-
%
N100G00G90
N110G20
N120T214
N130G00X-15.Y.3415
N140 M00 (Z50.)
N150 M00 (Z10.)
N160M00 (G01Z0.F1.79)
N170X-10.
N180G02X-5.Y-4.658I0.J-5.
N190G01Y-12.4
N200G02X-7.827Y-19.568I-10.5J0.
N210G03X-8.5Y-21.274I1.827J-1.706
N220G01Y-32.
N230Y-80.
N240G03X-6.Y-82.5I2.5J0.
N250G01X6.
N260G03X8.5Y-80.I0.J2.5
N270G01Y-32.
N280Y-21.274
N290G03X7.827Y-19.568I-2.5J0.
N300G02X5.Y-12.4I7.673J7.168
N310G01Y-4.6585
N320G02X10.Y.342I5.J0.
N330G01X15.Y.3415
N340Z10.
N350M00(G00Z50.)
N360M02
%

Any help on this would be much appreciated.

Cheers

Dave
Attached Files
File Type: txt MPROTMX3.txt‎ (30.9 KB, 68 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 02-06-2007, 10:50 AM
 
Join Date: Nov 2004
Location: UK
Posts: 23
Davidimurray is on a distinguished road

Hello

I'm guessing I need to edit these lines -

prapid$ # Linear line movement - at rapid feedrate
pcan
pcan1, n$, sgcode, pccdia, x$, y$, z$, strcantext, e$
pcan2
sof = 1

pzrapid$ # Linear line movement - at rapid feedrate
pcan
pcan1, n$, sgcode, x$, y$, z$, strcantext, e$
pcan2


plin$ # Linear line movement - at feedrate
sof = 1
pcan
pcan1, n$, sgcode, pccdia, x$, y$, z$, pfr, strcantext, e$
pcan2

pz1$ # First linear movement after SOF
pz$

pz$ # Linear line movement - at feedrate
n$, sgcode, pccdia, x$, y$, z$, pfr,e$

pcirout #Circular interpolation
pcan
pcan1, n$, sgcode, pccdia, x$, y$, z$, i$, j$, pfr, strcantext, e$
pcan2

However if I replace z$ with "M00" then I end up with M00 on every single line. I need a way to code -
If z$ is not empty then set z$ to "M00"

How would I go about this ?

Cheers
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 02-08-2007, 02:20 PM
 
Join Date: Dec 2006
Location: USA
Posts: 21
svx-ff is on a distinguished road

Hey Dave

I am no code master but try this.
I added some preset to the begining of the post process.

It may work.

Steve
Attached Files
File Type: txt MPROTMX3[1].txt‎ (31.0 KB, 56 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 02-09-2007, 05:23 AM
 
Join Date: Nov 2004
Location: UK
Posts: 23
Davidimurray is on a distinguished road

Hi

Thanks for having a look.

Unfortunately it doesn't seem to have made any difference.

Cheers

Dave
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-10-2007, 02:59 PM
ObrienDave's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 280
ObrienDave is on a distinguished road

By no means complete, How's this for a start.
Attached Files
File Type: txt MPROTMX3.TXT‎ (30.6 KB, 67 views)
__________________
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

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
Routing image moves lockeyone WoodWorking 8 11-22-2006 02:18 PM
Rapid moves G00 dicksonhof Mach Software (ArtSoft software) 9 11-07-2006 10:21 AM
Z position moves up during run henryj1951 Gecko Drives 3 03-27-2006 06:16 PM
motor moves one direction: what am I missing? boyvox Stepper Motors and Drives 12 10-10-2005 07:43 PM
Motor only moves one direction spoiledbrat Mach Software (ArtSoft software) 3 06-12-2005 02:02 PM




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