Hello Guest it is March 28, 2024, 07:26:14 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Peta

Pages: 1
1
General Mach Discussion / How to create a plugin for Mach3
« on: May 12, 2014, 07:37:43 PM »
About two years ago I built a CNC and a PIC based controller board. The controller is connected to an old computer through a parallel port, but now I realy would like to use my leptop to control it through the serial port (USB to Serial adapter). I've searched it on google but did not found what I want. I know that it's possible to create a plugin and instal it on Mach3.

My question is: is it possible to create a plugin that makes Mach3 send a certain character to the serial port each time it sends a pulse to the parallel port? for example: each time it sends a pulse to the parallel port to rotate clockwise the motor X, it sends also a character (for example "a") to the serial port, so the controller board connected to the serial port can get that character and rotate the motor. This way I can control my CNC from my leptop which has no parallel port.

If it's posible, what should I learn and what softwares should I use to make it? I have C programming knowledge and use Code::Blocks.
Any tutorial or guide would be appreciated.

I'm not sure if my English is understandable, but sorry for any mistake!

Thanks in advance!!!

Pages: 1