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 11-19-2009, 11:21 AM
Get lucky's Avatar  
Join Date: Jul 2008
Location: us
Posts: 109
Get lucky is on a distinguished road
Learning

Little backgound

I have worked For this company for two years now. this is a fab company and they wanted to start a machine shop so they hired a guy to start it. He did an ok job of getting it up and going but never got the dnc going and never really made any money for the company.

So now for my part. As as I had said I have worked for this company for two years. When they hired me, my job was to get the shop making money. So i got the DNC hooked up and working and a way to save programs so they were not entering every program at the machine. Now the shop is making money and every one was happy. The owner has just found out that I had not be using surfcam and reamed my boss a new one. So here we go must learn a new cam system surfcam. I have went through the help section and I have played with the post with success of a few Programs that worked fine.

My only real question right now is when I tap in a fanuc It requires a M29Swhatever before the G84 so in the post I put the m29 before the g84 and it didn't work all my other edits to the post worked but not that one If anybody could tell me why that would be great.

Well done with my babling and back to work. I'm sure I will have more question to come thanks in advance to all help.


Thank you
Get Lucky
__________________
You must remember that 99% of my posts are Bullchit!
Reply With Quote

  #2   Ban this user!
Old 11-19-2009, 12:25 PM
 
Join Date: Jul 2007
Location: USA
Posts: 134
Excelmachine is on a distinguished road

I'm not sure what Fanuc you are using but I am running a mill with a 21-M controller. The machine is set up with rigid tap. If this is what you are trying to get to work, then this is part of the code that I use on my postform.m file:

Tap # Tapping canned/manual cycle
if [Rigid] > 0
M29 S[SPEED]
G84 G[RetPlane] X[H] Y[V] Z[D] R[VClear] F[FRate]
else
G84 G[RetPlane] X[H] Y[V] Z[D] R[Vclear] F[FRate]
Endif
end cancel

and then under the "StartCode" section, I modified it to this:

1stToolChange # First tool change
G0 G30 Z0
M1
T[Tool]
M6
if [Rigid] > 0
S[Speed]
G00 G90 G[WORK] X[H] Y[V] T[NextTool]
G43 Z[D] H[Lcomp] M[Cool]
else
S[Speed] M[Direct]
G00 G90 G[Work] X[H] Y[V] T[NEXTTOOL]
G43 Z[D] H[Lcomp] M[Cool]
Endif
End

This machine is set up with the tool staging so you may have to remove the T[NextTool] to make it work on yours. I hope this helps.
Reply With Quote

  #3   Ban this user!
Old 11-20-2009, 12:30 PM
Get lucky's Avatar  
Join Date: Jul 2008
Location: us
Posts: 109
Get lucky is on a distinguished road

This is what i have for a post I'm not sure were I should put the code you posted.

Machine is fanuc OI-MC



% 00
/ 00
O 4
N >4
g 2 G
G 2
X ->3.>4
Y ->3.>4
y ->3.>4 Y
z ->3.>4 Z
Z ->3.>4
A ->3.>4
I ->3.>4
J ->3.>4
K ->3.>4
Q ->3.>4
R ->3.>4
P >40
F >3.1
H >2
D >2
T >2
S >4
M >2
m >2 M

ModalLetters X Y Z F R # List of letters that are modal

ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 # List of g codes that are modal

Sequence#s N 0 1 1 # Char, freq, incr & start
First#? N # Y or N 'Output 1st sequence no.
Last#? N # Y or N 'Output last sequence no.

HCode X # X or X U 'Horizontal char.
VCode Y # Y or Y V 'Vertical char.
Dcode Z # Depth char.
FeedCode F # Feed rate char.

Comment ( ) # Begin End comment char.

Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
DComp 41 42 40 # Left, Right & Cancel m codes
LComp 43 49 # On & Off codes

Feed G1 # Linear move
Rapid G0 # Rapid positioning word
Cw G2 # Circular move clockwise
Ccw G3 # Circular move counter clockwise

Inc/Abs G 91 90 # Inc & Abs char. & values

CtrCode I J # I J or R or I J K L

Spaces? Y # Y or N 'Spaces between words

Helical? Y

Incremental? N # Y or N 'Inc or abs output
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? N # Y or N 'Break arcs at quadrants

UppercaseComments? Y # Y or N 'Require uppercase comments

Drill # Drilling canned/manual cycle
G81 Z[D] R[Vclear] F[FRate]
end cancel

Peck # Pecking canned/manual cycle
G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
end cancel

Tap # Tapping canned/manual cycle
G84 X[H] Y[V] Z[D] R[Vclear] F[FRate] Q[VBite]
end cancel

LTap # Left handed tapping cycle
G74 X[H] Y[V] Z[D] R[Vclear] F[FRate] Q[VBite]
end cancel

Ream # Reaming canned/manual cycle
G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
end cancel

Bore # Boring canned/manual cycle
G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
end cancel

Back # Back boring canned/manual cycle
G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
end cancel

Cancel # Cancel a canned/manual cycle
G80
end

StartCode # Start of the program
%0
O[Program#]
End

1stToolChange # First tool change
g00 g90 g40
g91 g28 z0
g91 g28
N100 M00
T[Tool] M6
G0 G90 G[work] X[H] Y[V] S[Speed] M[Direct]
G43 Z[D] H[Lcomp] M[Cool] T[NextTool]
End

Infeed # Enable cutter comp
G[Side] D[DComp] X[H] Y[V] F[FRate]
end

Outfeed # Disable cutter comp
G1 G40 X[H] Y[V]
end

ToolChange # Secondary tool changes
g28 g91 z1. M9
T[Tool] M6
N[Block] M01
T[Tool] m6
G0 G90 G[Work] X[H] Y[V] S[Speed] M[Direct]
G43 Z[D] H[Lcomp] M[Cool] T[NextTool]
End

EndCode # End of the program
g0 g28 z1. m9
g28 g91 y0
T[NextTool] m6
m12
M99 P100
%0
End
__________________
You must remember that 99% of my posts are Bullchit!
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
Learning CNC clayman General Metalwork Discussion 8 02-23-2012 02:21 PM
Learning Newbie Needs Help Please cybernut39 Controller & Computer Solutions 2 10-24-2009 01:37 PM
Need help learning MBG G-Code Programing 13 04-18-2008 11:24 PM
Learning...Need help with PSU h3ndrix General Electronics Discussion 0 02-24-2007 04:38 PM
learning massbaster General Metal Working Machines 3 05-04-2005 03:25 PM




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