- Posts: 178
- Thank you received: 1
Spindle Configuration?
- Holzwurm56
- Topic Author
- Offline
- Elite Member
-
Less
More
9 years 9 months ago #86694
by Holzwurm56
Spindle Configuration? was created by Holzwurm56
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
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
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
9 years 9 months ago #86696
by tommylight
Replied by tommylight on topic Spindle Configuration?
net spindle-enable => hm2_5i25.0.7i77.0.1.spinena
You have to add this as pncconfig will not add it.
You have to add this as pncconfig will not add it.
Please Log in to join the conversation.
- Holzwurm56
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 178
- Thank you received: 1
9 years 9 months ago #86709
by Holzwurm56
Replied by Holzwurm56 on 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
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
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
9 years 9 months ago #86711
by tommylight
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
Replied by tommylight on 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
Please Log in to join the conversation.
- Holzwurm56
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 178
- Thank you received: 1
9 years 9 months ago #86717
by Holzwurm56
Replied by Holzwurm56 on 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
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
Please Log in to join the conversation.
9 years 9 months ago #86721
by PCW
Replied by PCW on 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
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
Please Log in to join the conversation.
Time to create page: 0.168 seconds
