program starts before the spindle has reached the rotation speed

More
25 Jan 2022 13:03 #233059 by mgm
Hello
when I start a program, LCNC does not wait until the milling spindle has reached its expansion number.

What do I have to do to make the program wait until the speed is reached?

Please Log in or Create an account to join the conversation.

More
25 Jan 2022 13:25 #233063 by tommylight

Please Log in or Create an account to join the conversation.

More
25 Jan 2022 13:52 #233065 by mgm
do I need to make an additional connection to the FU?

Please Log in or Create an account to join the conversation.

More
25 Jan 2022 14:07 #233067 by tommylight
FU = frequency umrichter ??? or similar.
You can also add a pause in gcode after M3 like
G04 P10
that will give it 10 seconds before the machine moves.

Please Log in or Create an account to join the conversation.

More
25 Jan 2022 14:09 #233068 by mgm
Yes FU = Frequenz umrichtet

Please Log in or Create an account to join the conversation.

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
25 Jan 2022 14:20 - 25 Jan 2022 14:32 #233070 by Aciera
To use the "spindle-at-speed" pin you need a feedback signal from the spindle (eg a sensor that sends a pulse once per revolution. If you don't have that then you will need to use the suggested G04 delay.

[edit]
Some VFDs can be configured to output an 'at-speed' signal that can also be brought into hal.

[edit 2]
if you don't have feedback and don't want the g04 in the gcode you could also try a hal delay as suggested in this post:
forum.linuxcnc.org/21-axis/29564-automat...arted?start=20#70340
Last edit: 25 Jan 2022 14:32 by Aciera.

Please Log in or Create an account to join the conversation.

More
25 Jan 2022 14:52 - 25 Jan 2022 14:52 #233074 by mgm
I could make the inverter switch a relay when the requested frequency is reached.

Can I then connect this to a digital input of the 7i76 and connect it to the pin spindle at speed in the hal.

so like this:
sets spindle-at-speedĀ  <= hm2_7i76e.0.7i76.0.0.input-28
Last edit: 25 Jan 2022 14:52 by mgm.

Please Log in or Create an account to join the conversation.

More
25 Jan 2022 15:02 #233077 by tommylight
Yes, that would be the best way of doing it.

Please Log in or Create an account to join the conversation.

More
26 Jan 2022 11:56 - 26 Jan 2022 11:57 #233165 by mgm
I have now solved my problem as follows:

In my frequency converter (Sourcetronic ST 500 5,5kw) I have assigned a relay output with the signal "reaching the target frequency" (Parameter F2.04 with 4).
This relay output switches a digital input of the mesa card.

In the hal I have now connected the parameter "spindle at speed" with the input of the mesa card.

net spindle-at-speed spindle.0.at-speed <= hm2_7i76e.0.7i76.0.0.input-29

Now the automatic evaluates until the milling spindle has reached its speed.

Thanks for the support to solve my problem!
Last edit: 26 Jan 2022 11:57 by mgm.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum