free program (might need debugged)

I wrote this program for fanuc. It runs 8 positions, forward or reverse. If you set your post up so each toolchange is an N number, as in N100 is
tool 1, N200 is the next toolchange, etc... this program will run the first tool on all 8 positions, then the second tool, as opposed to the whole program running position 1, then position 2. Saves toolchange time, wear on toolchanger, etc... This particular setup uses G54.1, G54.2, etc... I havn't had a chance to debug it. Sometimes I make small syntax errors first try, but usually my logic is ok.
Use it if you want, don't if you don't.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Oops, I forgot to paste the damn thing, lol/ I'll paste it in tommorrow. duuuuh
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
vinny wrote:

Paste it in? WTF are you talking about? If you're trying to share a program, zip it up and send it to a webserver someplace, then post a link to it. You're not going to get it done via usenet, unless you post it to a binaries group.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

relax, its just a few lines of g code.
*****
O1000; ; ; #100 = 1 (ENTER 1 FRONTSTART, 11 BACKSTART); #200 = 8 (ENTER NUMBER OF LOCATIONS); #300 = 6 (ENTER TOTAL NUMBER OF TOOLS); ; ; #333 = 0; N4000; #333 = #333 + 1; #222 = .#100; N5000; IF [#333 GT #300] M30; G54#222G90G00X0Y0; M98 P#333; #222 = #222 + .1; IF [#222 GT #200] M98 P4000; M98 P5000; ; ; ; ; ; ; N100
*******
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
vinny@work wrote:

Doh, my bad.... sorry. Who's the dumbass now? <G>
--
Say what you will about the sweet miracle of unquestioning faith, I consider
a capacity for it terrifying and absolutely vile. Kurt Vonnegut
  Click to see the full signature.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
vinny@work wrote:

Vinny,
The problem with this code is it's neither seamless or unified, it appears to have some sort of history tree, and it won't run inside of SW.
That said, cudos for something on topic for this group!
--
Bill



Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.