2. Spindle how is to do, to get it?

More
2 years 8 months ago #293762 by CNC_Tux
Hello Guys,
i try to get a 2. Spindle ( not 2 Axis ) and i define in the HAL with num_spindles=2 ( see picture ).
In the halui is only one spindle, spindle.0
in "spindle" i found spindle.0 and spindle.1 ... so far so good.
If i try to connect pins with spindle.1. i got a message "unknown pin"
I read the documentation about spindles, but i found only something with the different numbers, but nothing how i can get a 2. spindle.
Have anyone an idea to get it?
thank you so much in advance
best regards
Reinhard

 

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
2 years 8 months ago #293771 by PCW
I wonder if halui needs to be told how many spindles are present?

Please Log in to join the conversation.

More
2 years 8 months ago #293772 by TimP
[SPINDLE_<num>] Section(s) in ini file, maybe it will help you

Please Log in to join the conversation.

More
2 years 8 months ago #293817 by CNC_Tux
Hello Tim,
thank you so much, but i have it in the INI file.
the problem is, in the documentation is until 8 spindles possible, but nobody descripes how i can get it..
I suppose 99.6% of all users need only one spindle.
Has anybody experience with more like one Spindle?

Please Log in to join the conversation.

More
2 years 8 months ago #293827 by TimP
what i have done
num_spindles=2 in hal
SPINDLES = 2 in [TRAJ] section of ini file

[SPINDLE_0] in ini file with max min speeds
[SPINDLE_1]

that's it i have two spindles in HALUI

Please Log in to join the conversation.

More
2 years 8 months ago #293842 by CNC_Tux
Hello Tim,
thank you so much, thats it ... i have two spindles in the halui, and if i use in MDI for example with s300 $1 its working with speed 300.
In the Documentation i didnt found something about the [TRAJ] section.
A other question .... its possible to build a Spindle with a Mesa 7i96S with Step and Dir signal?
Have you a solution as well for me ?
Thank you so much in advance
best regards
Reinhard

Please Log in to join the conversation.

More
2 years 8 months ago #293850 by PCW
Yes, you can use step/dir for spindle control,
though it will have to be setup by hand editing
the hal/ini files, because the configuration utilites
don't currently support 2 spindles.

Please Log in to join the conversation.

More
2 years 8 months ago #293893 by CNC_Tux
Hello PCW,
of course, it is to do by hand editing the INI and Hal files, but what is to do it, to get it and working.
Have you any idea about it?

Please Log in to join the conversation.

More
1 year 6 months ago #326047 by richcolvin
Did you figure it out? I’m having the same issue

Please Log in to join the conversation.

More
1 year 6 months ago #326048 by PCW
Do you have one spindle working?
Can you post you hal/ini files?

Please Log in to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum