586,043 active members*
3,782 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > BobCad-Cam > Running G-Code for only one machine setup
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2013
    Posts
    15

    Running G-Code for only one machine setup

    Hello,

    When using multiple machine setups, I would like to be able to run the BobCad generated G-Code for only one of them (LinuxCNC).
    I can generate one file per setup manually but that is not very convenient.

    I am thinking about using some O101 in the post-processor to select the proper G-Code section at runtime.
    Another option would be to split automatically the original BC G-Code file into per setup files. That could be achieved with a small Python script or C# application.

    Anybody already worked on this feature?

    Thanks.
    Frederic
    http://cnc.f1oat.org/

  2. #2
    Join Date
    Apr 2009
    Posts
    3376

    Re: Running G-Code for only one machine setup

    R Click on the machine set-ups that you don't want to post and click do not post.
    Then you can change to the next set-up and just add a different program number to it.

  3. #3
    Join Date
    Jun 2013
    Posts
    15

    Re: Running G-Code for only one machine setup

    Yes, I use this method. But I would like to automate the process because doing that for many setups each time I modify my project is painful and subject to mistakes.
    http://cnc.f1oat.org/

  4. #4
    Join Date
    Jun 2013
    Posts
    15

    Re: Running G-Code for only one machine setup

    After few hours of Python coding, LinuxCNC documentation reading, postprocessor tuning ... here is a solution !
    See LinuxCNC machine setup selection | F1OAT CNC experiments

    Now, I can select easily the G-Code associated to a specific machine setup by only clicking on the associated button of my LInuxCNC touchscreen.
    The G-Code file is generated easily and contains the operations for all machine setup in once.

    Frederic.
    http://cnc.f1oat.org/

Similar Threads

  1. Trouble running g-code
    By JessinaDress in forum Tormach Personal CNC Mill
    Replies: 3
    Last Post: 09-12-2013, 07:30 PM
  2. Only running three lines of code
    By OCNC in forum NCPlot G-Code editor / backplotter
    Replies: 1
    Last Post: 02-13-2011, 10:09 PM
  3. error when running g code
    By craig in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 01-02-2007, 04:46 AM
  4. Turbo CNC Not Running.... Setup?
    By Davedbq in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 4
    Last Post: 02-04-2005, 08:20 PM
  5. Problems running G-code
    By milgo in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 10-31-2004, 05:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •