Search Results - Practical Machinist - Largest Manufacturing Technology Forum on the Web
Close
Login to Your Account

Search:

Type: Posts; User: TeachMePlease

Search: Search took 0.01 seconds.

  1. Hmmm....... Less elegant, but it works: ...

    Hmmm.......


    Less elegant, but it works:


    BEGIN PROGRAM
    #502=100.0
    IF[#501 GT 110]
    #502=0.0
  2. Just because I re-read my post and it may not...

    Just because I re-read my post and it may not have been the clearest, here's what I mean

    BEGIN PROGRAM
    IF [#501 GT 110] GOTO 1
    ENTIRE PROGRAM
    GUTS GO HERE
    #501 = #501+1
    M2

    N1
  3. At the beginning of your code: IF[#501 GT...

    At the beginning of your code:

    IF[#501 GT 110]GOTO1

    Then put an N1 at the end of your program (after M2), followed by M0.


    Then before your M2, put #501 = #501+1. This will increment #501...
  4. Doesn't fix your problem, but a quick fix would...

    Doesn't fix your problem, but a quick fix would be to use a #5XX variable as a counter, until you can get your issue sorted. Just make sure to reset it every time you change a bar.
Results 1 to 4 of 4