View Full Version : M5i20 & spindle control


albova
05-10-2008, 06:06 AM
Hi to all

i am a new in this forum
sorry for my bad english ( hope you understan me )

so, i build a 3 axis machine with servo, electronicspindle and emc2

i have used mesa m5i20 , 7i33 and two 7i37

-1° question

may i controlled the spindle speed with 7i33 4° dac ?

i would controlled spindle speed with S gcode command but i don't know
to do it

-2° question

in axis interface there is a command to start the home_sequence for all axis but i use the tkemc interface. Is there a particular procedure to do it ?


thank's to all

Alessandro
Florence (italy)

andy55
05-11-2008, 12:08 PM
may i controlled the spindle speed with 7i33 4° dac ?

i would controlled spindle speed with S gcode command but i don't know
to do it



The commanded spindle speed (that you set with for example M3S1000) is available as a HAL pin: motion.spindle-speed-out

you will probably need a scale component to scale the value to suit your motor (for example 1000 RPM = 5 V or something), but if your spindle motor has a 0-10V input then it should be simple to control it with the DAC.
There are also boolean HAL pins for running the spindle forward and backward:
motion.spindle-forward
motion.spindle-reverse

albova
05-12-2008, 06:00 AM
thank's Andy55

i'll try your answer

my inverter spindle motor accept +10v

so, i think to connect hal pin with dac3 mesa m5i20

Alessandro