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 28, 2012, 08:28:13 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
Ref All Home script
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Ref All Home script (Read 730 times)
0 Members and 1 Guest are viewing this topic.
swanner
Active Member
Offline
Posts: 57
Ref All Home script
«
on:
October 03, 2011, 07:36:17 PM »
I know I saw a thread about this not too long ago but I can't seem to find it...anyway, I'm trying to make my machine home Z first, then X and Y at the same time. Right now it does Z, then Y, then X; the script looks like this:
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: Ref All Home script
«
Reply #1 on:
October 03, 2011, 08:08:58 PM »
DoButton(24)
RefCombination(3)
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
swanner
Active Member
Offline
Posts: 57
Re: Ref All Home script
«
Reply #2 on:
October 03, 2011, 09:07:41 PM »
Tried that and it homes my Z and then my X moves (by itself) but goes past the home switch and trips the limit...?
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: Ref All Home script
«
Reply #3 on:
October 04, 2011, 10:45:23 AM »
Are your X and Y home switches using different pins? It should work.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
swanner
Active Member
Offline
Posts: 57
Re: Ref All Home script
«
Reply #4 on:
October 04, 2011, 10:50:25 AM »
I believe all the home switches are using separate pins. On the control board each axis has home/limit++/limit-- inputs if I remember correctly. If they were using the same pin how would it differentiate between them when it reaches one? I'll take a look at it in a little while.
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Ref All Home script
«
Reply #5 on:
October 04, 2011, 06:44:15 PM »
IF you are using the same pins for all homes and or limits then the combo routine may not work right. You would need to use the individual routines as to not confuse Mach3.
Just a thought,(;-) TP
Logged
Fastest1
Active Member
Offline
Posts: 443
Houston, TX
Re: Ref All Home script
«
Reply #6 on:
October 05, 2011, 06:50:35 AM »
Also be warned, if you use the same computer to run another machine with Mach 3 or even a different profile, the homing routine will change on all profiles. There might be a way to only call up that homing routine from a specific profile but it was more involved than I was patient.
Logged
I want to die in my sleep like my grandfather, not like the passengers in the car! :-)
swanner
Active Member
Offline
Posts: 57
Re: Ref All Home script
«
Reply #7 on:
October 05, 2011, 12:16:58 PM »
It's using three different inputs - on the diagnostics screen Z is M3Home, Y is M2Home, and X is M1Home, those are the LEDs that blink when the switches are hit. I'm only running one machine so no worries there.
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Ref All Home script
«
Reply #8 on:
October 05, 2011, 12:50:36 PM »
2 questions
If you run the rehome independantly for each axis does it work right?
Does your BOB use any of the multiplexing MUX routines were it shares pins with multiple functions?
(;-) TP
Logged
swanner
Active Member
Offline
Posts: 57
Re: Ref All Home script
«
Reply #9 on:
October 05, 2011, 01:13:19 PM »
Yes. Just tested. 24=z 23=y 22=x
And...uhhh....what??? Just guessing I would say no.
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...