Results 1 to 7 of 7

Thread: Skip line in graphics only??????

  1. #1
    Registered
    Join Date
    Mar 2010
    Location
    USA
    Posts
    38
    Downloads
    0
    Uploads
    0

    Question Skip line in graphics only??????

    Is there a way that I can have a line in a program that basically block deletes or skips ONLY when the program is ran in graphics? What I am trying to do is I have a cycle counter at the end of the program to count how many parts I have made, and I dont want it to count when the program is ran in graphics(obviously, because no parts are made in graphics ).

    It would be nice if it were something simple like a system macro set itself to 0 or 1 when ran in graphics and I could use an IF statement for my counter line.

    Thanks


  2. #2
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    How many times are you running the program in graphics mode?
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Feb 2010
    Location
    USA
    Posts
    720
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by DruMor View Post
    Is there a way that I can have a line in a program that basically block deletes or skips ONLY when the program is ran in graphics? What I am trying to do is I have a cycle counter at the end of the program to count how many parts I have made, and I dont want it to count when the program is ran in graphics(obviously, because no parts are made in graphics ).

    It would be nice if it were something simple like a system macro set itself to 0 or 1 when ran in graphics and I could use an IF statement for my counter line.

    Thanks
    Nothing of the sort to my knowledge


  4. #4
    Registered WallyL7's Avatar
    Join Date
    Dec 2008
    Location
    USA
    Posts
    641
    Downloads
    0
    Uploads
    0
    I'm not sure why you would run graphics ever after you start running parts.

    If you are changing the program randomly then...well...um k.
    Tim


  • #5
    Registered
    Join Date
    Mar 2010
    Location
    USA
    Posts
    38
    Downloads
    0
    Uploads
    0
    Yes, I do make changes after I start running parts. I have 1000 pieces total to run, but 4 variations of this part make up the 1000 pieces. I run 250, then change a block delete and a macro variable, run 250 more parts, change B/D and a variable again and continue. After I make my changes, I like to run it in graphics and make sure I didnt accidently fat finger something and enter a value wrong.

    I wanted to make it count cycles so it could alert the operator when a changeover to the next part version is coming to make a seamless transition from one version to the other. The program has 3 stations, the first is the same for all 1000 parts, the 2nd is different for each of the 4 variations, and the 3rd station has to match the 2nd, so several times during the total run I have to shut off/turn on and change the 2nd and 3rd station and I just like to double check in graphics before I let 'er rip after changes.


  • #6
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4519
    Downloads
    0
    Uploads
    0
    Sounds like you need to do some more work on the macro/program/sub program side of things to eliminate your mistakes in keying in the different information.
    http://www.kirkcon.com/


  • #7
    Registered KenFoulks's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    569
    Downloads
    0
    Uploads
    0

    Haas Factory Support

    The graphics mode does not properly interpret timers, so you can utilize code like this, from the Renishaw probing macro:

    G103 P1
    G04 P1
    G04 P1
    G04 P1
    G04 P1
    G04 P1
    G04 P1
    #3001= 0
    G04 P250
    G04 P1
    G04 P1
    G04 P1
    G04 P1
    G04 P1
    G04 P1
    IF [ #3001 LT 200 ] GOTO999
    Thanks,
    Ken Foulks


  • Similar Threads

    1. no line number in comment line in mpos
      By MSFAB in forum Surfcam
      Replies: 5
      Last Post: 02-13-2012, 05:51 PM
    2. Skip Signal
      By derekBPcnc in forum Fanuc
      Replies: 10
      Last Post: 11-17-2011, 01:43 AM
    3. New skip in the house
      By latheboy in forum CNCzone Club House
      Replies: 4
      Last Post: 08-20-2011, 12:30 AM
    4. Need Help!- way to see the g code comands visualized line by line in Bobcad?
      By 777funk in forum BobCad-Cam
      Replies: 3
      Last Post: 04-07-2011, 08:48 PM
    5. Replies: 0
      Last Post: 01-13-2011, 09:07 PM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.