Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Finished Plugins for Download => Topic started by: aydseyit on April 27, 2023, 11:09:11 AM

Title: mach3 control on c++
Post by: aydseyit 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
Title: Re: mach3 control on c++
Post by: Tweakie.CNC 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.
Title: Re: mach3 control on c++
Post by: aydseyit 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.
Title: Re: mach3 control on c++
Post by: Tweakie.CNC on April 29, 2023, 01:19:28 AM
What is the Mach3 interface board that you are using - Make & Model ?

Tweakie.
Title: Re: mach3 control on c++
Post by: aydseyit on April 30, 2023, 02:47:03 AM
5 Axis CNC Control Card (MACH3 Compatible)
Title: Re: mach3 control on c++
Post by: Tweakie.CNC on April 30, 2023, 03:33:28 AM
Quote
5 Axis CNC Control Card (MACH3 Compatible)

Make and Model ?

A picture would help.

Tweakie.
Title: Re: mach3 control on c++
Post by: Tweakie.CNC 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.
Title: Re: mach3 control on c++
Post by: aydseyit on April 30, 2023, 11:44:54 AM
now
Title: Re: mach3 control on c++
Post by: Tweakie.CNC 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.
Title: Re: mach3 control on c++
Post by: JohnHaine 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.