Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: juandres666 on February 19, 2012, 01:42:51 AM

Title: How can I control a stepper motor for USB???
Post by: juandres666 on February 19, 2012, 01:42:51 AM
I need to program a pic 18f4550 to control a stepper motors, How can I control from MACH3?

Help me please. It is for the college thesis for my little brother!
Title: Re: How can I control a stepper motor for USB???
Post by: Hood on February 19, 2012, 03:32:10 AM
If wanting to use Mach with anything other than the parallel port you wil need to write a plugin.
Hood
Title: Re: How can I control a stepper motor for USB???
Post by: juandres666 on February 19, 2012, 09:20:56 AM
Thank you for your reply!  :)

How can I do it???

If you say me that so modbus serial/ethernet dont work with motors? My brother say me that we can control with serial port and a little commands.

Help me please.
Title: Re: How can I control a stepper motor for USB???
Post by: derekbpcnc on February 19, 2012, 10:36:24 AM
I need to program a pic 18f4550 to control a stepper motors, How can I control from MACH3?

Help me please. It is for the college thesis for my little brother!
Why do you want to control the steppers with a Pic AND Mach - that will be like an orchestra with two conductors ?
Title: Re: How can I control a stepper motor for USB???
Post by: Hood on February 19, 2012, 11:13:14 AM
You would need to write a plugin, modbus/serial is no use for controlling axis as it does not have the precise timing required. There is a plugin  SDK on the downloads page I think.
Hood
Title: Re: How can I control a stepper motor for USB???
Post by: juandres666 on February 19, 2012, 07:21:02 PM
Why do you want to control the steppers with a Pic AND Mach - that will be like an orchestra with two conductors ?
Why do you say that??? The PIC is the interface between MACH3 and motors because the computer does not have a parallel port (touch smart). I want to use USB. ETHERNET is better.
Title: Re: How can I control a stepper motor for USB???
Post by: juandres666 on February 19, 2012, 07:22:43 PM
You would need to write a plugin, modbus/serial is no use for controlling axis as it does not have the precise timing required. There is a plugin  SDK on the downloads page I think.
Hood
Thank you for your reply :)
Would you help me with the plugin develop? How can I design that?
Title: Re: How can I control a stepper motor for USB???
Post by: Hood on February 20, 2012, 02:52:57 AM
I am afraid I do not know anything about writing plugins.
Hood