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


Surfcam Discuss Surfcam software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-09-2011, 01:21 PM
 
Join Date: Jan 2011
Location: USA
Posts: 9
Fest911 is on a distinguished road
Can I get a G96? Lathe with Fanuc 0T

Hello all, I have an issue that's been bugging me with my postform.l, and I would be grateful for any help. I spend more time in the mill package and only use the lathe about 15% of the time, so maybe there's something really simple I am overlooking? I post to a Fanuc 0T (on a Clausing Storm CNC200A lathe), and I can't get G96 output for CSS.

G[FeedType] outputs the correct G98 or G99
G[SpeedType] always outputs G97. I've tried everything I can think of, and I can't get a G96.

Here are sections of my postform.l:
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
SpeedType G 96 97 # CSS and RPM g codes
FeedType G 99 98 # IPR & IPM g codes
Dcomp 41 42 40 # Left, Right & Cancel m codes

---------------

StartCode
%0
O[Program#]
G20 G40 G00 M05
G28 U0.0 W0.0
G50 S[MaxRPM] M09
End

1stToolChange
G28 U0.0 W0.0
T[Tool] t[Lcomp]
G[FeedType] G[SpeedType] S[Speed] M[Direct]
G00 X[V] Z[H]
Reply With Quote

  #2   Ban this user!
Old 08-09-2011, 01:41 PM
 
Join Date: Dec 2010
Location: USA
Age: 48
Posts: 151
ToyMaker94566 is on a distinguished road

Ya know, I noticed that about my post too but didn't really care since I too use the lathe post so little. But I figured out if you use inches per minute instead of inches per rev when programming, you get the G96. Some where in the post the codes are reversed....
Reply With Quote

  #3  
Old 08-09-2011, 01:50 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

You also need an encoder on the spindle shaft, as well as the option par..
I have sent you a PM.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 08-09-2011, 01:51 PM
 
Join Date: Jan 2011
Location: USA
Posts: 9
Fest911 is on a distinguished road

Originally Posted by ToyMaker94566 View Post
Ya know, I noticed that about my post too but didn't really care since I too use the lathe post so little. But I figured out if you use inches per minute instead of inches per rev when programming, you get the G96. Some where in the post the codes are reversed....
Thanks for the reply.
I did think of that, and I tried two things that didn't solve the issue:
1: I tried two identical operations, one with IPM and one with IPR.
2: I tried swapping the SpeedType G 96 97 to SpeedType G 97 96, and it still outputs G97.
Reply With Quote

  #5   Ban this user!
Old 08-09-2011, 02:26 PM
 
Join Date: Dec 2010
Location: USA
Age: 48
Posts: 151
ToyMaker94566 is on a distinguished road

Edit: I just tried posting to a Fanuc using both the "RPM" and "CSS" and I get G96 and G97 respectively. They are reversed but I do get both. Inches per rev or per minute made no dif.

Last edited by ToyMaker94566; 08-09-2011 at 02:51 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-09-2011, 03:00 PM
 
Join Date: Dec 2010
Location: USA
Age: 48
Posts: 151
ToyMaker94566 is on a distinguished road

Ok, now that you made me look, I tweaked my post and now get G96 with "CSS" and G97 with "RPM".... I swapped the text in "SpeedType G 96 97" to "SpeedType G 97 96"

Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
SpeedType G 97 96 # CSS and RPM g codes
FeedType G 99 98 # IPR & IPM g codes
Dcomp 41 42 40 # Left, Right & Cancel m codes


Thanks for bringing it up.
Reply With Quote

  #7   Ban this user!
Old 08-09-2011, 05:13 PM
 
Join Date: Jan 2011
Location: USA
Posts: 9
Fest911 is on a distinguished road

Originally Posted by ToyMaker94566 View Post
Ok, now that you made me look, I tweaked my post and now get G96 with "CSS" and G97 with "RPM".... I swapped the text in "SpeedType G 96 97" to "SpeedType G 97 96"

Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
SpeedType G 97 96 # CSS and RPM g codes
FeedType G 99 98 # IPR & IPM g codes
Dcomp 41 42 40 # Left, Right & Cancel m codes


Thanks for bringing it up.
ToyMaker, I'm glad it fixed your post
When I swap those definitions in my post, it seems to only use the first digit such that:
SpeedType G 97 96, outputs G97 for both CSS and RPM.
SpeedType G 96 97, outputs G96 for both CSS and RPM.

Any chance you'd be willing to share a copy of your post, and maybe a SURFCAM file that works correctly on your setup? This might go a long way toward troubleshooting my lack of G96.
Reply With Quote

  #8   Ban this user!
Old 08-09-2011, 05:25 PM
 
Join Date: Dec 2010
Location: USA
Age: 48
Posts: 151
ToyMaker94566 is on a distinguished road

Originally Posted by Fest911 View Post
ToyMaker, I'm glad it fixed your post
When I swap those definitions in my post, it seems to only use the first digit such that:
SpeedType G 97 96, outputs G97 for both CSS and RPM.
SpeedType G 96 97, outputs G96 for both CSS and RPM.

Any chance you'd be willing to share a copy of your post, and maybe a SURFCAM file that works correctly on your setup? This might go a long way toward troubleshooting my lack of G96.
I was posting in Win7-64 -Surfcam V5.1 using the standard "Lathe -Fanuc" post, nuttin special. What version are you using?
Reply With Quote

  #9   Ban this user!
Old 08-09-2011, 05:40 PM
 
Join Date: Jan 2011
Location: USA
Posts: 9
Fest911 is on a distinguished road

Originally Posted by Al_The_Man View Post
You also need an encoder on the spindle shaft, as well as the option par..
I have sent you a PM.
Al.
Just to verify: my lathe does have CSS capability and it works just fine when I hand write the code.

I am pretty sure my issue is with SURFCAM, and its post processor (see my response to ToyMaker below regarding swapping G96 and G97 in my postform.l)
Reply With Quote

  #10   Ban this user!
Old 08-09-2011, 05:50 PM
 
Join Date: Jan 2011
Location: USA
Posts: 9
Fest911 is on a distinguished road

Originally Posted by ToyMaker94566 View Post
I was posting in Win7-64 -Surfcam V5.1 using the standard "Lathe -Fanuc" post, nuttin special. What version are you using?
Right now I'm on Velocity 3.0 Build 357, BUT I am in the process of bringing maintenance current so I can use V5.2 in my new Win7 x64 (A Dell M6600 that actually just got delivered today!). So, maybe within the next couple of weeks my issues will just go away when the new hardware is running the updated software?

On the other hand, what I have right now should work... I wish I could just let it go
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-09-2011, 06:02 PM
 
Join Date: Dec 2010
Location: USA
Age: 48
Posts: 151
ToyMaker94566 is on a distinguished road

I understand but here's a heads up. If you're off maintenance with velocity and go back on, you lose Velocity. The new version of Surfcam does not include Velocity, it is now a $1600 option....

I don't know why you're having post issues but I skipped Velocity 3 when I got back on maintenance.
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!- Fanuc 21i Lathe Post lkenney Surfcam 1 05-14-2011 02:22 PM
looking for New Fanuc lathe ALEXCOMO Fanuc 4 11-17-2010 09:18 AM
I Need GENERIC FANUC 2X LATHE.LMD file for lathe? manish2912 Post Processor Files 1 01-16-2010 04:08 PM
New to Fanuc Lathe Need Help pcast Fanuc 4 03-18-2009 11:56 AM
G71, G72, G76 on Fanuc 30 lathe radlice Fanuc 3 09-16-2007 11:55 AM




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