I have no spindle speed control

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
jake2465
Posts: 35
Joined: Tue Aug 28, 2018 12:53 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 103298
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No

I have no spindle speed control

Post by jake2465 »

For some reason, my spindle does not have any change in speed for the spindle commands in g code. If I want 1000RPM or any other RPM value, it will simply just give the VFD the max 10V analog signal and the VFD will output its max frequency based on its parameters, in this case being 60hz. I have my report available for viewing. As far as I know, the retrofitters that did the work set the mill up for 0 to 10v analog to the VFD. When the spindle is set to manual control, I can jog the RPM up and down, but the output RPM on the DRO is not even close to being right.

Ultimately I would like to set it up where my mill can get a max of 4500rpm and simply have the g code able to adjust the rpm as needed for the sizes of end mills being used. As of right now, my mill literally only has one spindle speed when it is set to auto: on at 60hz and off.
Attachments
report_0627180629_2018-10-19_16-08-55.zip
(129.29 KiB) Downloaded 73 times


cncsnw
Community Expert
Posts: 4575
Joined: Wed Mar 24, 2010 5:48 pm

Re: I have no spindle speed control

Post by cncsnw »

When the spindle is set to manual control, I can jog the RPM up and down, but the output RPM on the DRO is not even close to being right.
That is probably a clue.

Using Manual-mode control, set it so your VFD shows about 10Hz.
About how fast is the spindle turning?
What RPM is shown in the status window on the control screen?

Press the spindle '+' key as needed to ramp it up to about 30Hz.
About how fast is the spindle turning?
What RPM is shown in the status window on the control screen?


jake2465
Posts: 35
Joined: Tue Aug 28, 2018 12:53 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 103298
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No

Re: I have no spindle speed control

Post by jake2465 »

I am not exactly sure what the ratio would be. I would need to go back out to my shop tomorrow and take note of what the DRO says and what the VFD outputs. I do know that the VFD gets to 60hz far before the control makes it to it's 6250 number. Sounds like that would be expected as as 6250 would be:
60hz/3000rpm = (x)hz/6250rpm

[6250rpm(60hz)]/3000rpm = 125hz at the VFD

I am curious as to why the spindle simply just goes to that single speed of 3000rpm regardless of what spindle speed command is called. it's almost as if the graph of the spindle control has a zero slope where all x values (being s commands) will always output the same y value (being the 60hz at the VFD). At least, that's how I am thinking of it.

I will have to run a program tomorrow and take a look at what exactly the DRO says for the spindle speed. I want to say that it does not actually output anything related to spindle speed but a value of zero. Ill have to double check that.


cncsnw
Community Expert
Posts: 4575
Joined: Wed Mar 24, 2010 5:48 pm

Re: I have no spindle speed control

Post by cncsnw »

You could also use either the Alt-i PLC Diagnostic display (page right with F12) or the PLC Detective watch window, to look at the values in the following PLC variables, for various manual-mode and auto-mode spindle speed commands:

FW6 "SpinSpeedCommand_FW" Should be the commanded RPM
(S code in Auto mode, or fraction of max speed in Man mode,
e.g. 3125RPM at mid-scale when the "100%" LED is lit).
W7 "SixteenBitSpeed_W" should range from 0 to 65535, as requested speed ranges from 0 to maximum.

For what it's worth, you do have some odd edits in your PLC program.

By commenting out the stage header line for KeyboardEventsStage (as well as for LubeUsePLCTimersStage) you have made all the lines under KeyboardEventsStage a part of LubeUsePumpTimersStage (the last effective stage header). Since you have Parameter 179 set to a non-zero value, LubeUsePumpTimersStage is inactive. Therefore none of the logic under KeyboardEventsStage will execute. However, I don't see where that would affect spindle speed commands.


martyscncgarage
Community Expert
Posts: 9953
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: I have no spindle speed control

Post by martyscncgarage »

jake2465 wrote: Fri Oct 19, 2018 7:53 pm For some reason, my spindle does not have any change in speed for the spindle commands in g code. If I want 1000RPM or any other RPM value, it will simply just give the VFD the max 10V analog signal and the VFD will output its max frequency based on its parameters, in this case being 60hz. I have my report available for viewing. As far as I know, the retrofitters that did the work set the mill up for 0 to 10v analog to the VFD. When the spindle is set to manual control, I can jog the RPM up and down, but the output RPM on the DRO is not even close to being right.

Ultimately I would like to set it up where my mill can get a max of 4500rpm and simply have the g code able to adjust the rpm as needed for the sizes of end mills being used. As of right now, my mill literally only has one spindle speed when it is set to auto: on at 60hz and off.
What kind of machine is this? Knee mill with variable speed head? Please post a picture of the machine, the VFD and the control.
Does the spindle have an encoder?
Did you just get the control back from the retrofitters? Was it ever running properly?

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


Post Reply