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

 

Please Log in or Create an account 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 or Create an account 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 or Create an account 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 or Create an account to join the conversation.

More
2 years 8 months ago - 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
Last edit: 2 years 8 months ago by TimP.

Please Log in or Create an account 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 or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum