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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-25-2010, 01:57 PM
 
Join Date: Mar 2009
Location: USA
Posts: 100
Scanfab is on a distinguished road
Need 100's of dedicated work offsets

I need to tap into the vast knowledge base of the programming guru wizards here...

I produce with my FADALs over 50,000 steel parts on our 4th axis machine per year. 1st phase is in a 4th axis fixture I built to hold 64 parts(16 pcs at 12, 3, 6 , 9 o'clock). 2nd phase is done in 2 EMC's of ours that cut a dovetail on the bottom side with self-made dovetail tools(steel is mine, mitsu 60' inserts). I have programmed the 4th axis 4020 with G54 being the A0 position, G55 being the A90 and G56 being the A270 for a z height of 10 mm's above my vice. Then G57, G58, and G59 for 13mm family of parts and so on. All parts can be made without EVER changing my work offset table.

Trying to do the same with my EMC (2nd phase) setup. Fixture holds two rows of 12 parts across the table, 24 total. Spacing is 36mm's between parts on X-axis. I want to have a programming system where I can have "dedicated positioning" either within the work offset table or beginning of program that has both X and Y info but also Z info(I zero tools off of LED height block gage.) Problem using E1-E48 is I have more different parts and programs than I have E numbers(48 pcs.) I would rather not use G92 in beginning of program because we have to start mid program alot when testing programs. Right now I use G92 to do my 36mm spacing, any better ways(less prone to startup errors not taking G92 off)

Basically every program would need two work zeros, one for each row of 12-and a total of maybe 50 programs.

I know I can write a note in beginning of every program to tell user what G54 and G55 he should write in work offset page, but there has to be a better way!!!!

G10, G52, G92 what is the best way to get hundreds of dedicated work offsets with least amount of trouble, every program has about ten tools and each tool will have to start with first row of twelve parts then go to other row of 12. In other words, every program will have one X offset and two Y offsets.

P.S. Also a way to do slight "global shift in Z" in beginning of program to compensate for thermal growth ect. by a few 0.01mm's would be great!! Newbie users can modify this number to get correct part height without going into calculate off of bigger dedicated numbers.

Last edited by Scanfab; 03-25-2010 at 02:20 PM.
Reply With Quote

  #2  
Old 03-25-2010, 02:43 PM
Rekd's Avatar
Community Moderator
 
Join Date: Apr 2003
Location: teh Debug Window
Posts: 1,877
Rekd is on a distinguished road

With the Fadal you can save the program and/or the work offsets then reload them like a program. Not sure about the EMC, but it might be worth looking into. If your spacing is the same every time you might consider using a G92 work shift.

HTH
__________________
Matt
San Diego, Ca

___ o o o_
[l_,[_____],
l---L - □lllllll□-
( )_) ( )_)--)_)

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 03-25-2010, 03:10 PM
 
Join Date: Mar 2009
Location: USA
Posts: 100
Scanfab is on a distinguished road

All of the programs are kept in the EMC memory, no rs232 used while doing setup. Just choose new program and press cycle start is the idea.

Wondering if G52 can be used with multiple work offset zeros(x and y) or what would be the best way?
Reply With Quote

  #4   Ban this user!
Old 03-25-2010, 03:20 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

I have done things like this before, not sure if it can be duplicated in EMC.

Code:
O1000(MAIN PROGRAM)
.
.
.
G65P9000A1;
G0G90G54X0.000Y0.000
.
.
.
G65P9000A3;
G0G90G54X0.000Y0.000
.
.
M30


O9000(SET WORK OFFSET)
GOTO#1
N1
(G54 STATION)
#5221=-30.2706(X POS.)
#5222=-10.4260(Y POS.)
#5223=-20.0180(Z POS.)
GOTO9999
N2
(G54 STATION)
#5221=-30.2706(X POS.)
#5222=-10.4260(Y POS.)
#5223=-20.0180(Z POS.)
GOTO9999
N3
(G54 STATION)
#5221=-30.2706(X POS.)
#5222=-10.4260(Y POS.)
#5223=-20.0180(Z POS.)
GOTO9999
N...

N9999
M99
Reply With Quote

  #5   Ban this user!
Old 03-25-2010, 03:29 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

P.S. Also a way to do slight "global shift in Z" in beginning of program to compensate for thermal growth ect. by a few 0.01mm's would be great!! Newbie users can modify this number to get correct part height without going into calculate off of bigger dedicated numbers.
That could be done like this.

Code:
O1000(MAIN PROGRAM)
.
#501=0.005
#501=-0.001
#503=+0.0023
.
.
.
G65P9000A1;
G0G90G54X0.000Y0.000
.
.
.
G65P9000A3;
G0G90G54X0.000Y0.000
.
.
M30


O9000(SET WORK OFFSET)
GOTO#1
N1
(G54 STATION)
#5221=-30.2706+#501(X POS.)
#5222=-10.4260+#502(Y POS.)
#5223=-20.0180+#503(Z POS.)
GOTO9999
N2
(G54 STATION)
#5221=-30.2706+#501(X POS.)
#5222=-10.4260+#502(Y POS.)
#5223=-20.0180+#503(Z POS.)
GOTO9999
N3
(G54 STATION)
#5221=-30.2706+#501(X POS.)
#5222=-10.4260+#502(Y POS.)
#5223=-20.0180+#503(Z POS.)
GOTO9999
N...

N9999
M99
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-25-2010, 03:54 PM
 
Join Date: Mar 2009
Location: USA
Posts: 100
Scanfab is on a distinguished road

Originally Posted by Andre' B View Post
That could be done like this.

Code:
O1000(MAIN PROGRAM)
.
#501=0.005
#501=-0.001
#503=+0.0023
.
.
.
G65P9000A1;
G0G90G54X0.000Y0.000
.
.
.
G65P9000A3;
G0G90G54X0.000Y0.000
.
.
M30


O9000(SET WORK OFFSET)
GOTO#1
N1
(G54 STATION)
#5221=-30.2706+#501(X POS.)
#5222=-10.4260+#502(Y POS.)
#5223=-20.0180+#503(Z POS.)
GOTO9999
N2
(G54 STATION)
#5221=-30.2706+#501(X POS.)
#5222=-10.4260+#502(Y POS.)
#5223=-20.0180+#503(Z POS.)
GOTO9999
N3
(G54 STATION)
#5221=-30.2706+#501(X POS.)
#5222=-10.4260+#502(Y POS.)
#5223=-20.0180+#503(Z POS.)
GOTO9999
N...

N9999
M99
The "EMC" is the name of a fadal 2016 machine, has no other meaning btw..

I like and understand(I think) the idea here... But I don't think I have a parameter page to insert numbers in the fadal legacy control?

I could use the #501 to do my "global shifts" but where do I put the #5221 ect info?
Reply With Quote

  #7   Ban this user!
Old 03-25-2010, 04:21 PM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Originally Posted by Scanfab View Post
The "EMC" is the name of a fadal 2016 machine, has no other meaning btw..

I like and understand(I think) the idea here... But I don't think I have a parameter page to insert numbers in the fadal legacy control?

I could use the #501 to do my "global shifts" but where do I put the #5221 ect info?

I was thinking EMC2 http://www.linuxcnc.org/ the Linux based CNC control software.


The #5200 variables are just were the Fanuc control I was programming stored the G54,G55, etc. offsets. That info should be in the operators/programers manual.
http://books.google.com/books?id=YKv...iables&f=false

You can also use the G10 comand to load the offsets.
Reply With Quote

  #8   Ban this user!
Old 03-27-2010, 10:16 AM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 982
psychomill is on a distinguished road

Does Fadal have a "G10" command? If your sets up repeat and your "2nd" operation is only 24 parts, you can write in your offsets within the program so that when the program starts, it updates all the work offsets you need without having to have the operator make sure he punched them all in......
__________________
It's just a part..... cutter still goes round and round....
Reply With Quote

  #9  
Old 04-01-2010, 08:48 PM
Rekd's Avatar
Community Moderator
 
Join Date: Apr 2003
Location: teh Debug Window
Posts: 1,877
Rekd is on a distinguished road

Originally Posted by psychomill View Post
Does Fadal have a "G10" command? If your sets up repeat and your "2nd" operation is only 24 parts, you can write in your offsets within the program so that when the program starts, it updates all the work offsets you need without having to have the operator make sure he punched them all in......

I think it does, and works like a G92. Been a while though, so check the manual to be sure.
__________________
Matt
San Diego, Ca

___ o o o_
[l_,[_____],
l---L - □lllllll□-
( )_) ( )_)--)_)

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
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
Work Offsets Brad Morris Mechanical Calculations/Engineering Design 0 02-28-2010 04:59 PM
Using Work Offsets (G54-G59) Crashmaster Mastercam 3 02-22-2010 02:08 PM
Work Offsets RMT Mach Mill 14 12-14-2008 09:49 AM
work offsets 5axisdan Mazak, Mitsubishi, Mazatrol 0 07-04-2005 10:17 AM
Work Offsets new2cnc Mastercam 3 04-30-2005 10:04 AM




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