Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: inivator on June 22, 2008, 03:16:44 PM

Title: Limit Switch Problems
Post by: inivator on June 22, 2008, 03:16:44 PM
I've got the limit switches working in series, but if I engage one with my machine, how do I configure the software to move off the LS.  Soft limits or what.  Also how do I show my configuration page on the forum?

Inivator ???
Title: Re: Limit Switch Problems
Post by: Chip on June 22, 2008, 04:18:42 PM
Hi, Inivator

On Settings page use, Auto Limit Over-Ride or Manual Limit Over-Ride (Reset Button) Jog off the limit.

Many are using Screen Hunter Free  http://www.wisdom-soft.com/sh/index.htm

Chip
Title: Re: Limit Switch Problems
Post by: inivator on June 23, 2008, 08:56:48 AM
That worked, thanks Chip.

How do I set configurations for homing x,y,z, with this setup...? What is the proper G code commands for this?
Answer E-Mail address. r.morrison@ssss.com or inivator@aol.com.
Title: Re: Limit Switch Problems
Post by: Hood on June 23, 2008, 03:19:00 PM
That worked, thanks Chip.

How do I set configurations for homing x,y,z, with this setup...? What is the proper G code commands for this?
Answer E-Mail address. r.morrison@ssss.com/inivator@aol.com.

What are you wanting to do? What are you wanting the G Code for?

Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 25, 2008, 03:13:20 PM
Is there a proper G code line for homing x,y,z.  How do I configure softlimits, or do I need to.

Inivator
Title: Re: Limit Switch Problems
Post by: Hood on June 25, 2008, 03:26:13 PM
Referencing is done when you first start Mach and if you have had to press an E-Stop button or any other time that you could have lost steps, you Reference by pressing either the Ref All button or you can use the individual Referance buttons.
 Setting up softlimits is easy enough and is definitely a good thing to do, let me know where your home switches are in relation to your table movement and I will let you know how to do it.
Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 29, 2008, 10:23:52 AM
Home switches are in a - relation to table..  Also, where are the reference buttons?
Title: Re: Limit Switch Problems
Post by: Hood on June 29, 2008, 10:29:02 AM
OK but what I am meaning is when you reference you machine where is the table in relation to your tool, for exaple is the tool at the lower left corner of the table and the Z axis fully up.

Reference buttons are on the main page (Ref All button) and the sperate axis Reference buttons are on the Diagnostics page.

Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 29, 2008, 10:33:25 AM
X is in the lower left hand corner, and Z is full up.........
Title: Re: Limit Switch Problems
Post by: Hood on June 29, 2008, 10:44:28 AM
OK then thats simple enough to set up as you dont have to bother about Home Off dimensions.
OK go into homing and limits and enter 0 in X and Y min bozes and also in Z Max box. Then for X and Y Max enter the axis travel and same for the Z min.
 You can then set up a slow zone so that the axis will start to slow down as it aproaches a limit switch allowing your motors to decellerate before they reach the limits.
An easy way to get your axis travel distance is home the machine and switch to viewing machine coordinates. You then jog each axis to the opposite end of its travel and read the DRO and that is your travel.
Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 29, 2008, 10:51:37 AM
Thanks for the help Hood, I try everything you have told me, and will let you know the outcome.

Again, thanks...........

Inivator
Title: Re: Limit Switch Problems
Post by: Hood on June 29, 2008, 10:55:04 AM
no problem, you will get there in the end :)

Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 29, 2008, 01:45:39 PM
COULD YOU PLEASE SEND ME A SCREEN SHOT OF THE HOMING AND LIMITS.
Title: Re: Limit Switch Problems
Post by: Hood on June 29, 2008, 01:54:53 PM
Here you go.
Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 29, 2008, 02:01:24 PM
I'M SORRY HOOD, I ON A DIFFERENT COMPUTER.....THIS IS INIVATOR
Title: Re: Limit Switch Problems
Post by: Hood on June 29, 2008, 02:03:54 PM
Yes, your name gave that one away ;)

Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 30, 2008, 10:44:18 AM
Hood sent a screen shot of the setting I need, but I did not understand his direction.  My machine is x=40, y=16.5, and z =4.  x0 and y0 are in the left hand corner. Can someone send me a screen shot with the correct setting.  Z down is -.

Thanks

Inivator
Title: Re: Limit Switch Problems
Post by: Hood on June 30, 2008, 11:00:56 AM
Xmin is 0, Y min is 0,  Zmin is -4
X Max is 40,  Y Max is 16.5,  Z Max is 0

Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 30, 2008, 11:33:44 AM
Thanks  you sir....................

Inivator
Title: Re: Limit Switch Problems
Post by: inivator on June 30, 2008, 11:38:39 AM
From the MDI screen, will G28 send the axis to home.
Title: Re: Limit Switch Problems
Post by: Hood on June 30, 2008, 11:47:08 AM
G28 will send it to your home position but it will not reference (Home) your machine. What I mean is you will have to do a reference first then any time after that if you do a G28 it will go to that position. The reference (homing) procedure actually moves the machine and looks for the switches, it will trip them then reverse and wait until they are shut again then set that position as your machine coordinates zero position.
Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 30, 2008, 01:24:36 PM
How do I do the reference procedure?
Title: Re: Limit Switch Problems
Post by: Hood on June 30, 2008, 01:27:22 PM
Press the Ref All Home button.
Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 30, 2008, 01:48:14 PM
Thanks you very much, again. I hope this is the end of my stupid questions...............

Inivator
Title: Re: Limit Switch Problems
Post by: Hood on June 30, 2008, 01:50:17 PM
The only stupid question is the one thats never asked :)

Hood
Title: Re: Limit Switch Problems
Post by: inivator on June 30, 2008, 07:19:59 PM
How do I set the distance off the limits switches that I want 0,0,0?

Inivator
Title: Re: Limit Switch Problems
Post by: Chip on June 30, 2008, 08:16:25 PM
Hi, Inivator

Use the pop-out pendant, (Tab key ON, Tab key OFF), Jog with it, Then zero your axises as needed.

Use the MDI line move G00 x# Y# Z#, Then zero your axises as needed.

Use Work Offsets, Saved in G55, G56,..........

There are several other ways also, Put it in your Reff  ALL button, G52 moves....

Hope this Helps, Chip
Title: Re: Limit Switch Problems
Post by: jimpinder on July 01, 2008, 12:02:26 PM
Innovator -

It is more than likely that the position that you machine stands at 0.0.0 is useless for normal macining.
There are two positions for a machine - one is machine co-ordinates - the other is program co-ordinates.

Machine Co-ordinates - This shows on the DRO's when your Machine Co-ordinayes button is lit. It is the position that the machine knows it is at. When you "Ref All Home" the machine moves to the switches in turn, each zero, and then the DRO's all change to zero in turn. You cannot change these DRO's. This position is probably usless for any general purpose machining.

If you than move the machine to where you wish to begin a program, the DRO's will move. If you then note that position, then this is an offset. It can be entered into a table using codes G54 to 58 then G59p7 to G59p255 so there are planty to go at.

If you then press the Machine C0-ordinate button, the light goes out - and the DRO's are now displaying Program Co-ordinates These are the co-ordinates that you use to run your program - and these you can set to zero.

Let us say you wish to use G56 in your program., so enter these co-ordinates in the table.

You "Ref All Home" - this sets your Machine Co-ordinates to zero - You then enter your offset - G56. If you now check your Program Co-ordinates by pressing the Machine Co-ordinates button, the numbers will not be 0.0.0 but will be your program co-ordinates. If you then do G0X0Y0Z0 your axis will automatically move to the place to start your program.

I hope that is clear - if not come back.
Title: Re: Limit Switch Problems
Post by: inivator on July 01, 2008, 03:08:58 PM
Well, it sounds complicated, but I will try it. It would be nice if there were boxes to inter values for the machine to move, once the limits have been reached, then the Dro's and the machine co-ordinates are set to 0, or what ever value you need. I have never set up the offset tables, so that is something else to do.

Thanks for the comeback, and the info....

Inivator
Title: Re: Limit Switch Problems
Post by: Hood on July 01, 2008, 04:22:05 PM
Its not really that hard and to be honest the majority of the time you probably dont need to enter any offsets into the table. I dont think I have ever done so, most of my work is placed on the table, I find my start point by jogging the axis via my MPG  then just zero each axis and thats all there is to it. If you have fixtures that can be placed accurately on the table (doweled etc) then often its good to have offsets in the table as you can place your fixture and call those offsets.

Hood
Title: Re: Limit Switch Problems
Post by: inivator on July 02, 2008, 07:24:41 AM
Thanks Hood.  I think that will work better for me.........

Again thanks

Inivator
Title: Re: Limit Switch Problems
Post by: jd1uth on July 02, 2008, 11:14:34 AM
Hallo I have also a problem whith te swithes when i have the home the good direction then the axis go the wrong way , when i change that de then the functions on the keybord are wrong
Title: Re: Limit Switch Problems
Post by: Chaoticone on July 02, 2008, 03:49:18 PM
What type machine are you running? Does the table move or the spindle?

Brett
Title: Re: Limit Switch Problems
Post by: jd1uth on July 02, 2008, 04:38:09 PM
Hello Brett

The machine is a  Zoltar    http://www.zoltar-cnc.nl/?p=classic
Title: Re: Limit Switch Problems
Post by: Chaoticone on July 02, 2008, 06:51:28 PM
JD, have a look at this thread and the link in it as well. I think they will fix you up.  :) If they don't we will try our best to.

http://www.machsupport.com/forum/index.php/topic,4327.0.html

Brett