Spindle will not respond to an M3 command

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

Moderator: cnckeith

keithwhite
Posts: 16
Joined: Sat Jan 02, 2021 3:39 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 30030
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Spindle will not respond to an M3 command

Post by keithwhite »

Picture/video is worth a thousand words, I took a few videos to explain what is happening.




S/N 30030
CNC 10 (Running some version of linux as the OS)
Mori Seiki SL10 Lathe

I can turn on the spindle manually to do skim cuts and setup tooling, but the spindle will not work in a program, I can put "M3 S1000" in MDI and nothing happens.

History if it helps:

Was apparently bought from a school before I got it.

I got this lathe off craigslist, After lots of troubleshooting, I found a fiber cable had been broken before I got it and after fixing that, the controller started working (Could not see the PLC before then) After that, the Turret was out of alignment, After buying a parts manual for the diagrams, I found someone had reinstalled the turret off a spline, got all that figured out and thought I was home free..

I downloaded a Post for fusion and drew up a very simple part. This being my first attempt at a CNC lathe I was just going to do a test cut in the air. It started moving the tool to where it starts cutting and just stopped, after I while I figured out if I rotated the spindle by hand, It would move in (it was reading the spindle position - CSS)

For some reason, in auto mode the controller will not start the spindle. I can start it manually through the control, so that indicates the controller can start the spindle, but it just seems to ignore the M3 commands in auto mode.

I did run the "pawn" program that was in the c drive and it acts the same way - rules out a post processor issue.

I remember before I fixed the turret, I ran one of the programs on the hard drive and the spindle turned on, but for some reason it is not now, I have taken apart the "computer/controller" a couple of times to try and figure out if I could add a MPG, but put it back together and it work's fine other that this issue. I was an IT pro as of 6 months ago, I know my way around computes, been doing that for 15 years, I cant think of anything I did that could have caused this issue.

Thank you in advance for helping me get my 4000 dollar boat anchor working hopefully :)
Attachments
report.zip
(69.2 KiB) Downloaded 102 times
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle will not respond to an M3 command

Post by cncsnw »

At 0:47 in your third video, you can see that (once you gave it auto spindle control) OUT14 turned green, and several of the outputs in the range OUT17-OUT28 also turned green.

OUT14 is the spindle run relay.
OUT17-OUT28 are the 12 bits of your analog spindle speed reference.

So the Centroid control software and PLC program are doing their part to try to start your spindle. If your spindle drive unit (whatever and wherever that may be) is not actually starting the motor, then either:
1) The control circuit that runs from the spindle drive, through the OUT14 and OUT15 relays, and back to the run-forward or run-reverse terminals on the spindle drive, is interrupted somewhere so that the drive does not get the run command, or
2) The circuit that carries the 0-10V analog command value from the PLC to the spindle drive is interrupted, so the drive does not get the speed command, or
3) The spindle drive is not configured to accept external commands from the PLC.

Regarding (1), there are fuses for each output on the PLCIO2 unit. If the fuse for either OUT14 or OUT15 is blown or missing, then the circuit would be interrupted.

Your next step should be to locate and identify your spindle drive, and find out how its control circuits are wired. Then you would be in a position to check with a meter to see whether the drive is getting the run-forward command; whether it is getting the analog voltage; and whether it is configured for remote (rather than local) control.
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle will not respond to an M3 command

Post by cncsnw »

Sorry, I did not watch your third video all the way through before posting.

I see that when you started the spindle in manual mode, you also chose to run it in reverse (CCW).

What happens if you run "M4 S1000" in Auto mode?

What happens if you try to start it forward (CW) in Manual mode?

That probably narrows the problem down to the forward-run command wire, from the OUT15NC terminal on the PLC, back to the spindle drive.
keithwhite
Posts: 16
Joined: Sat Jan 02, 2021 3:39 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 30030
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Spindle will not respond to an M3 command

Post by keithwhite »

M4 s1000 did work, I am not sure Which direction it is supposed to run physically, but this seems backwards of what it should do. When I run M4, it spins in the correct direction for the tooling to take a skim cut (Forward in my way of thinking), I was thinking m3 should do that? So this shows M4 does work correctly, but M3 does not. I'll look at output 15 and see if I am missing a connection somewhere. How do you know Output15 is for the M3 command? is that in the report file somewhere?

Thank you so much for getting me this far, if nothing else, for now I can run programs using the M4 command to start the spindle.
keithwhite
Posts: 16
Joined: Sat Jan 02, 2021 3:39 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 30030
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Spindle will not respond to an M3 command

Post by keithwhite »

Should I be able to turn on the spindle using an M3? If so what output should that be using? if so, is there a way to change the output the controller uses for an M3 in case that particular output is bad? How do I find the output that M4 is using?

I am assuming if I am stuck with using M4 (Is it possible a previous owner had this issue and simply rewired the machine for M4 to turn the spindle the correct way and simply ran using M4? ) I should be able to just use it in leu of M3 (it turns the right direction to use all of the turning tools using an M4)

I am assuming this would make rigid tapping impossible unless fixed? Would this cause problems anywhere else?
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle will not respond to an M3 command

Post by cncsnw »

Spindle-control wiring with a PLCIO2 unit is pretty well standardized.
OUT14 on, OUT15 off = run forward (M3, CW)
OUT14 on, OUT15 on = run reverse (M4, CCW)

CW and CCW are judged standing behind the headstock, looking through the spindle towards the tailstock. M3/CW/forward is the direction you would turn a standard twist drill or advance a right-hand tap.

On lathes with the tool turret in back, with cutting edges up, most normal turning cuts are done with M4/CCW. Drilling with a twist drill on centerline would, of course, require M3/CW.

Attached is a generic T400/AC/PLCIO2 lathe schematic, which shows how spindle control is typically routed through OUT14 and OUT15.
Attachments
K0400033.pdf
(2.72 MiB) Downloaded 106 times
AcornJosh
Posts: 78
Joined: Tue Apr 17, 2018 8:58 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Spindle will not respond to an M3 command

Post by AcornJosh »

Schematic attached for this system K30030.
Attachments
MORIAC.pdf
(7.06 MiB) Downloaded 112 times
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle will not respond to an M3 command

Post by cncsnw »

Since your spindle run-forward and run-reverse signals appear to go through a piggyback contact block on top of the emergency stop contactor, that would be a likely place to look for failures.

If you need help identifying components in the cabinet, post a good clear well-lit straight-on photo showing the whole cabinet interior.
keithwhite
Posts: 16
Joined: Sat Jan 02, 2021 3:39 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 30030
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Spindle will not respond to an M3 command

Post by keithwhite »

So I jumped back on this when I got home and found the VFD that runs the spindle is setup incorrectly I think, still trying to wrap my head around the way this thing works. They also jumpered "34 out to 15 com" and "34 com to 14 com" Any Idea why they would have done that? I thought about removing these wires and trying it then. Any Idea what 34 out and com are for?

You can se the wires jumped here:
0218212221b_HDR.jpg
This is from the VFD Manual: I circled the current setting in red, what I think is should be in green:
Screenshot 2021-02-18 224632.png
Here is another Picture, Traced the Fwd and Rev and common (From the Spindle VFD) to the shown locations.
Fwd is highlighted in Yellow
REV is highlighted in Green
Common is blue- there is an arrow pointing to it.
Screenshot 2021-02-18 224924.png
Any Idea's?


A few questions:
In the wiring diagram I see 15 Common, 15 NC ,and 15 NO.
I am assuming 15 NC is normally connected and 15 NO is Normally open?

Does this mean when I turn on the spindle, the #14 Relay closes and the 14 out now shorts to 14 common?
When I issue an M4 it should also switch relay 15 so 15NO now shorts to 15 Common?

Are these relays simply shorting to common? Do either of these carry any voltage to the VFD?

I also dont understand why the wires to the VFD are on the contactor shown in the last picture, is there a reason they are not connected to the PLC directly? The Blue (Common on the VFD) is connected directly to the PLC, but not the FWD/REV wires, it appears to be a simple switching action that the relays should do perfectly fine without a contactor between the PLC and the VFD? Is this for shielding electrical noise from the PLC maybe?

Thank you so much for all the help, I am starting to think I may actually get this thing running soon!
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Spindle will not respond to an M3 command

Post by cncsnw »

"Common" can mean many things. In the case of output relays, it just means the input to the relay, which will be closed ("shorted", if you like) to the normally-open terminal when the relay is activated. In the case of a double-throw or "form C" relay, the common terminal is closed to the normally-closed terminal whenever the relay is not activated.

So yes, when you turn on the spindle, OUT14 connects whatever wire is connected to its "COMMON" terminal through to its output terminal, and the jumper wire carries that signal over to the COMMON terminal for OUT15. If OUT15 remains inactive, then that signal continues through to the OUT15 NC (normally-closed) terminal, i.e. the white wire #71. That is the forward (M3) condition. If OUT15 is active, then the signal from OUT14 gets closed to the OUT15 NO (normally-open) terminal instead, i.e. the black wire #72. That is the reverse (M4) condition.

The "voltage" that gets "carried to the VFD" comes from the VFD. As the picture from the VFD manual shows, you make the drive run by taking a wire from its "COM" terminal, and connecting it over to the VFD's "FWD" or "REV" terminal.

What is the make and model of the VFD?
Post Reply