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, 08:24:57 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
Setting machine Coordinates
Pages:
1
2
3
»
Go Down
« previous
next »
Author
Topic: Setting machine Coordinates (Read 2204 times)
0 Members and 1 Guest are viewing this topic.
castleworks
Active Member
Offline
Posts: 37
Setting machine Coordinates
«
on:
June 23, 2010, 12:26:32 PM »
Hi Ail,
I am having some difficulty with homing and machine coordinates.
When I jog the table so that all home switches are active and in their respective homes, how do I tell Mach that the current position is "HOME" Currently the machine coordinates show it to be in another arbitrary place and I cannot seem to set the current position to zero. I want to be able to test out the homing of the table and insure all axis go home properly and position properly.
Any suggestions?
A second question is, when my table moves the DRO's indicate the table has moved twice the actual movement of the table. Is this set up in the motor tuning section?
Thanks
Kevin
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Setting machine Coordinates
«
Reply #1 on:
June 23, 2010, 10:37:14 PM »
Well, you'll need to straighten out problem number 2 first, but we'll need some more info to help, are you running stepper motors or servos? Other info needed is screw TPI, additional gearing, microstepping?
Logged
castleworks
Active Member
Offline
Posts: 37
Re: Setting machine Coordinates
«
Reply #2 on:
June 24, 2010, 08:07:52 AM »
Thanks for the input...here are details on my setup
Using stepper motors all have a 1.8 degree / step
For X & Y axis Ball screw is 1" diameter with a screw lead of 0.5" Both are direct drive with no gearing.
Z axis has a pitch of .1"
I am not sure how to answer your question on micro stepping. I am using Gecko G203V drives for each axis.
I had run through the calculations on the motor setup, but I am guessing I doubled something by accident.
If you need additional information let me know. I really appreciate you assistance.
Kevin
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Setting machine Coordinates
«
Reply #3 on:
June 24, 2010, 12:36:46 PM »
Forgot to ask, how many starts do your screws have?
I'm no pro with this stuff, I've only done it a few times, but here's my calculation, based on a single start screw:
direct drive motors, so no gear reduction.
1.8 degree motors = 200 steps per rev.
10x microstepping = 2000 steps per rev. (according to gecko's website for the G203V)
5tpi 1 start screws = 10000 steps per unit (inch in this case).
If you want to run metrics, divide 10000 by 25.4 = 393.700787 steps per unit (mm this way)
Someone please correct me if this is wrong.
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Setting machine Coordinates
«
Reply #4 on:
June 24, 2010, 01:55:31 PM »
As for your question about homing, I have a modified screen set, so the wording may be a bit different, but the basic idea is the same. Make sure you've got your steps per unit all figured out before you work on this, or your numbers will be wrong.
First, move your machine manually to somewhere in the middle, well away from any limits, and click reference all home, but be ready to hit stop. Note which direction each axis is moving. If any of them are moving away from the limit switch, click Config->homing & Limits, and check reversed, or home neg to correct it. Also make sure Auto Zero is enabled. Once you have all axes moving towards their respective limit switches, you can start setting up the limits.
Click reference all again, and let each axis hit the switches, but again, be near the e-stop button in case they don't stop like they should. If this all works as it should, this will tell mach3 where 0,0,0 is at, and will reset each machine coordinate to zero.
Next run each axis manually as far as you'd like it to move, and enter the number from the respective DRO into the homing and limits config page.
Last, soft limits must be enabled if you want the machine to actually use these constraints.
The setup is different for each machine depending on its configuration, wiring, LH/RH screws, etc. so you may have to fiddle with the settings in the homing & limits page to get things working as expected.
Hope all this helps
Z
Logged
castleworks
Active Member
Offline
Posts: 37
Re: Setting machine Coordinates
«
Reply #5 on:
June 25, 2010, 08:09:00 AM »
Hi Zaaephod,
Thank you for the assistance on this. I entered the motor calculations per your suggestion, moved to the center of the table and clicked on REF ALL HOME All axis briefly moved, and I believe Mach 3 thinks it is already at home.
My home switches are active low and each input pin is showing high when I reference all to home.
I have verified when the home switches activate the respective input pin goes low. and operates as I would expect.
ACTIVE LOW is checked on the input settings section.
If I uncheck this, setting it to active high and then reference all to home Mach 3 tells me "Requested Home axis home switch is active, please fix then home." I would expect all this if I am thinking correctly.
For my home switches I am using NPN proximity switches, the respective input has a 2.2K pull up resistor to 5V. When the home switch activates, the pin goes low.
Hmmm What am I overlooking?
Thanks
Kevin
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Setting machine Coordinates
«
Reply #6 on:
June 25, 2010, 08:53:51 AM »
Kevin,
Have you configured the input pins under Ports & Pins? I guess I didn't go over that. The input signals tab lets you set up what pins are for what signal in mach.
For example, XHome enabled, port 1, pin 11 for me is my X limit switch. I'm betting this is what you're missing.
Logged
castleworks
Active Member
Offline
Posts: 37
Re: Setting machine Coordinates
«
Reply #7 on:
June 25, 2010, 10:21:18 AM »
Actually I have all that set up my home switches are on port 1 pins 15, 13, 12
I can see these indicators toggling on the diagnostics screen when I manually jog the table to each home switch.
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Setting machine Coordinates
«
Reply #8 on:
June 25, 2010, 11:03:37 AM »
It sounds to me like you've got everything set up then. I'm sure we're just missing something simple here, but it's so hard to tell without seeing the configuration. If you'd like, you can post your XML file and I'll take a look at it when I can. Problem is, over the last few months, I've quoted a bunch of jobs and, just as expected, they all showed up at once, with deadlines that are painfully close. I won't be around again until later tonight or tomorrow.
Off to make some chips
Logged
castleworks
Active Member
Offline
Posts: 37
Re: Setting machine Coordinates
«
Reply #9 on:
June 25, 2010, 03:55:42 PM »
I agree I am overlooking something simple. Here is the XML file.
One observation I just noticed....I disabled the ESTOP input on the config screen, because I am not using that input. However each time I disable it, save the settings and exit. The next time I go back into the input settings it is enabled. perhaps this is what is shutting me down??
CastleWorks V2.xml
(146.74 KB - downloaded 75 times.)
Logged
Pages:
1
2
3
»
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...