Using STB4100 board with my own code


Results 1 to 5 of 5

Thread: Using STB4100 board with my own code

  1. #1
    Registered xrgo's Avatar
    Join Date
    Oct 2018
    Posts
    2
    Downloads
    0
    Uploads
    0

    Question Using STB4100 board with my own code

    Hello my friends!
    Some intro blah blah:
    I am really new in this stepper/servo motors stuff (and this forums)... and I find myself involved in a really simple project that consist in a 2 axis (cartesian) robot that just have to go from point A to point B, then to point C, etc (no complex curves and paths, nor Gcode) the fastest way possible.
    At first I used an Arduino with the AccelStep library, and its working! but I have some speed issues (slow, and when I use 2 axis at the same time its slower)...
    So I brought one of this Mach3 Controller Borads, this one:
    404 Not Found
    4 axis STB4100 motion card
    Because I need to use it in my laptop so no serial port
    I just received it! so I haven't connected any motor yet (weekend) but when I press stuffs in the Mach3 software the led blinks so it seems to be working xD.

    Now the real question:
    Since my application is really simple, I would like to write my own code (hopefully Qt C++) to control this board, But I couldn't find any Library/API/ProtocolDocumentation/etc on how to do it... I did find some info on how to add the mach3.exe to VisualStudio and communicate some stuffs to it using C# code... but still its depending on the mach3 software to be there. I want to write my own standalone software =)
    Is this even posible?

    thank you so much in advance!!

    Similar Threads:


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

    Default Re: Using STB4100 board with my own code

    You'd need to contact the manufacturer and see if they'll share the info with you. I wouldn't count on it.

    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)


  3. #3
    Member
    Join Date
    Jun 2011
    Location
    US
    Posts
    692
    Downloads
    0
    Uploads
    0

    Default Re: Using STB4100 board with my own code

    Could you just use GRBL on an Arduino and write a PC control program to generate and send the G-code on the fly? All it would need to do is generate G1 X# Y# F# commands and send them over a USB serial connection.



  4. #4
    Member
    Join Date
    Nov 2013
    Posts
    4280
    Downloads
    0
    Uploads
    0

    Default Re: Using STB4100 board with my own code

    Hi,
    why did you buy a board without finding out if it could do as you wish?

    The only boards that I know of the are compatible with Mach AND have a low level on-board programming ability is the
    PoKeys 57CNC, Vital Systems Hicon (suitably activated...at a cost) or Gallil. The last two are expensive, around $1200
    and $2000 respectively.

    You might do some research on Dynamotion Kflop products, they have a Mach3 plugin but not a Mach4 plugin to my knowledge
    but also have onboard programming.

    Craig



  5. #5
    Registered xrgo's Avatar
    Join Date
    Oct 2018
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Using STB4100 board with my own code

    Thank you so much for the answers, yeah I didn't do my homework beforehand, but not a problem, its no so expensive... besides I have worked with numerous hardware stuff in the past and everything has an API or something I can work with, so I just assumed that it was going to be the case this time too =).
    I think I am going to research the arduino GRBL stuffs first!
    thanks again!!



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

Using STB4100 board with my own code

Using STB4100 board with my own code