Spindle speed?
- TheTinkeringMechanic1
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 1
21 Jun 2025 14:45 #330631
by TheTinkeringMechanic1
Spindle speed? was created by TheTinkeringMechanic1
I have a question about the spindle speed control.
This is a lathe configuration. The previous owner has the chuck set as "spindle" so I'll be using spindle to describe it going forward. I hope this alleviates some confusion.
Anywho...
If I tap forward, the spindle the scale whitens and shows a green bar on the scale indicating RPM on the scale. I can tap +/- to override the spindle speed +/- 50% as one would expect.
However, if I click reverse the scale switches to a negative scale but it stays grayed out and the spindle shoots up to about 2000 RPMs with no green bar. Also the spindle speed cannot be overridden.
I don't believe this is an issue with the VFD I suspect it's some configuration issue. Correct me if I'm wrong.
Can someone shed a light on this?
Thanks in advance.
This is a lathe configuration. The previous owner has the chuck set as "spindle" so I'll be using spindle to describe it going forward. I hope this alleviates some confusion.
Anywho...
If I tap forward, the spindle the scale whitens and shows a green bar on the scale indicating RPM on the scale. I can tap +/- to override the spindle speed +/- 50% as one would expect.
However, if I click reverse the scale switches to a negative scale but it stays grayed out and the spindle shoots up to about 2000 RPMs with no green bar. Also the spindle speed cannot be overridden.
I don't believe this is an issue with the VFD I suspect it's some configuration issue. Correct me if I'm wrong.
Can someone shed a light on this?
Thanks in advance.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18760
- Thank you received: 5182
21 Jun 2025 15:23 #330634
by PCW
Replied by PCW on topic Spindle speed?
Can you post your hal and ini files?
Please Log in or Create an account to join the conversation.
- TheTinkeringMechanic1
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 1
21 Jun 2025 22:19 #330661
by TheTinkeringMechanic1
Replied by TheTinkeringMechanic1 on topic Spindle speed?
I need to locate my thumb drive. I have a few pics for now.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18760
- Thank you received: 5182
21 Jun 2025 23:55 #330666
by PCW
Replied by PCW on topic Spindle speed?
Posting the actual hal and ini files would be more useful.
Can't tell much from just part of the hal file.
Can't tell much from just part of the hal file.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23377
- Thank you received: 4966
22 Jun 2025 19:13 #330721
by andypugh
Replied by andypugh on topic Spindle speed?
At a guess you have closed-loop control of the spindle, but the PID is being commanded by absolute spindle speed request.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18760
- Thank you received: 5182
22 Jun 2025 21:04 #330728
by PCW
Replied by PCW on topic Spindle speed?
In cases where you have an unsigned spindle speed device (like an analog 0..10V VFD)
and encoder feedback, It might be better to use the signed commanded spindle speed
into the PID and just use the ABS on the output of the PID component to always get positive
analog values and also use the ABS components is_positive and is_negative pins for driving
the VFDs FWD/REV controls.
and encoder feedback, It might be better to use the signed commanded spindle speed
into the PID and just use the ABS on the output of the PID component to always get positive
analog values and also use the ABS components is_positive and is_negative pins for driving
the VFDs FWD/REV controls.
Please Log in or Create an account to join the conversation.
- TheTinkeringMechanic1
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 1
23 Jun 2025 00:55 #330740
by TheTinkeringMechanic1
Replied by TheTinkeringMechanic1 on topic Spindle speed?
Hectic weekend...
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18760
- Thank you received: 5182
23 Jun 2025 19:30 - 23 Jun 2025 21:44 #330768
by PCW
Replied by PCW on topic Spindle speed?
Before looking further into this, There seem to be
no hal connections that set the spindle directions.
That is, there are these net statements:
net Y73-SPFWD <= spindle.0.forward
net Y74-SPREV <= spindle.0.reverse
But signals Y73-SPFWD and Y73-SPFWD are not connected
anywhere else in the hal file. Normally I would expect
these to connect to some direction control output bits.
How is direction controlled on your VFD?
no hal connections that set the spindle directions.
That is, there are these net statements:
net Y73-SPFWD <= spindle.0.forward
net Y74-SPREV <= spindle.0.reverse
But signals Y73-SPFWD and Y73-SPFWD are not connected
anywhere else in the hal file. Normally I would expect
these to connect to some direction control output bits.
How is direction controlled on your VFD?
Last edit: 23 Jun 2025 21:44 by PCW.
Please Log in or Create an account to join the conversation.
- TheTinkeringMechanic1
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 1
24 Jun 2025 00:24 #330786
by TheTinkeringMechanic1
Replied by TheTinkeringMechanic1 on topic Spindle speed?
It has a Mitsubishi A800 drive. (I can get the specs tomorrow) It came with 3 900+ page books. I know it receives forward and reverse signals separately. I I'm pretty sure it's PWM, but to me honest, I don't know. Sadly, I didn't build it or configure it. Coming in after someone else kinda stinks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.117 seconds