spindle won't start when RUN a program <Resolved>
Moderator: cnckeith
-
- Posts: 12
- Joined: Wed Apr 02, 2025 7:40 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: sys id : 0008DC111213-0321241568 control M39 serial A901431
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
spindle won't start when RUN a program <Resolved>
Hi, I finalize my cnc milling with OAK and CNC12.
FIRST PROBLEM
Now, I try my first CAM program, simple face canned cycle.
But when I try to RUN it, I press START CYCLE, then confirm the tool change with START CYCLE, but the spindle don't start. A line with G4 (dwell) is added and then the others G line run without running the spindle. The tool move, and seems to be ready to mill, but no spindle rotation.
But in tool library assignment, the spindle speed and CW is entered.
As in MDI mode, when requesting M3 S1600, no spindle run...
Just in manual mode, I was able to run it.
SECOND PROBLEM
The parameter 143 is set to 75 but I have no load meter. The bar is empty when running axis or spindle.
I use SureServo2 drive axis and Durapulse GS4 . I also have an encoder on the spindle connected to OAK board on port 6. The encoder give the correct speed to the OAK and is accuratly on the VCP.
Please find attached the last report.zip.
Thanks to help.
Michael Rousseau
FIRST PROBLEM
Now, I try my first CAM program, simple face canned cycle.
But when I try to RUN it, I press START CYCLE, then confirm the tool change with START CYCLE, but the spindle don't start. A line with G4 (dwell) is added and then the others G line run without running the spindle. The tool move, and seems to be ready to mill, but no spindle rotation.
But in tool library assignment, the spindle speed and CW is entered.
As in MDI mode, when requesting M3 S1600, no spindle run...
Just in manual mode, I was able to run it.
SECOND PROBLEM
The parameter 143 is set to 75 but I have no load meter. The bar is empty when running axis or spindle.
I use SureServo2 drive axis and Durapulse GS4 . I also have an encoder on the spindle connected to OAK board on port 6. The encoder give the correct speed to the OAK and is accuratly on the VCP.
Please find attached the last report.zip.
Thanks to help.
Michael Rousseau
- Attachments
-
- TEST POPULAR JOB 1.cnc
- (1.4 KiB) Not downloaded yet
-
- report_0008DC111213-0321241568_2025-07-01_19-17-50.zip
- (1.07 MiB) Downloaded 3 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: spindle won't start when RUN a program
For troubleshooting, change Parameter 78 from 1 to 0, so that the spindle RPM shown in the status window is the commanded RPM from the PLC, rather than the measured RPM from the encoder.
When you do that, and run "M3 S1600", does the commanded RPM in the status window still say 0?
If it still says 0, then the issue is in the PLC logic somewhere: some interlock is telling it not to run the spindle.
If it says 1600, then the issue is related to the VFD or wiring. That is unlikely, since you say it runs okay in Manual mode.
Use the PLC Detective source code view to watch lines 2493-2540 in your PLC program while the spindle should be running, and is not.
Is MEM84 SpindlePause_M set for some reason?
Is M3_SV remaining set, as it should?
Is MEM86 SpinStart_M remaining set, as it should?
Is MEM87 SpinStop_M set for some reason?
Is OUT7 SpindleEnableOut_O getting set, as it should?
When you do that, and run "M3 S1600", does the commanded RPM in the status window still say 0?
If it still says 0, then the issue is in the PLC logic somewhere: some interlock is telling it not to run the spindle.
If it says 1600, then the issue is related to the VFD or wiring. That is unlikely, since you say it runs okay in Manual mode.
Use the PLC Detective source code view to watch lines 2493-2540 in your PLC program while the spindle should be running, and is not.
Is MEM84 SpindlePause_M set for some reason?
Is M3_SV remaining set, as it should?
Is MEM86 SpinStart_M remaining set, as it should?
Is MEM87 SpinStop_M set for some reason?
Is OUT7 SpindleEnableOut_O getting set, as it should?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 12
- Joined: Wed Apr 02, 2025 7:40 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: sys id : 0008DC111213-0321241568 control M39 serial A901431
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: spindle won't start when RUN a program
Ok, I do all what you suggested, and the result are:
the status window show the command, example M3 S1000 show 1000.
As you can see on the attached pictures, MEM84, MEM86, MEM87, M3_SV and OUT7 are set or unset, depend the case.
I look to the VFD (Durapulse GS4), In sourcing mode, the enable signal is received, as the direction, and the analog voltage too.
Same way as in manual mode, the spindle run, the VFD received the same information. And in manual mode, the spindle run great, any speed and direction.
But in MDI or CAM running, the VFD received the same information as in MANUAL but no rotation.
I don't understand, does the PLC needs absolutly a move on the spindle load meter to start the loop ?
Or does the encoder in MDI or CAM running cause this issue to start the spindle ?
I just found that VFD supply 23.48 vdc (not 24 vdc), but in sourcing mode, it's should be enough to change input status !
Also, for a mysterious reason, in MDI mode, the spindle on M4 S1000 turned on, for one shot only , during a test , but never again.
thanks a lot for your help.
the status window show the command, example M3 S1000 show 1000.
As you can see on the attached pictures, MEM84, MEM86, MEM87, M3_SV and OUT7 are set or unset, depend the case.
I look to the VFD (Durapulse GS4), In sourcing mode, the enable signal is received, as the direction, and the analog voltage too.
Same way as in manual mode, the spindle run, the VFD received the same information. And in manual mode, the spindle run great, any speed and direction.
But in MDI or CAM running, the VFD received the same information as in MANUAL but no rotation.
I don't understand, does the PLC needs absolutly a move on the spindle load meter to start the loop ?
Or does the encoder in MDI or CAM running cause this issue to start the spindle ?
I just found that VFD supply 23.48 vdc (not 24 vdc), but in sourcing mode, it's should be enough to change input status !
Also, for a mysterious reason, in MDI mode, the spindle on M4 S1000 turned on, for one shot only , during a test , but never again.
thanks a lot for your help.
- Attachments
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 528
- Joined: Wed Jan 23, 2019 4:19 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5B92C3A-0213236854
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: spindle won't start when RUN a program
Are you taking putting it back in auto mode on top of the spindle section?
Ken
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 12
- Joined: Wed Apr 02, 2025 7:40 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: sys id : 0008DC111213-0321241568 control M39 serial A901431
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: spindle won't start when RUN a program
Hi Ken, for sure, yes, I putting back auto mode.
If I don't MDI mode ask to do before start cycle.
thanks
If I don't MDI mode ask to do before start cycle.
thanks
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 528
- Joined: Wed Jan 23, 2019 4:19 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 80F5B5B92C3A-0213236854
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: spindle won't start when RUN a program
I always put the M3 before the Speed, but I don't know if that matters. In your M3 macro it shows M94 /1 to turn on the spindle relay. I would try that in the mdi and see if the relay operates from there.
I kind of remember someone fighting this with an Acorn system.
I kind of remember someone fighting this with an Acorn system.
Ken
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3594
- Joined: Thu Sep 23, 2021 3:49 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 6433DB0446C1-08115074
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Germany
Re: spindle won't start when RUN a program
If after M3 there is no M4 or M5 just Sxxxx is ok
M3 turns the spindle on in clockwise rotation
after this you can change the speed with S only, there is no need to turn it on again.
Uwe
M3 turns the spindle on in clockwise rotation
after this you can change the speed with S only, there is no need to turn it on again.
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 12
- Joined: Wed Apr 02, 2025 7:40 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: sys id : 0008DC111213-0321241568 control M39 serial A901431
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: spindle won't start when RUN a program
Thanks for all comment, but if I come back upper of the forum, the problem remain same.
Now, I try my first CAM program, simple face canned cycle.
But when I try to RUN it, I press START CYCLE, then confirm the tool change with START CYCLE, but the spindle don't start. A line with G4 (dwell) is added and then the others G line run without running the spindle. The tool move, and seems to be ready to mill, but no spindle rotation.
But in tool library assignment, the spindle speed and CW is entered.
As in MDI mode, when requesting M3 S1600, no spindle run...
Just in manual mode, I was able to run it.
BUT NOW, AFTER TEST, I DISCOVER...
That in MDI, if I begin with M3 S ??? , the spindle won't start, if I begin with M4 S ???, the spindle start and when I command M3 S??? during CCW rotation, the M3 command reverse and turn CW.
It's a big mistake. That in this order, M3 first, nothing, then M4 (run spindle CCW!) followed by M3 (run spindle CW !).
I don't know where to look , but VFD ? or PLC ?
Any idea
Now, I try my first CAM program, simple face canned cycle.
But when I try to RUN it, I press START CYCLE, then confirm the tool change with START CYCLE, but the spindle don't start. A line with G4 (dwell) is added and then the others G line run without running the spindle. The tool move, and seems to be ready to mill, but no spindle rotation.
But in tool library assignment, the spindle speed and CW is entered.
As in MDI mode, when requesting M3 S1600, no spindle run...
Just in manual mode, I was able to run it.
BUT NOW, AFTER TEST, I DISCOVER...
That in MDI, if I begin with M3 S ??? , the spindle won't start, if I begin with M4 S ???, the spindle start and when I command M3 S??? during CCW rotation, the M3 command reverse and turn CW.
It's a big mistake. That in this order, M3 first, nothing, then M4 (run spindle CCW!) followed by M3 (run spindle CW !).
I don't know where to look , but VFD ? or PLC ?
Any idea
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 8924
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: spindle won't start when RUN a program
i moved this thread to the Oak forum.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
1 user liked this post
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: spindle won't start when RUN a program
Your screen pictures above clearly show that the M3 macro and PLC program are doing everything they can and should do, to make the spindle start and run. OUT7 "SpindleEnableOut_O" is on (green), and W7 "SixteenBitSpeed_W" is 16383, which is essentially 25% of maximum speed.
Either there is something wrong with your wiring between the OUT7 and OUT8 relays and the VFD sequence terminals; or between the Oak analog output and the VFD analog input; or you have the VFD configured incorrectly; or perhaps you have a faulty OUT8 relay.
When you say you were able to run the spindle "in manual mode", do you mean that you turned off the "SPINDLE AUTO/MAN" key on the Centroid virtual control panel, then pressed the green spindle start key on the Centroid virtual control panel? Or do you mean that you used the keypad on the GS4 VFD to run the motor?
I recommend you check the signals at the VFD using a volt meter.
With the spindle off (M5 / spindle stop), measure DC volts between FWD and DCM. You should see ca. 24VDC.
Also with the spindle off, measure DC volts between AI1 and ACM. You should see essentially zero volts.
At the MDI prompt, enter "M3 S1000" and press Cycle Start. Verify that OUT7 turns green and W7 changes to ca. 16383.
Assuming that the spindle fails to start and run:
Measure DC volts again between FWD and DCM. Is it still ca. 24VDC? Or is it close to zero?
Measure DC volts between AI1 and ACM. Is it ca. 2.5VDC? Or is it still close to zero?
If the voltage between FWD and DCM does not drop nearly to zero when you run M3, then there is a problem with the circuit through OUT7 and OUT8.
If the voltage between AI1 and ACM does not go up to ca. 2.5V when you run M3 S1000, then there is a problem with the analog command circuit.
If the voltage between FWD and DCM drops nearly to zero, and you have ca. 2.5V between AI1 and ACM, and the motor still does not start, then you have a VFD configuration/parameter problem.
Either there is something wrong with your wiring between the OUT7 and OUT8 relays and the VFD sequence terminals; or between the Oak analog output and the VFD analog input; or you have the VFD configured incorrectly; or perhaps you have a faulty OUT8 relay.
When you say you were able to run the spindle "in manual mode", do you mean that you turned off the "SPINDLE AUTO/MAN" key on the Centroid virtual control panel, then pressed the green spindle start key on the Centroid virtual control panel? Or do you mean that you used the keypad on the GS4 VFD to run the motor?
I recommend you check the signals at the VFD using a volt meter.
With the spindle off (M5 / spindle stop), measure DC volts between FWD and DCM. You should see ca. 24VDC.
Also with the spindle off, measure DC volts between AI1 and ACM. You should see essentially zero volts.
At the MDI prompt, enter "M3 S1000" and press Cycle Start. Verify that OUT7 turns green and W7 changes to ca. 16383.
Assuming that the spindle fails to start and run:
Measure DC volts again between FWD and DCM. Is it still ca. 24VDC? Or is it close to zero?
Measure DC volts between AI1 and ACM. Is it ca. 2.5VDC? Or is it still close to zero?
If the voltage between FWD and DCM does not drop nearly to zero when you run M3, then there is a problem with the circuit through OUT7 and OUT8.
If the voltage between AI1 and ACM does not go up to ca. 2.5V when you run M3 S1000, then there is a problem with the analog command circuit.
If the voltage between FWD and DCM drops nearly to zero, and you have ca. 2.5V between AI1 and ACM, and the motor still does not start, then you have a VFD configuration/parameter problem.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)