Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Known Bugs
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?
February 12, 2012, 03:26:49 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
Third party software and hardware support forums.
Galil
(Moderators:
smurph
,
kcrouch
)
X,W home problems
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: X,W home problems (Read 945 times)
0 Members and 1 Guest are viewing this topic.
Dave3891
Active Member
Offline
Posts: 54
X,W home problems
«
on:
August 31, 2010, 03:55:23 PM »
I am trying to get a large machine that is a rack and pinion drive with encoders & scales on all axis's.
The X and W are slaved together, but when I use the home routine I can't get them to square even with the square settings.
The home and lower limit switch are the same, so I am using the limits as homes.
The problem is that it will home the X side and move off the switch, but then it stays on the limit on the W side and nothing happens.
Is it possible to write my own galil code for the home sequence?
I have the code from the old software, so I want to use the same galil commands to home the machine.
Thanks
Dave.
Logged
smurph
Active Member
Offline
Posts: 242
Re: X,W home problems
«
Reply #1 on:
September 01, 2010, 09:33:21 PM »
I think I found something... PM me your email addy and I'll send you a new plugin to try.
Steve
Logged
Dave3891
Active Member
Offline
Posts: 54
Re: X,W home problems
«
Reply #2 on:
September 01, 2010, 09:59:00 PM »
PM Sent.
I was looking at the old software's source code and it used the find edge galil command.
The procedure would sent the speed low, unlock the X and W, use find edge to stop on the limit switches (squaring the gantry) and then move off the switches even slower with find edge again, and relock the X and W.
I was thinking of writing a program into the galil card then calling it with a plugin message with a VB button if nothing else worked.
Dave
Logged
Dave3891
Active Member
Offline
Posts: 54
Re: X,W home problems
«
Reply #3 on:
September 02, 2010, 10:01:26 AM »
Well still no luck with the new plugin.
It does the X fine, but gets stuck with the W and then I can't move off because it is still on the limit switch of the W axis.
I am posting the debug file.
GalilDebug2.txt
(10.13 KB - downloaded 63 times.)
Logged
Dave3891
Active Member
Offline
Posts: 54
Re: X,W home problems
«
Reply #4 on:
September 02, 2010, 10:06:44 AM »
I should list my settings too.
I have gantry squaring checked in the plugin
X and W slaved with mach
Home slave with master axis Unchecked in general config
and I am just using a DoOEMCode(1022) for the home button
Logged
Dave3891
Active Member
Offline
Posts: 54
Re: X,W home problems
«
Reply #5 on:
September 02, 2010, 10:40:24 AM »
Here is the basic Galil code for the old home XW routine:
CN -1,-1
GR ,,,0
GM ,,,0
MO xw
DP 0,,,0
DE 0,,,0
SH xw
SP 10000,,,10000
DC 500000,,,500000
FE XW
BG XW
AM XW
SP 500,,,500
FE xw
BG xw
AM XW
IP 849,,,849
AM XW
DP 0,,,0
DE 0,,,0
GA ,,,X
GR ,,,1
GM ,,,1
Logged
smurph
Active Member
Offline
Posts: 242
Re: X,W home problems
«
Reply #6 on:
September 04, 2010, 03:21:36 PM »
Unfortunately, we can't use the FE command. It looks at the home inputs only and people may want to use limit switches as home switches. But I'm working on a fix for this that will work in every case.
Steve
Logged
Dave3891
Active Member
Offline
Posts: 54
Re: X,W home problems
«
Reply #7 on:
September 04, 2010, 04:28:06 PM »
Sounds good, just let me know of any updates that you want me to test out.
Thanks
Dave
Logged
smurph
Active Member
Offline
Posts: 242
Re: X,W home problems
«
Reply #8 on:
September 04, 2010, 07:54:56 PM »
Looking at your debug file, I see 22 Begin not possible due to limit switch." when trying to home your W axis. So homing the X is bringing your W into the limit switch and it is not moving off the switch. Is it possible you have your home and limit mixed up for the W axis?
Steve
Logged
Dave3891
Active Member
Offline
Posts: 54
Re: X,W home problems
«
Reply #9 on:
September 04, 2010, 08:31:49 PM »
The home and lower limit are wired together to use the same switch.
It was build like that so I left it as is.
All the axis's have a jumper wire for the home and lower limit
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
=> 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.
Loading...