Hello Guest it is February 24, 2021, 09:48:28 PM

Author Topic: How can I control a stepper motor for USB???  (Read 3794 times)

0 Members and 1 Guest are viewing this topic.

How can I control a stepper motor for USB???
« 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!

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: How can I control a stepper motor for USB???
« Reply #1 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
Re: How can I control a stepper motor for USB???
« Reply #2 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.
Re: How can I control a stepper motor for USB???
« Reply #3 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 ?
You can "chop it off" but can't "chop it on"

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: How can I control a stepper motor for USB???
« Reply #4 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
Re: How can I control a stepper motor for USB???
« Reply #5 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.
Re: How can I control a stepper motor for USB???
« Reply #6 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?

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: How can I control a stepper motor for USB???
« Reply #7 on: February 20, 2012, 02:52:57 AM »
I am afraid I do not know anything about writing plugins.
Hood