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, 03:32:20 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
General Mach Discussion
same switch for all 3 x axis requirements
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: same switch for all 3 x axis requirements (Read 672 times)
0 Members and 1 Guest are viewing this topic.
spaceman
Active Member
Offline
Posts: 9
same switch for all 3 x axis requirements
«
on:
October 14, 2010, 08:10:35 PM »
Can I set 1 switch for X++ and X-- and X Home? I've tried to wire it this way with all three switches using one cable on Port 1/Pin 10 but can't get Mach 3 to Ref Home. The Limit function of the switches works but not the home.
Logged
I let my mind wander once.... it never came back
whitehedr
Active Member
Offline
Posts: 6
Re: same switch for all 3 x axis requirements
«
Reply #1 on:
October 15, 2010, 12:58:54 AM »
You can use one switch if you want. You just need to locate it so a trigger device at each end of the travel
will trip the switch at the right time. You can use two or three switches each wired to an input if you want
but that is wasteful of the inputs to Mach.
I set my system up so that one switch does X++, X- -, and X home. Set X++ to the same pin and port that you specify for
X - - and X home. Then make sure that the system is setup so that the condition is the same for all three functions.
That is all three must be looking for a high OR a low.
I would suggest that you set your system up so the contacts are normally "closed" and then open to say that
the limit is reached or that the axis is homed.
You can use one switch to do both the limit function and the home function.
When you tell Mach to Ref Home the system is looking for the switch to change state. When it sees the state change
it will then reverse direction until the state change goes away. You are then homed. All other times the system
is looking at that switch as a limit switch and will act accordingly, stopping movement and requiring a reset.
RWW
Logged
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: same switch for all 3 x axis requirements
«
Reply #2 on:
October 15, 2010, 02:03:36 AM »
Further to what has been said you can use two Normally Closed switches per axis and have them wired in series, you can then wire the other axis switches in series with them and that way you will only require one input to Mach for all axis.
Hood
Logged
spaceman
Active Member
Offline
Posts: 9
Re: same switch for all 3 x axis requirements
«
Reply #3 on:
October 15, 2010, 08:05:58 AM »
Thanks for the responses guys. Reading my OP, I realized I didn't quite word my setup correctly. I have 2 switches for each axis. One at ++ extreme and one at -- extreme. Each axis is wired to a single pin. X on 10, Y on 11, and Z on 12. I just can't get the Home to work yet with this setup. I did find a couple of articles about debounce and will play with that to see if it works and will report my findings. Right now, when I home, it only works if I disable ++/-- and have the switch active as Home. If the ++/-- is enabled, the axis gets to home and then ( I'm guessing) the switch acts like a limit and triggers an Estop.
Thanks again!
Slainte Mhath Hood
«
Last Edit: October 15, 2010, 08:08:22 AM by spaceman
»
Logged
I let my mind wander once.... it never came back
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: same switch for all 3 x axis requirements
«
Reply #4 on:
October 15, 2010, 08:08:48 AM »
Do the machine coords zero?
Hood
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: same switch for all 3 x axis requirements
«
Reply #5 on:
October 15, 2010, 08:35:25 AM »
DO you have the 2 switches wired in series ?
Just a thought, (;-) TP
«
Last Edit: October 15, 2010, 08:37:01 AM by BR549
»
Logged
spaceman
Active Member
Offline
Posts: 9
Re: same switch for all 3 x axis requirements
«
Reply #6 on:
October 15, 2010, 09:33:46 AM »
The home function didn't work at all so the coords don't zero. Mach 3 interprets the switch, even in the home function as a limit.
UPDATE: it now works in Ref Home because I set the debounce. I'm going to add capacitors to see if that quiets everything.
DBR549: the switches are in parallel
Logged
I let my mind wander once.... it never came back
Hood
Active Member
Offline
Posts: 17,362
Carnoustie, Scotland
Re: same switch for all 3 x axis requirements
«
Reply #7 on:
October 15, 2010, 09:38:35 AM »
If it was a bouncing switch, which it seems as debounce is working, then it should have zeroed the machine coords. Reason is Mach would have thought homing was complete and reactivated the inputs as limits, so it would trigger the E-Stop.
Hood
Logged
whitehedr
Active Member
Offline
Posts: 6
Re: same switch for all 3 x axis requirements
«
Reply #8 on:
October 15, 2010, 09:47:39 AM »
You stated that the axis switches are in parallel. I strongly recommend that
you change that configuration to a series configuration using the normally
closed contacts on the switches. I think that will fix your problem.
RWW
Logged
spaceman
Active Member
Offline
Posts: 9
Re: same switch for all 3 x axis requirements
«
Reply #9 on:
October 15, 2010, 05:02:08 PM »
Quote from: whitehedr on October 15, 2010, 09:47:39 AM
You stated that the axis switches are in parallel. I strongly recommend that
you change that configuration to a series configuration using the normally
closed contacts on the switches. I think that will fix your problem.
RWW
Are you concerned about the axis crashing if a switch fails or is there another reasone behind it?
Logged
I let my mind wander once.... it never came back
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...