Need Help! Steps to develop VB program to read CNC (G-code) program.


Results 1 to 8 of 8

Thread: Steps to develop VB program to read CNC (G-code) program.

  1. #1
    Registered
    Join Date
    Oct 2013
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Steps to develop VB program to read CNC (G-code) program.

    Hi All,
    Hope you are doing well.

    I am new to this field. Could any please tell me which all steps I need to perform to develop VB.net program which would be processing CNC (G-code) programs.
    I would be really helpful if I get details for below queries.
    1) Which all software’s I will have to install on PC?
    2) Which all libraries, dll, complier are available to compile g-code in VB programs?
    3) Any sample code, project which shows such programming.
    4) How to configure CNC compiler with VB?
    5) Any URL wherein I will information about this programming?
    6) Documents with detailed information
    Thanks in advance!

    Thanks,
    Bhushan

    Similar Threads:


  2. #2
    Member Dan B's Avatar
    Join Date
    Apr 2003
    Location
    Ontario
    Posts
    1354
    Downloads
    0
    Uploads
    0

    Default

    You want to write your own CAM program in VB? Is that what you are asking about?

    It's not impossible. I've done it for 2.5 axis and 3+2 axis drilling out of Rhino. However, I would suggest you find a product that is already available for what you need. In the end, it will be cheaper.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered
    Join Date
    Oct 2013
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default

    Yes Dan B, you are right I want write my own program to read CNC file in VB programm. VB program would pass signals accordingly.
    Could you please share link where in i will get code, programs or tutorial to develop/learn this programming.

    Thanks in advance!



  4. #4
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default

    It sounds like you want to write your own control software?? If so, your best bet is to get the source code for Linux CNC and see how they do it.
    I doubt you'll find any other freely available source code. This is an incredibly complex project, and requires a very strong math background and excellent programming skills.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  5. #5
    Member Dan B's Avatar
    Join Date
    Apr 2003
    Location
    Ontario
    Posts
    1354
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by ger21 View Post
    This is an incredibly complex project, and requires a very strong math background and excellent programming skills.
    Which is exactly why I said it's cheaper to buy a commercial product, whatever the cost. I've been working on mine for 10 years! In fact I've been on it so long that the language I wrote it in is obsolete (VB6). Now I need to re-do it in vb.net!!

    If you are determined to go down this bumpy road, go to your local bookstore and find a book on the vb.net and start reading. Practice on a bunch of non-related projects, then once you are comfortable with the language, then start laying out your plan for this CNC project.

    Dan

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  6. #6
    Member Khalid's Avatar
    Join Date
    Apr 2006
    Location
    Pakistan
    Posts
    3498
    Downloads
    0
    Uploads
    0

    Default

    Vb is not good at control.. Its timer is not that good in timing and having least resolution.

    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/


  7. #7
    Registered
    Join Date
    Dec 2017
    Location
    Iraq
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default Re: Steps to develop VB program to read CNC (G-code) program.

    hi Dan B
    please can you help me ......
    I've recently purchased a laser engraving machine. The machine uses a Leetro MPC6515 controller . I'm trying to build my own software to control the laser but I've hit a dead end...do you know any information about its control card MPC6515 and how can I control it



  8. #8
    Member Dan B's Avatar
    Join Date
    Apr 2003
    Location
    Ontario
    Posts
    1354
    Downloads
    0
    Uploads
    0

    Default Re: Steps to develop VB program to read CNC (G-code) program.

    No, sorry I don't know anything about this controller.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Steps to develop VB program to read CNC (G-code) program.

Steps to develop VB program to read CNC (G-code) program.