- LinuxCNC
- General LinuxCNC Questions
- program starts before the spindle has reached the rotation speed
program starts before the spindle has reached the rotation speed
- mgm
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
25 Jan 2022 13:03 #233059
by mgm
program starts before the spindle has reached the rotation speed was created 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?
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.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
25 Jan 2022 13:25 #233063
by tommylight
Replied by tommylight on topic program starts before the spindle has reached the rotation speed
Please Log in or Create an account to join the conversation.
- mgm
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
25 Jan 2022 13:52 #233065
by mgm
Replied by mgm on topic program starts before the spindle has reached the rotation speed
do I need to make an additional connection to the FU?
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
25 Jan 2022 14:07 #233067
by tommylight
Replied by tommylight on topic program starts before the spindle has reached the rotation speed
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.
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.
- mgm
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
25 Jan 2022 14:09 #233068
by mgm
Replied by mgm on topic program starts before the spindle has reached the rotation speed
Yes FU = Frequenz umrichtet
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4021
- Thank you received: 1733
25 Jan 2022 14:20 - 25 Jan 2022 14:32 #233070
by Aciera
Replied by Aciera on topic program starts before the spindle has reached the rotation speed
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
[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.
- mgm
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
25 Jan 2022 14:52 - 25 Jan 2022 14:52 #233074
by mgm
Replied by mgm on topic program starts before the spindle has reached the rotation speed
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
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.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
25 Jan 2022 15:02 #233077
by tommylight
Replied by tommylight on topic program starts before the spindle has reached the rotation speed
Yes, that would be the best way of doing it.
Please Log in or Create an account to join the conversation.
- mgm
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 200
- Thank you received: 13
26 Jan 2022 11:56 - 26 Jan 2022 11:57 #233165
by mgm
Replied by mgm on topic program starts before the spindle has reached the rotation speed
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!
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.
- LinuxCNC
- General LinuxCNC Questions
- program starts before the spindle has reached the rotation speed
Time to create page: 0.071 seconds