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 04-20-2011, 10:53 AM
 
Join Date: Jul 2005
Location: Thailand
Posts: 160
Andy Fritz is on a distinguished road
MCX3 editing post for Yasnac 2000B Lathe

This is the first time I am attempting to edit a post processor so I would really appreciate some help=)

The lathe is a Mori seiki SL3B with Yasnac 2000B and it uses extremely limited code. Here are the main areas where it differs from generic Fanuc lathe G code;

1. No program numbers or other header info.

2. G50 plus each tools Z and Z WCS instead of a G54's.

3. X plus direction is negative i.e G1 X-5000 will produce a 50 mm diameter part.

4. No comma or dots are used and only two decimals are allowed in metric system or three in english system. The only exception is an extra allowed decimal for E in precision thread lead.

5. Extremely limited number of G and M codes. Is there a way to "block off" codes which the control can't use?

6. In G76 canned threading there is no "A" for thread angle or "P" for changing infeed method.

7. There is no G28 or similar to return to home. Instead the tools WCS is typed in a G00 move.

8. Normal spindle rotation needs an M4 and reverse needs an M3.

I am sure there is more, but if I could get the above sorted I could at least generate code from MC which would be faster to edit.

Here is an example of a hand written program containing a few lines, arcs and an M40x2 canned thread cycle to illustrate.

N001 G50 X-12006 Z15010 (THE WCS FOR TOOL 3 IS 120.06 MM DIAM. IN X AND 150.10 MM IN Z)
N002 G00 T303 M42 (THE TOOL OFFSET IS ONLY USED FOR TIP WEAR COMP.)
N003 G96 S120 M04 (THIS IS NORMAL SPINDLE ROTATION)
N004 G00 X-1500 Z500
N005 G01 Z0 F50
N006 X-2400 F15
N007 G02 X-4000 Z-800 K-800 (COUNTERCLOCKWISE ARC)
N008 G01 X-1800
N009 G03 X-6000 Z-2800 I-1000 (CLOCKWISE ARC)
N010 G01 X-7000
N011 G02 X-8000 Z-3300 K-500 (COUNTERCLOCKWISE ARC)
N012 G04 U200 (2 SECOND DWELL)
N013 G00 U-500 (PULLS 5 MM DIAM. AWAY FROM WORK PIECE)
N014 G00 X-12006 Z15010 T0300 (THIS CANCELS WEAR OFFSET AND RETURNS TO HOME)
N015 G50 X-12543 Z15898 (THE WCS FOR TOOL 4 IS 125.43 MM DIAM. IN X AND 158.98 MM IN Z)
N016 G00 T404 M41
N017 G97 S450 M04
N018 G00 X-5000 Z500 M23 (CHAMFER ON)
N019 G76 X-3754 Z-1500 I0 K123 D38 F200 (IF E IS USED FOR PRECISION LEAD THREE DECIMALS IS ALLOWED)
N020 G00 X-12543 Z15898 T0400 M24 (RETURN AND CANCEL WEAR OFFSET AND CHAMFER)
N021 M05
N022 M02

I am sure fixing all this is difficult, but if I could only figure out how to ad the minus to X and get the arcs correct it would mean I could use master cam for nose raduis compensation and get all the main moves done. The rest is eaiser to edit by hand.

Any help or ideas would be fantastic!

Andy

Last edited by Andy Fritz; 04-20-2011 at 11:01 AM. Reason: Typos
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
Yasnac 2000b Parameters Mori Seiki thespindoc Mori lathes 5 11-20-2011 07:00 AM
Problem- Heidenhain 2000B Bridgeport 760 chpbrkr Bridgeport and Hardinge Mills 1 09-29-2010 02:52 PM
I have a working Bobcad post, but can't seem to figure out how to port it to MCX3 parkerbender Post Processors for MC 4 08-09-2010 08:11 AM
MORI SL-3A YASNAC 2000B CONTROL JY`S MACHINE Mori lathes 5 05-04-2010 10:09 AM
Need Help!- Yasnac Lathe with VFD threading maquiza Phase Converters and VFD 5 06-04-2008 08:28 AM




All times are GMT -5. The time now is 05: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 354 355 356 357 358 359 360 361