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! > Machine Controllers Software and Solutions > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-26-2007, 06:35 PM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road
0-M programing help please

Hi I am a new member and I could use some programming advise. I have a new cnc milling center, (Shizouka Millmaster B-3V) and i am a little unframiliar with the currrent programing, so i am trying to modify what is currently in the machine from the previous owner. (I am most accustum to programming Haas, and Maho)

The commands I am not framiliar with is the H1 and the M3 ( i am shure the H's are for tool length comp? I will be manually imputing my tool lengths into the nc.)

Here is a program that was already in the cnc (sorry about the lack of spaces)

\H1&HE:% (IS THIS "\H1&HE" NESSASARY, I KNOW THE % IS)
:1011
(LUG BODY)
(DRILLING)

G28 G91 X0 Y0 Z0
M0

(CNTR DRILL) (THE N1, N2, N3, FOR MULTI. CYCLES??)
N1 G90 G80 G49 G40
G92 X4.319 Y9.674 Z0
G0 X0 Y0
G0 X1.508 Y3.64
G43 Z1.5 H1 M3 S1000 (ITS THIS LINE THAT I DO NOT UNDRSTAND)
G98 G82 Z-0.3 R0.1 F3.5 M8
X-1.508 Y3.64
X-3.64 Y-1.508
X-1.508 Y-3.64
X1.508 Y-3.64
X3.64 Y-1.508
X3.64 Y1.508
G80 M9
G28 G49 Z0 M5
G0 X-6.0 Y9.5
M1

(21/32 DRILL)
N2M6T18
G0X1.508Y3.64
G43Z1.5H2M3S450
G98G73Z-1.35R0.2Q0.1F2.3M8
X-1.508Y3.64
X-3.64Y1.508
X-3.64Y-1.508
X-1.508Y-3.64
X1.508Y-3.64
X3.64Y-1.508
X3.64Y1.508
G80M9
G28G49Z0M5
G0X-6.0Y9.5
M1

(COUNTER-SINK)
N3M6T17
G0X1.508Y3.64
G43Z1.5H3M3S250
G98G82Z-0.425R-0.2F2.4M8
X-1.508Y3.64
X-3.64Y1.508
X-3.64Y-1.508
X-1.508Y-3.64
X1.508Y-3.64
X3.64Y-1.508
X3.64Y1.508
G80M9
G28G49Z0M5
G0X-6.0Y9.5
M6T7
M0

(3/4-10UNC TAP)
N4
G0X1.508Y3.64
G43Z1.5H4
M29S100
G98G84Z-1.13R0.5F10.0
X-1.508Y3.64
X-3.64Y1.508
X-3.64Y-1.508
X-1.508Y-3.64
X1.508Y-3.64
X3.64Y-1.508
X3.64Y1.508
G80G28G49Z0M5
G0X-6.0Y9.5
M6T1
G91G28X0Y0Z0
M0
M99P1
%

ThanxsFor looking this over...been out of programing lil while, am a bit rusty!
Reply With Quote

  #2   Ban this user!
Old 11-26-2007, 08:50 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road

G43 Z1.5 H1 M3 S1000 (ITS THIS LINE THAT I DO NOT UNDRSTAND)
G43=Tool length compensation positive
Z1.5= Stops 1.5 over the work piece
H1= Retrieving the tool length from tool offset # 1
M3=Spindle rotation CW
S1000=Spindle speed 1000 RPM
__________________
Stefan Vendin
Reply With Quote

  #3   Ban this user!
Old 11-26-2007, 10:50 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

\H1&HE: aren't necessary. I believe they're control codes that didn't get stripped out when the program was sent. You need the % signs, though.
Reply With Quote

  #4   Ban this user!
Old 11-27-2007, 12:05 AM
 
Join Date: May 2006
Location: united states
Posts: 34
cutsall is on a distinguished road

H offsets are also used for applying offset value for radius of tool when applying cutter compensation.


N1 (3/4 END MILL)
G90 G80 G49 G40
T1 M6
G92 X4.319 Y9.674 Z0
G0 X0 Y0
G0 X1.500 Y3.750
G43 Z1.5 H1 M3 S1000
G0 Z-0.250
G01 G41 H21 X1.000 Y3.25 F15.0 (H21 Value Is Radius Of Tool)
Y-3.25
G40 X1.5 Y-3.75
G0 Z1.5
G28G49Z0M5
G0X-6.0Y9.5
M1
__________________
If it is true a person learns from their mistakes then I must be the smartest man alive.
Reply With Quote

  #5   Ban this user!
Old 11-27-2007, 09:38 AM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road

Thanx that pretty much anwsers all my quetions, M3...M03 *smacks forhead* DOH! That one i naly set my tooling
do knonw! Now i can finally set my tooling
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-27-2007, 02:11 PM
 
Join Date: Oct 2007
Location: uk
Posts: 23
solid sender is on a distinguished road

Hi venomgrrrl
I have experience of Fanuc OMD for VMCs. I have never used H# in conjunction with G41, I have always used D# for cutter radius compensation. You can also use M13 for spindle CW coolant on instead of M3 and then M8. Unlike Maho, which uses G98 & G99 for the graphics display, G98 and G99 are used to call up the 'initial plane' and 'rapid plane' on your drilling cycle. Hope this helps.
Reply With Quote

  #7   Ban this user!
Old 12-01-2007, 04:17 AM
 
Join Date: Oct 2007
Location: uk
Posts: 23
solid sender is on a distinguished road

Personally I would also put any repetative hole positions (as in your lug body) in a sub routine so that any alterations need only be made once thus reducing the posibilty of mistakes.
Reply With Quote

  #8   Ban this user!
Old 12-01-2007, 08:48 AM
 
Join Date: Feb 2007
Location: Australia
Posts: 108
VWSatOz is on a distinguished road

I use H1 from the offset list for the tool length of T1, H2 for T2 etc... this avoids any confusion
Reply With Quote

  #9   Ban this user!
Old 12-02-2007, 05:42 AM
 
Join Date: Mar 2006
Location: Australia
Posts: 163
Ozemale6t9 is on a distinguished road

The N1, N2, N3 are simply line numbers so you can easily restart the program from somewhere other than the beginning (eg. after a tool breakage). Eg, with the program reset, type N2 and press the down cursor key, and the program will go to N2. Only problem is, the N4 really needs to have the M6T7 after it, or you have to change to that tool before you start from N4.
Reply With Quote

  #10   Ban this user!
Old 12-03-2007, 01:22 PM
venomgrrrl's Avatar  
Join Date: Nov 2007
Location: canada
Age: 30
Posts: 50
venomgrrrl is on a distinguished road
Unhappy

I have not seen any D's (dia) in any of the m/c's previous programming and have no idea how to use it.

I can sucessfuly drill holes, but now I am trying to mill a 2" hole (w. 3/4" mill) and have no idea how to pull it off.

Being quite paranoid about the G92 after every block of programming (N1, N2, ect) i am bringing the m/c home, then to safe point.

Any examples on how to do a G02 line of programming would be gratefully appricated, as I mentioned, I do not know how to proporly use the "D" command,
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-03-2007, 03:10 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road

G40 G80 G49 G17
T6 M6
G0 G90 G54 X0 Y0 S1000 M3
G43 Z1.0 H6
G1 G41 D6 F100
X0 Y10.0
Z-0.1
G2 X0 Y10.0 I0 J-10.0
G0 G40 Z10
X0Y0

This makes a 20mm circle
G41 is radius compensation left. Tool motion is on the left side of the part.
D is the tool radius. Tool dia is 6mm. 6mm/2=3. D is 3mm.
When you use a D value you can easily compensate for tool wear.
__________________
Stefan Vendin
Reply With Quote

  #12   Ban this user!
Old 12-04-2007, 12:28 AM
 
Join Date: Feb 2007
Location: Australia
Posts: 108
VWSatOz is on a distinguished road

wont this prog with G41 cut over size? as it is GO2 for clockwise when milling around the OUTside of a circle? Should be G42?
I would use G03 to climb mill a hole so it cant come out oversize from cutter deflection.
& won't you be left with a little high spot near the end if you start with the straight move? Some programs use a 45 deg G1 move from centre to a smaller radius, which then enters into the full circular path, but this is a bit more complex for manual programming.
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
CNC programing Fryzss General CNC (Mill and Lathe) Control Software (NC) 8 10-27-2007 10:33 AM
Programing help with fanuc 10T adaptaflex Fanuc 3 02-16-2007 08:11 AM
Programing AUX buttons George C AjaxCNC Control Products 3 02-10-2007 01:33 PM
CAM programing kenlambert G-Code Programing 1 02-03-2006 12:03 AM
Lathe programing help smitty TurboCNC 24 06-23-2003 10:39 AM




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