Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 07:21:03 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
VB and the development of wizards
Macro M6 safety
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Macro M6 safety (Read 1568 times)
0 Members and 1 Guest are viewing this topic.
peter81
Active Member
Offline
Posts: 60
Macro M6 safety
«
on:
June 15, 2010, 03:34:01 PM »
Hello, I need help with my M6start macro. My spindle has these outputs:
spindle stopped - input14 is active
spindle running - input14 not active
tool in spindle - input13 is active
spindle chuck is open - input12 is active
Now I would like to put in some safety. I would like not to do a toolchange if the spindle is running, and also if the tool is stuck in spindle. I noticed yesterday that the tool was stuck in spindle after long cutting. That could be disaster if machine was doing toolchange.
So please can someone help me what code do I need to put in my M6 macro and where in code to prevent this to happen. Attached is the M6 macro. Thanks.
Peter
M6 macro.txt
(3.14 KB - downloaded 181 times.)
Logged
peter81
Active Member
Offline
Posts: 60
Re: Macro M6 safety
«
Reply #1 on:
September 25, 2010, 06:01:55 AM »
Can anybody please help me with my problem?
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Macro M6 safety
«
Reply #2 on:
September 25, 2010, 07:01:05 AM »
Do you have an automatic tool changer and you're afraid it won't work if the tool is stuck? The most right way is to fix the mechanical problem that prevents the tool holder from ejecting from the spindle. Then, if you still feel you need some safety mechanism, you can probably use proximity switches to detect if the tool holder has come out.
More details about your system would help.
Dan
Logged
BR549
Active Member
Offline
Posts: 2,551
Re: Macro M6 safety
«
Reply #3 on:
September 27, 2010, 08:57:37 PM »
WHo did the original Macro?? That would be a good place to start looking for help.
Just thought (;-) TP
Logged
peter81
Active Member
Offline
Posts: 60
Re: Macro M6 safety
«
Reply #4 on:
September 30, 2010, 02:36:13 PM »
Hello,
sorry for late answer. I have a brand new ELTE ATC spindle and tool holders came with spindle. Spindle already have sensors built in. If for an example tool is stuck in spindle I don't get signal in input12 (input 12 active - spindle chuck is open). I have noticed in my test runs of my home built cnc that in long or heavy cuts tool can stuck in spindle but I dont know why. That could be disaster if this hapens while is changing tools. My m6start macro is working good but it is not safe. I would like to put in my macro to wait or cancel tool change if the tool get stuck in spindle, or when spindle is running or when it's not properly closed to prevent start of the spindle.Thanks.
Peter
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Macro M6 safety
«
Reply #5 on:
October 01, 2010, 12:30:34 AM »
Hi Peter,
You need to check your sensors to see why you're not getting signals out of them.
Dan
Logged
peter81
Active Member
Offline
Posts: 60
Re: Macro M6 safety
«
Reply #6 on:
October 01, 2010, 07:39:37 AM »
Hello,
All the sensors in the spindle are working fine also my macro and toolchange. All I want to do is to put those signals into the macro to prevent all I written In previous post to happen.
Peter
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Macro M6 safety
«
Reply #7 on:
October 01, 2010, 09:55:33 AM »
Now I lost you Peter. You said you had the sensors connected to pin 12 of the PP and you were not getting any signals from them... ?
Dan
Logged
peter81
Active Member
Offline
Posts: 60
Re: Macro M6 safety
«
Reply #8 on:
October 01, 2010, 11:26:33 AM »
Hi,
what I said in previous post about input 12 was just an example. If for example tool is stuck in the spindle input 12 is not active. If tool is properly released from spindle input 12 is active. All I want to do is put this in the m6start macro. So If tool is stuck in the spindle I want macro to stop and wait for input 12 to be active or cancel m6 macro. The same I want to do when spindle is running I want not to do a toolchange, or when chuck is not properly closed to repeat tool clamp.
Peter
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Macro M6 safety
«
Reply #9 on:
October 01, 2010, 01:14:00 PM »
Ah... then it's easy. Just put an 'If' statement at the top of your M6start macro. Something like this:
If (Input12) Then
'Put your macro here
Else
Message "Tool is stuck in the spindle. Unable to complete tool change"
End If
Dan
Logged
Pages:
1
2
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...