Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 09:43:33 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Spindle output messes up tool change
Pages: 1 2 »   Go Down
Print
Author Topic: Spindle output messes up tool change  (Read 357 times)
0 Members and 1 Guest are viewing this topic.
GytarrMann19
Active Member

Offline Offline

Posts: 65


View Profile
« on: December 28, 2011, 06:07:12 PM »

Good evening all,

I have a very confusing problem. When an M3 command is active, and I try to initiate a tool change, the tool change fails and I get the message "limit switch activated." Tool changing works fine any other time. At first I assumed it was a noise issue with the VFD- not so. I disconnected power to the VFD and the problem persists. I have a turret up/down switch, and a turret home switch, Port 2 pins 9 and 11 respectively. I then assumed maybe one of these port/pin assignments was shared with an M3 function, i.e. motor step/direction and CW/CCW outputs. They are not.

Any ideas as to what might be going on?

Thanks!
Kevin
Logged
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #1 on: December 29, 2011, 02:01:41 AM »

Are you running any brains or plugins that may be interfering?
If you attach your xml I can look and see if I can find a config issue.
Hood
Logged
GytarrMann19
Active Member

Offline Offline

Posts: 65


View Profile
« Reply #2 on: December 29, 2011, 05:49:32 PM »

Don't know anything about brains, and I think the only plugin is the smoothstepper one. .xml attached.

Kevin

* kevinslathe2.xml (106.36 KB - downloaded 8 times.)
Logged
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #3 on: December 30, 2011, 06:00:31 AM »

Xml seemed fine but didnt have a SS there when I tested so will have to remember to take one home tonight to test again.
Hood
Logged
Graham Waterworth
Administrator
*
Online Online

Posts: 1,665


West Yorkshire, England



View Profile WWW
« Reply #4 on: December 30, 2011, 06:52:49 AM »

If you issue a M5 before the tool change will it work?

Graham
Logged

G-Code is on the cutting edge

Autovalues Engineering, CNC machining specialists, Bradford, England
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #5 on: December 30, 2011, 07:18:03 AM »

As Graham says, it would seem logical that a tool change would be prohibited whilst the spindle is actually running.  Wink

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #6 on: December 30, 2011, 07:41:02 AM »

As Graham says, it would seem logical that a tool change would be prohibited whilst the spindle is actually running.  Wink

Tweakie.

No, it is definitely not that, or as  far as Mach is concerned,  as I never stop the spindle to tool change.
Hood
Logged
Graham Waterworth
Administrator
*
Online Online

Posts: 1,665


West Yorkshire, England



View Profile WWW
« Reply #7 on: December 30, 2011, 09:41:22 AM »

I was asking to see if there was some sort of interlock in the M3/4 that is cancelled in the M5

Graham
Logged

G-Code is on the cutting edge

Autovalues Engineering, CNC machining specialists, Bradford, England
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #8 on: December 30, 2011, 10:03:22 AM »

Not really sure what you are meaning Graham but I just tested on the lathe. I used the rear turret as it indexes one tool at a time so is slow. I had the spindle doing a M3 then called tool5 (it was on tool 1) and whilst the turret was indexing I called a M4 and then a M3 then M4 again and all was fine.
Hood
Logged
GytarrMann19
Active Member

Offline Offline

Posts: 65


View Profile
« Reply #9 on: December 30, 2011, 12:32:02 PM »

Yes, this is on a lathe. Issuing the M5 before tool changing allows it to work. Might there be something in the M3 macro causing the trouble?

Kevin
Logged
Pages: 1 2 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!