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 27, 2012, 07:27:06 PM
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
General Mach Discussion
Possible to keep limits enabled during home?
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: Possible to keep limits enabled during home? (Read 683 times)
0 Members and 2 Guests are viewing this topic.
majorstrain
Active Member
Offline
Posts: 27
Re: Possible to keep limits enabled during home?
«
Reply #10 on:
April 06, 2011, 09:09:02 AM »
Russ,
You'll be pleased to know that your suggestion worked like a charm, and with a bit more playing around I got it working better than I had hoped.
When I set up the OEM trigger input and disabled the limit input on the X axis, it stopped as expected during a home or jog. But because I have safe Z enabled the Z axis moved to safe Z height as soon as the X axis stopped. No big deal, but scarred the crap out of me the fist time it happened.
I then had the Idea to re-enable the limit input.
Now when the X axis is homing and starts on the wrong side of the home location, the axis gets the stop command from the OEM trigger when it hits the limit switch. The home routine then terminates and the still triggered limit is detected. The system does an E-stop like normal
Way cool, Now I don't have to do any hardware mods.
I'll run through the whole process just in case someone want's to do the same.
You will need to repeat this for each limit that you want active during HOME using a different OEM trigger input.
I went to Config / Ports & Pins / Input Signals and took note of the appropriate limit Port # and Pin number as well as if it was active low or not. I made no changes to this line and left this limit enabled
I duplicated the set up for that limit in the OEM trig #1 line which you will find if you scroll down a bit.
I then clicked OK.
From there I went to Config / System Hotkeys and entered the OEM code of 1003 in the External Buttons - OEM codes section in box 1. This replaced the -1
I clicked OK and that was it.
Thanks Again Russ and Hood for all your help.
Cheers,
Phil
Logged
Overloaded
Global Moderator
Online
Posts: 3,072
Re: Possible to keep limits enabled during home?
«
Reply #11 on:
April 06, 2011, 11:36:27 AM »
That's great news Phil, thanks for posting your results.
I'll put this in my saved forum topics folder for future reference.
Regards,
Russ
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
kf2qd
Active Member
Offline
Posts: 118
Re: Possible to keep limits enabled during home?
«
Reply #12 on:
April 06, 2011, 04:27:22 PM »
It sounds like you are trying for a work-around for poor home switch design.
You should not be able to drive past your home switch. (shouldn't be able to drive past your limit switches either...) What you then need is a workaround in your limits so that if you hit a limit then you know you went past your home switch, you then have to reverse and make sure you go past your home switch and then start the homing sequence all over again. The homing sequence is then needlessly complicated.
Homing sequence begins - Move in the homing direction and check for the homing switch. When the switch is found reverse direction and then stop once the homing switch changes state. Clean simple and reliable. If you start out on the switch the machine will sense that teh first condition is true and then back off the switch and call that home.
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: Possible to keep limits enabled during home?
«
Reply #13 on:
April 06, 2011, 05:20:55 PM »
Quote
You should not be able to drive past your home switch. (shouldn't be able to drive past your limit switches either...)
Are you saying separate home and limit switches is a bad design? Because if they are separate, you'll have to go past one of them, unless you set them to the exact same spot.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
majorstrain
Active Member
Offline
Posts: 27
Re: Possible to keep limits enabled during home?
«
Reply #14 on:
April 06, 2011, 05:53:19 PM »
Hi kf2qd,
Your right, you should not be able to drive past a limit but the issue arises because during Mach's home sequence the limit signals are disregarded as limits even though I have them on different input pins from the home switches.
This whole issue only arises in a Home routine. Any other time the limits are detected as limits.
For the people that use a limit switch input for homing this is not a problem, their limit is being detected as a home location.
I have separate inputs for all my home and limits switches. I use hall effect sensors for the switches and run an active low system.
My home location on the X axis is 20mm inside my limit location. The X axis is the only axis I have ever had trouble with. Even with mechanical switches you would still have a dead space between the two locations.
LIMIT----HOME-------------------------------------------------------------------------------------------LIMIT
If in the unlikely event I start a home sequence inside that 20mm space, then the home location is on the wrong side of the movement direction. Because of the Mach Home sequence the limits are disabled as limits and the machine will drive past the physical limit location looking for a home input.
Hope this clears it up.
Cheers,
Phil
The reason for the OEM trigger set up is to effectively keep the limits enabled through a Home sequence so you cant drive passed them.
«
Last Edit: April 06, 2011, 05:55:45 PM by majorstrain
»
Logged
kf2qd
Active Member
Offline
Posts: 118
Re: Possible to keep limits enabled during home?
«
Reply #15 on:
April 06, 2011, 09:20:33 PM »
Quote from: ger21 on April 06, 2011, 05:20:55 PM
Quote
You should not be able to drive past your home switch. (shouldn't be able to drive past your limit switches either...)
Are you saying separate home and limit switches is a bad design? Because if they are separate, you'll have to go past one of them, unless you set them to the exact same spot.
NO - Homing switches should have some sort of mechanusm that keeps them tripped after you pass teh leading edge of the home switch, UNLESS you trust the operator to ALWAYS make sure they position the machine properly BEFORE starting the homing sequence.
You could have a home position that is mid travel, you would just need a very long cam to keep the switch tripped as long as you are on the "wrong" side of the switch. A proper homing switch should stay tripped as long as the machine is physically past the home switch in the homing direction. Either that, or you must create a homing sequence that will ALWAYS place the machine physically on the proper side of the switch BEFORE doing the actual homing sequence.
The only other homing sequence I have seen hits the switch 2 times in the homing direction - it goes toward the homing switch at high speed, when it hits the homing switch the axis reverses travel and moves off the homing switch and then moves toward the homing switch at low speed.(machine had 100 foot travel) It then sets home when it trips the switch. In this case a home switch that you could go past has the potential to be a real problem.
Sorry - I think you should design your homing switches/cams so they function in a more standard way, not require a software change for a sub-optimal design.
Logged
majorstrain
Active Member
Offline
Posts: 27
Re: Possible to keep limits enabled during home?
«
Reply #16 on:
April 06, 2011, 10:02:19 PM »
There is a deeper issue than just how the home switch is set up.
The underlying issue is that the limit switches are not active (
disregarded
) during a home operation.
Just having the home on a cam setup will not sort out issues like a damaged home cable or inoperative switch. If this happens and your setup is active high your axis will sail on past your home position
and your limits
I run an active low setup, if the cable is cut then it will be as if the home or limit switch is active. Even with this set up and I get a cut cable then following the logic or the home sequence reversing direction to look for the change of the Home switch from active to idle the axis will just travel full length and sail on past the other end limit because it is disregarded.
Like I said, the issue is not the home switch set up but the fact that the limits are
disregarded
during a home operation.
This OEM Trigger set up gets around that limitation for those that run separate limit switches from their home switches.
I have no issue with those that run limits and homes on the same input or that Mach is set up to enable that type of system.
That's enough from me now. The OEM setup has been outlined for those who wish to do it, and the reasons behind the requirement to do so are (I think) clear.
Regards,
Phil
Logged
Overloaded
Global Moderator
Online
Posts: 3,072
Re: Possible to keep limits enabled during home?
«
Reply #17 on:
April 07, 2011, 07:29:33 AM »
Hi Phil,
Looks like this would work as well ... provided you were not too close to the opposite end of the travel from your home sensor, then it would just hit the limit and then go into EStop. Then just jog off 30mm or so and re-reference.
Where ever the table is, it will move +25mm, then run the HOMING sequence as normal.
Just another possible option.
Having fun learning,
Russ
ScreenHunter_02 Apr. 07 07.54.jpg
(26.36 KB, 679x243 - viewed 31 times.)
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
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...