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-08-2005, 03:31 AM
 
Join Date: Nov 2004
Location: Sweden
Posts: 7
Mr_T is on a distinguished road
Fanuc output program + subprograms

Hi !
I want to send my program from the Fanuc cnc to PC.
The problem is that the subprograms dont "follow" the main prog.
(Yasnac has that function, it "packets" it and send it to PC.)
Does anyone now if Fanuc has a similar function?

//Otto
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 11-08-2005, 07:10 AM
Chris D's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 390
Chris D is on a distinguished road

I believe that if you want to output all programs, enter

O0-9999 then press the output (or punch key). The O0-9999 is just a range of numbers, in this case zero to 9,999.

chris
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 11-08-2005, 07:18 AM
 
Join Date: Nov 2004
Location: Sweden
Posts: 7
Mr_T is on a distinguished road

Thanks for your answer!
But i was looking for a way to get the fanuc controll to automaticly inclued the relevant SUB-programs with the main-program.

//Otto
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 11-08-2005, 09:42 AM
 
Join Date: May 2005
Location: usa
Posts: 90
scubanick is on a distinguished road

Not Gona Be Able To Get That
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 11-08-2005, 10:41 AM
 
Join Date: Sep 2005
Location: US
Posts: 26
MMTechi is on a distinguished road
Sub Programs

i have always disliked having to send multiple programs ( main and a sub) so i created my own structure of program and which included sub programs. this makes for a single program download and easy to edit because you don't have to jump around in different programs or from top to bottom thereby reducing the chance for error. i highly doubt that i have created anthing new. it is what i use all the time now because i sometimes run a particular cut routine using up to 12 different work piece coordinates and sometimes up to 60 or more locations depending on the feature. i would be glad to send you one of my programs or try and edit one down to show you the method. it utilizes the m97 and m99 a lot. here is one section of my program. let me know if anyone needs to see more.

bob flores
231-632-6669

ps i use discriminator for viewing and editing my nc programs and i program with surfcam.



N30
G40 G80 G90
T30 D30 M6 (T30 .500 DIA CARB EMILL/DR FOR .9475 DIA .0655 DP)
G1 G41 X0.750 Y0 F200. G43 Z0.3 H30 M8
S4000 F50.
M3

(CALL LOCAL SUB)
X0.75 Y0. G1 F200. (HOLE LOC)
M97 P301
X2.35 Y0. G1 G41 F200. (HOLE LOC)
M97 P301
X3.95 Y0. G1 G41 F200. (HOLE LOC)
M97 P301

G0 X10. Z6.M5

M1
M5
M99 P100 (NEXT TOOL NBLOCK)


N301
G80 G90
T30 D30 M6 (T30 .500 DIA CARB EMILL/DR FOR .9475 DIA .0655 DP)
G1 G43 Z0.3 F200. H30 M8
S4000 F50.
M3

G0 Z0.03
G1 Z.005 F15.
G1 Z-0.025 F10.
G1 Z-0.02
G1 Z-0.045
G1 Z-0.04

G1 Z-0.065
G91 (NOW CUTTING IN INCREMENTAL)
G3 X0.2167 I0.1083 J0 F10.
I-0.2168 J0 F18.
G3 X-0.04 I-0.0201 J0 Z-.0005 F9.

G3 X0.0469 I0.0235 J0 F20.
I-0.2237 J0
I-0.2237 J0 F14.
X-0.2236 I-0.1118 J0
G90
G0 Z.3

G91
G0 G40 X0.01
G90

M99


N100
G1 X10. Z10. M9 F200.
G90
M30
%
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-08-2005, 12:55 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road
Uploading and downloading files with sub programs

All Fanuc controls can output ALL the files from memory with the "O-9999" command, but only a few models can output just SOME of the files from a particular range of O-numbers.

The Fanuc 10, 11, 12, and 15 controls can output all the O-numbers within a certain range by using the soft-function keys. You press the PUNCH soft key, then the PROG# key, then the first O-number, then the PROG# key again, then the last O-number, then EXEC. Only the O-numbers between those two numbers are output.

This procedure does not work on other Fanuc models like the 0T and 0M. All you can do with these controls is output all of the O-numbers in memory, or one O-number at a time. When sending all the programs, you won't event be able to control the sequence that the programs are punched.

We can't help you with this shortcoming in the Fanuc control, but we do have used this solution, which may help you:

Our DNC software (and many others as well) have the ability to receive data until a certain "timeout" occurs. In our software, you can receive data until the data stops coming in for (x) seconds. If you set this value to about 10 seconds, you can send your main program, then send each sub-program one at a time until you've sent them all. As long as you don't pause for more than 10 seconds between files, the DNC software will save all your programs in a single file. If 10 seconds isn't enough time for you to push the buttons, you can always set it to a longer timeout.

Once your main program and all subs are saved in one file on your DNC system, you can send them all back to the CNC control in one shot by pressing "O-9999" then INPUT or READ. Also, you will have fewer files to organize on your hard drive because all the subs are attached to the main programs.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 11-08-2005, 03:16 PM
 
Join Date: Mar 2005
Location: Silicon Valley, CA
Posts: 976
psychomill is on a distinguished road

Bob posted what looks like internal subs from a Haas machine. This won't work on a Fanuc ( unless you loop an M99 internally, but some controls don't like that either - Dan could probably elaborate).

And as a take off from Dan's post, if your subs are numbered "relative" to the main, you can output a range of programs by also typing in for ex: "O1500" "," "O1567" ....

The comma is the seperater and this will output all programs from number 1500 to 1567.
__________________
It's just a part..... cutter still goes round and round....
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 11-08-2005, 04:21 PM
 
Join Date: Nov 2004
Location: Sweden
Posts: 7
Mr_T is on a distinguished road

Thank´s for all your answers.
Our fanuc systems does not handle subs in the main-prog so it seems like i have to take the "long way" with my fanuc systems.
Yasnac´s solution to this was great, just send the main prog and it scanned for the subs and included them.

//Otto
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 11-19-2005, 08:54 PM
chuy's Avatar  
Join Date: Aug 2005
Location: usa
Posts: 149
chuy is on a distinguished road
I hate it also,but

what bob posted was for a hass those are local sub routines not sub programs...anyway what do is make sure the memory is clear of any unrelated programs and just "punch all" but if you have a newer control. and your subprograms in sequence IE..o1001,o1002 and so on you can hit punch
this "O1001,O1014" O1014 being the last program in the sequence and it will send all the those subs back to your pc.. hope that's clear...
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 11-29-2005, 01:21 AM
*Registered User*
 
Join Date: Jun 2003
Location: Stockholm / Sweden
Posts: 17
Per_N is on a distinguished road

If you have the macro option and understand it well, it's possible the make a program that print out a series of program.
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





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