Hello Guest it is February 22, 2024, 12:00:02 AM

Author Topic: mach3 control on c++  (Read 1167 times)

0 Members and 1 Guest are viewing this topic.

mach3 control on c++
« on: April 27, 2023, 11:09:11 AM »
hi
i have to control mach3 interface board on c++ directly
i guess i need some libraries for example Mach3Engine.h and this libraries usually in C:\mach3\sdk
but i did not find it i dont have sdk folder
could you please help me how can use mach3 card with c++ or how can to found Mach3Engine.h library
sorry my english is not good
i wish i could expalined well

Offline Tweakie.CNC

*
  • *
  •  9,189 9,189
  • Super Kitty
    • View Profile
Re: mach3 control on c++
« Reply #1 on: April 28, 2023, 01:14:39 AM »
The Mach3 SDK can be downloaded from here;

https://www.machsupport.com/downloads-updates/mach3-downloads/

Tweakie.
PEACE
Re: mach3 control on c++
« Reply #2 on: April 28, 2023, 04:03:45 PM »
thx but i didn't make it
i couldn't compiled. i dont know that how can i make a program controlling mach3 card on C# or C++ .
do you know it there any source or lesson chatGPT always said that i have to use mach3api.h or mach3engine but i didn't understand.
i am student and i dont know something could you please tell me do i make a controlling mach3 card on C++ or C# directly.

Offline Tweakie.CNC

*
  • *
  •  9,189 9,189
  • Super Kitty
    • View Profile
Re: mach3 control on c++
« Reply #3 on: April 29, 2023, 01:19:28 AM »
What is the Mach3 interface board that you are using - Make & Model ?

Tweakie.
PEACE
Re: mach3 control on c++
« Reply #4 on: April 30, 2023, 02:47:03 AM »
5 Axis CNC Control Card (MACH3 Compatible)

Offline Tweakie.CNC

*
  • *
  •  9,189 9,189
  • Super Kitty
    • View Profile
Re: mach3 control on c++
« Reply #5 on: April 30, 2023, 03:33:28 AM »
Quote
5 Axis CNC Control Card (MACH3 Compatible)

Make and Model ?

A picture would help.

Tweakie.
PEACE

Offline Tweakie.CNC

*
  • *
  •  9,189 9,189
  • Super Kitty
    • View Profile
Re: mach3 control on c++
« Reply #6 on: April 30, 2023, 05:51:04 AM »
This link explains how to add attachments and photos to this forum...

https://www.machsupport.com/forum/index.php?topic=24585.msg173822#msg173822




Tweakie.
« Last Edit: April 30, 2023, 05:53:11 AM by Tweakie.CNC »
PEACE
Re: mach3 control on c++
« Reply #7 on: April 30, 2023, 11:44:54 AM »
now

Offline Tweakie.CNC

*
  • *
  •  9,189 9,189
  • Super Kitty
    • View Profile
Re: mach3 control on c++
« Reply #8 on: May 01, 2023, 04:17:56 AM »
The board you have is controlled by your PC’s LPT Parallel Port so creating a plugin for Mach3 is reasonable straightforward.

Initially I suggest you watch the Plugin Development video’s listed on this page;
https://www.machsupport.com/help-learning/videos-tutorials/

To compile your desired Plugin you will need to be using Microsoft Visual Studio VS2008. This is not that easy to find but it is available on the net if you search.

Ed Bryson’s Wizard would be a good place to start with learning how Mach3 plugins are created, compiled & used. Here is the link;
https://www.machsupport.com/wp-content/uploads/2013/04/MachPluginWizardSetup1.1a.msi

The following document is also essential reading;
https://www.machsupport.com/wp-content/uploads/2013/04/MachIncludes.zip

Good fortune with your project.

Tweakie.
PEACE
Re: mach3 control on c++
« Reply #9 on: May 02, 2023, 04:07:07 AM »
If that's just a parallel port breakout board you just have to feed it pulses and logic levels at the right time and you don't need anything from Mach3.