Spindle Configuration?

More
26 Jan 2017 10:16 #86694 by Holzwurm56
Holzwurm56 created the topic: Spindle Configuration?
Hello,
i want now make the configuration for my milling spindle. I make a sample config and write the spindle units in my machine config. With Linuxcnc-status and hal-anzeigen I can see that the buttons are working. I want to measure the analog outputsignal and the enable connector on my analog out 5, but there is no signal. Is there a sample config for using a spindle without feedback? I need a + - 10Volt signal and spindle enable on the connector from the analog output 5. I use Wheezy with 5i25 and 7i77.

Thanks

Hans
More
26 Jan 2017 10:59 #86696 by tommylight
tommylight replied the topic: Spindle Configuration?
net spindle-enable => hm2_5i25.0.7i77.0.1.spinena

You have to add this as pncconfig will not add it.
More
26 Jan 2017 13:52 - 26 Jan 2017 14:24 #86709 by Holzwurm56
Holzwurm56 replied the topic: Spindle Configuration?
Hello,
pncconf create this line and i add this line in the hal-file. Can someone tell me the procedure to switch on the spindle?
I think: when i turn on the spindle then the enable switch analog5 closes and the analog out create a voltage 0 to 10 and for ccw 0 to -10V .
Does it so works?
Can some show me a working config with so a spindle control?
Pncconf creates a MAX_OUTPUT = 10000. Normally in the axis is MAX_OUTPUT 10.

Thanks

Hans
Last Edit: 26 Jan 2017 14:24 by Holzwurm56.
More
26 Jan 2017 14:52 #86711 by tommylight
tommylight replied the topic: Spindle Configuration?

Holzwurm56 wrote: Hello,
pncconf create this line and i add this line in the hal-file. Can someone tell me the procedure to switch on the spindle?
I think: when i turn on the spindle then the enable switch analog5 closes and the analog out create a voltage 0 to 10 and for ccw 0 to -10V .
Does it so works?
Can some show me a working config with so a spindle control?
Pncconf creates a MAX_OUTPUT = 10000. Normally in the axis is MAX_OUTPUT 10.

Thanks

Hans


Hallo Hans,
Yes that is how it should work. I can give you my config but it will not work for you as i use SSI encoders for feedback.
Make a list and some pictures of your machine and electronics, it will make it much easier to help.
Gruss,
Tom
More
26 Jan 2017 16:01 - 26 Jan 2017 16:39 #86717 by Holzwurm56
Holzwurm56 replied the topic: Spindle Configuration?
Hello Tom,
i see the machine tomorrow. Need i an outputpin for spindle ccw and an other for cw? Or is max speed cw +10V and max speed ccw -10V?
Can I measure an output control voltage on analogout5 with a voltmeter?

Thanks

Hans
Last Edit: 26 Jan 2017 16:39 by Holzwurm56.
More
26 Jan 2017 17:20 #86721 by PCW
PCW replied the topic: Spindle Configuration?
Normally you scale the spindle analog output in RPM

So MAX_OUTPUT should be the spindle RPM at 10V in
(so 10000 would be correct for a 10000 RPM full speed spindle)

When you change MAX_OUTPUT, you must also change
the min_limit and max_limit parameters to match
(so -10000 and 10000 in this case)

And yes, you can measure any of the analog outputs with a voltmeter
Moderators: cmorley
Time to create page: 0.076 seconds
Powered by Kunena Forum