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! > MetalWorking Machines > Fadal


Fadal Discuss Fadal machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 06-11-2008, 03:04 AM
 
Join Date: Feb 2007
Location: USA
Posts: 7
sbarziza is on a distinguished road
Inserting G41 command in a subroutine

Hello:
I am having a small problem with a post file on my Fadal machine.
I have a VMC 15XT with the 88HS control. I have my machine setup to run 8 parts, and so I have created a subroutine for all my tools ops.
I call them up when I do a tool change.
Like this:
T1 M6
S2500. M3
Z.1 H1 M8
Go X 1.234 Y-1.2 E1
L101
And so on and so forth.
My problem is that when I need to make a small adjustment to my tool diameter, the program or controller will not make the required cutter comp, for my diameter offset. I put in a -.005 diameter offset on the offsets page.
And in the sub-routine I put a G41 on the 1st line where the X motion occurs, and at the end of the sub-routine I put in a G40 to cancel cutter comp. I am at a loss for what is wrong. What should I look for or change in order to get this to work.
Also I use Solidworks and Camworks to create my tool paths.
Camworks will not create multiple fixture offsets, I must do that editing by hand in Preditor.
Any help would be gretaly appreciated.

Thanks

Sam
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 06-11-2008, 03:49 AM
 
Join Date: Feb 2007
Location: USA
Posts: 7
sbarziza is on a distinguished road

Hello:
This is Sam again, I forgot to add to my previous post that I am cutter a circular pocket.
I can post the text file that I am having trouble with, if that would help.

Thanks

Sam
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 06-11-2008, 10:14 AM
 
Join Date: Oct 2003
Location: usa
Posts: 93
timf is on a distinguished road

are you also putting the D or H on the same line?

machine needs to know what comp to use.

post the text if that is not the problem.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 06-11-2008, 06:04 PM
 
Join Date: Feb 2007
Location: USA
Posts: 7
sbarziza is on a distinguished road

Hello Tim:
Here is a sample of my code. I only copied the portion that I am having trouble with.
This is the start of my subroutine. Notice how Camworks posted a G3 and G1 on just about every line. So to add a G41, where would you put that. No I don't use 'D' words.
But I do use the 'H' word for tool length offset.

N106 L700
N107 (.372 4 FLUTE HSS EM)
N108 G90 G00 X1.7128 Y-1.5
N109 G01 Z-.15 F1.35
N110 G03 I-.0253 J0 F30.
N111 G01 X1.8628
N112 G03 I-.1753 J0
N113 G01 X2.0128
N114 G03 I-.3253 J0
N115 G01 X2.1628
N116 G03 I-.4753 J0
N117 G01 X2.3128
N118 G03 I-.6253 J0
N119 G00 Z.1
N120 X1.7128
N121 Z-.05
N122 G01 Z-.35 F1.35
N123 G03 I-.0253 J0 F30.
N124 G01 X1.8628
N125 G03 I-.1753 J0
N126 G01 X2.0128
N127 G03 I-.3253 J0
N128 G01 X2.1628
N129 G03 I-.4753 J0
N130 G01 X2.3128
N131 G03 I-.6253 J0
N132 G00 Z.1
N133 M17

This is the tool called up and the subroutine invoked by the L701 lines for each E number
N286 T8 M6
N287 S5500. M3
N288 Z.1 H8 M7
N289 G90 G00 X1.7128 Y-1.5 E1
N290 L701
N291 G90 G00 X1.7128 Y-1.5 E2
N292 L701
N293 G90 G00 X1.7128 Y-1.5 E3
N294 L701
N295 G90 G00 X1.7128 Y-1.5 E4
N296 L701
N297 G90 G00 X1.7128 Y-1.5 E5
N298 L701
N299 G90 G00 X1.7128 Y-1.5 E6
N300 L701
N301 G90 G00 X1.7128 Y-1.5 E7
N302 L701
N303 G90 G00 X1.7128 Y-1.5 E8
N304 L701
N305 M9
N306 G0H0 Z0
N307 G90
N308 M1

I ncluded this block of code to show how my thread milling works. The G41 is used and I can use tool diameter offsets on my offsets page in the Fadal controller.
N134 L800
N135 (8mm x .75mm)
N136 G90 G00 X1.6875 Y-1.5
N137 G01 Z-.3337 F13.
N138 G41 X2.0434 Y-1.8559
N139 G03 X2.3994 Y-1.5 Z-.33 I0 J.3559
N140 Z-.3005 I-.7119 J0
N141 X2.0434 Y-1.1441 Z-.2968 I-.3559 J0
N142 G00 X1.6875 Y-1.5
N143 Z.1
N144 G40 X1.6875 Y-1.5
N145 M17
N146 M30

Well any help or ideas would be greatly appreciated.

Thanks

Sam
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 06-11-2008, 06:29 PM
 
Join Date: Jan 2007
Location: USA
Posts: 1,249
Delw is on a distinguished road

g01 g41 xblah blah y blah blah d2 ( d word must be used for the diameter offset) same line ok

and h word is for height offset.

dont forget to have a lead in before you start to cut and a lead out on then cancel your offset.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-11-2008, 06:45 PM
 
Join Date: Feb 2007
Location: USA
Posts: 7
sbarziza is on a distinguished road

So for the 'D' word or offset for that D2, I simply put in a value like -0.003"
and I am good ?
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 06-11-2008, 08:14 PM
 
Join Date: Jan 2007
Location: USA
Posts: 1,249
Delw is on a distinguished road

I always put in the dia. of the tool. then fine tune it when you measure your parts.
providing your program is exactly what your part size is.

if you programed your part and offsetted your tool ( in the program) .250 then you could use the .003+ or - but doing so you are more than likely to make mistakes and if you change endmills to a bigger one you will have a huge number in there that will make no sence.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 06-17-2008, 09:31 PM
 
Join Date: Mar 2005
Location: USA
Posts: 73
Cartesian-xyz is on a distinguished road

Cutter Comp must be entered in a G0 or a G1. Cutter Comp
can be entered and exited in the main program and past
to the sub program or entered and exited in the sub program.
The D value must be entered prior to the G41 or G42, But
does not have to be on the same line. Just to clear things
up the D is a register # and not an offset value.
(G41 D5) correct (G41 D.003) Incorrect.
Now if you have done all this correctly and in running the
program you adjust your offset in the Tool offset table
you dont see an imediate chage, here is why.

The Fadal control has a variable in the SETP page that
is look ahead buffer. As I remember the older machines
could be set to 256. If this is the case then the Fadal
control will read the program and buffer many lines ahead
and never UPDATE your diameter offset change UNTIL it
refills the buffer!
So if you have a short program with subs and you make
any offset changes XYZAB or HD it will not see them until
the buffers are refreshed, UNless you stop the program and
restart it. You can use the AU command and start mid program
with success. (USE caution on this as it will move to the
prior XYZ location prior to execution)

Hope this Helps
Stephen
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 06-19-2008, 05:48 PM
 
Join Date: Oct 2006
Location: USA
Posts: 134
donl517 is on a distinguished road

Originally Posted by sbarziza View Post
So for the 'D' word or offset for that D2, I simply put in a value like -0.003"
and I am good ?

No.

T1 = Tool 1
D1 = Tool Diameter 1
H1 = Tool Length 1

They are used to call the values stored in your tool offset page.
(i.e. D2 = Tool Diameter 2, D3 = Tool Diameter 3, etc...)

HTH,
Don
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 06-28-2008, 11:33 PM
 
Join Date: Feb 2005
Location: usa
Age: 49
Posts: 58
B_Bueno is on a distinguished road

My post does not put the G41 on a move that my machine is acustomed to see. After I post and go into edit[predator] I bang in a "D" value on the Z feed move and I'm in then . . .
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
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
Stop inserting M3 Big John T SheetCam 1 05-11-2008 04:35 PM
Inserting notes in mastercam 9.1 ZenOrbit Mastercam 3 01-12-2008 09:57 PM
Inserting Links besc Forum Questions or Problems 8 05-29-2007 07:15 AM
TCC v3 - keeps inserting G28 - why phil burman TurboCAD/CAM 1 06-26-2006 12:29 AM
Inserting an excell spreadsheet smoa1980 Mastercam 10 05-14-2006 12:11 AM




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