cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
- FEMTO
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
27 Nov 2021 10:08 - 27 Nov 2021 11:02 #227728
by FEMTO
cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e was created by FEMTO
Hello, i need help, maybe its not a big problem, but i can't fix it by myself.
I can't regulate the 0-10V output from 7i76e. I get the 10V from a Danfoss VLT VFD. The Spindle starts with the M3 command but not regulates the Spindle speed with Sxxxx command it always goes to max. Speed. I measured 10V on the 0-10V input on the VFD.
i think there is something wrong or missing in my .hal file.
I attach my .hal and .ini file.
Stefan
I can't regulate the 0-10V output from 7i76e. I get the 10V from a Danfoss VLT VFD. The Spindle starts with the M3 command but not regulates the Spindle speed with Sxxxx command it always goes to max. Speed. I measured 10V on the 0-10V input on the VFD.
i think there is something wrong or missing in my .hal file.
I attach my .hal and .ini file.
Stefan
Attachments:
Last edit: 27 Nov 2021 11:02 by FEMTO.
Please Log in or Create an account to join the conversation.
- chris@cnc
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 139
27 Nov 2021 12:10 #227732
by chris@cnc
Replied by chris@cnc on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
Hi,
first change in *.hal
net spindle-ccw => hm2_7i76e.0.7i76.0.0.spinena
to
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
second, should you send 0-10V from mesa board to VFD.
Take a look on your VFD wiring connection sheet
I guess the 0-10V from VFD are feedback signal.
first change in *.hal
net spindle-ccw => hm2_7i76e.0.7i76.0.0.spinena
to
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
second, should you send 0-10V from mesa board to VFD.
Take a look on your VFD wiring connection sheet
I guess the 0-10V from VFD are feedback signal.
Please Log in or Create an account to join the conversation.
- FEMTO
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
27 Nov 2021 13:06 - 27 Nov 2021 13:16 #227742
by FEMTO
Replied by FEMTO on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
Attachments:
Last edit: 27 Nov 2021 13:16 by FEMTO.
Please Log in or Create an account to join the conversation.
- chris@cnc
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 139
27 Nov 2021 13:44 #227744
by chris@cnc
Replied by chris@cnc on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
looks okay,
What happens if you command S5000 M4?
And type in terminal
halcmd show pin spindle.0.speed-out
show this after spindle on.
What happens if you command S5000 M4?
And type in terminal
halcmd show pin spindle.0.speed-out
show this after spindle on.
Please Log in or Create an account to join the conversation.
- FEMTO
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
27 Nov 2021 14:19 #227746
by FEMTO
Replied by FEMTO on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
spindle.0.speed-out is responding to my commands. If i type S5000 it shows 5000, if i type S125 it shows 125. Both commands giving 9.8V to pin 53 from VFD, so maximum speed.
Please Log in or Create an account to join the conversation.
- chris@cnc
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 139
27 Nov 2021 14:43 #227747
by chris@cnc
Replied by chris@cnc on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
So we have to investigate deeper.
What do M4?
and please post output
halcmd show sig spindle
halcmd show pin spindle
What do M4?
and please post output
halcmd show sig spindle
halcmd show pin spindle
Please Log in or Create an account to join the conversation.
- FEMTO
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
27 Nov 2021 14:57 - 27 Nov 2021 14:58 #227749
by FEMTO
Replied by FEMTO on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
M4 gives negative value into spindle.0.speed-out but spindle isn't turning.
Attached the outputs from halcmd.
Attached the outputs from halcmd.
Last edit: 27 Nov 2021 14:58 by FEMTO.
Please Log in or Create an account to join the conversation.
- Michael
- Offline
- Platinum Member
Less
More
- Posts: 335
- Thank you received: 59
27 Nov 2021 15:36 #227750
by Michael
Replied by Michael on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
Based on that second picture spindle-output doesn't appear to be connected correctly and is reading 0
net spindle-output pid.s.output. =>. hm2_7i76e.0.7i76.0.0.spinout
Which is in your Hal file but for whatever reason is not generating the correct output. Use show Hal on both sides of that signal to see if the pid is outputting correctly. If you did any copy and paste for Hal from other sources often the - symbol is not correct.
net spindle-output pid.s.output. =>. hm2_7i76e.0.7i76.0.0.spinout
Which is in your Hal file but for whatever reason is not generating the correct output. Use show Hal on both sides of that signal to see if the pid is outputting correctly. If you did any copy and paste for Hal from other sources often the - symbol is not correct.
Please Log in or Create an account to join the conversation.
- chris@cnc
- Offline
- Platinum Member
Less
More
- Posts: 529
- Thank you received: 139
27 Nov 2021 15:38 #227751
by chris@cnc
Replied by chris@cnc on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
change in *.hal
net spindle-ccw => hm2_7i76e.0.7i76.0.0.spinena
to
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
output must show this
bit TRUE spindle-enable
==> hm2_7i76e.0.7i76.0.0.spinena
==> pid.s.enable
<== spindle.0.on
second:
Search why "spindle-output" is zero and "pid.s.output" is missing.
should be looks like this
float 5000 spindle-output
==> hm2_7i76e.0.7i76.0.0.spinout
<== pid.s.output
but, in your postet config is right.
and just for test set in ini
OUTPUT_MIN_LIMIT = -24000
net spindle-ccw => hm2_7i76e.0.7i76.0.0.spinena
to
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
output must show this
bit TRUE spindle-enable
==> hm2_7i76e.0.7i76.0.0.spinena
==> pid.s.enable
<== spindle.0.on
second:
Search why "spindle-output" is zero and "pid.s.output" is missing.
should be looks like this
float 5000 spindle-output
==> hm2_7i76e.0.7i76.0.0.spinout
<== pid.s.output
but, in your postet config is right.
and just for test set in ini
OUTPUT_MIN_LIMIT = -24000
Please Log in or Create an account to join the conversation.
- Michael
- Offline
- Platinum Member
Less
More
- Posts: 335
- Thank you received: 59
27 Nov 2021 15:41 - 27 Nov 2021 15:42 #227752
by Michael
Replied by Michael on topic cant regulate the 0-10V TB4 Spindle output from Mesa 7i76e
Also it won't work in M4, reverse because you didn't change the first suggestion.
first change in *.hal
net spindle-ccw => hm2_7i76e.0.7i76.0.0.spinena
To
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
Last edit: 27 Nov 2021 15:42 by Michael.
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds