Hello Guest it is April 18, 2024, 02:16:32 PM

Author Topic: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!  (Read 16355 times)

0 Members and 1 Guest are viewing this topic.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #20 on: December 17, 2007, 07:37:31 PM »
Hi, Bill

Your use of 6 series wired NC switches, That's fine.

If I'm following your post's correctly your issue is, It's homing but will not move to the popper position after homing.

Home OFF setting, Just set's the DRO on the screen to the Home OFF Value you've set.

As I Understand It, Example:

For a 10X 10Y 10Z Table,  If you want all axises to Home and move to the Center of table and Zero Out.

If your Home All to -X -Y +Z "Home Switch's Pos", There are actually -5X  -5Y +5Z on the Table.

Set Home OFF to -5 -5 +5, then Add ( code "G00 x0 y0 z0" ), To the end of your "Reff. All"  Button's as below.

To add this to your buttons, Operator, Edit Button Script, Click on the "REF ALL HOME" button that's flashing,  Add the, code "G00 x0 y0 z0" , then X, Yes to save.

DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

code "G00 x0 y0 z0"

Hope this Helps, Chip
« Last Edit: December 17, 2007, 07:39:04 PM by afn09556 »

Offline CNCwt

*
  •  65 65
    • View Profile
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #21 on: December 17, 2007, 10:40:29 PM »
Hi, based on your Ports & Pins pictures that you posted, I think there may be something wrong with it.

The first picture shows it is using only 2 input pins (11 & 15) while the 2nd one is using only 1 (15). If I am not mistaken, you need at least a minimum of 3 input pins to wire X, Y, and Z limit and home switches.

This is how I understand it:

If limit switches are wired in series for each individual axis with home switch utilizing one of the limit SW, then you need at least 3 input pins. Like:
X+ in series with X-, X- as home switch (Input Pin #11)
Y+ in series with Y-, Y- as home switch (Input Pin #12)
Z+ in series with Z-, Z+ as home switch (Input Pin #13)

If all axes' limits switches are wired in series, then separate home switches should be used for each individual axis. You will then need 4 input pins. Like:
X+, X-, Y+, Y-, Z+, and Z- are all wired in series (Input Pin #11)
X home switch (Input Pin #12)
Y home switch (Input Pin #13)
Z home switch (Input Pin #15)

The 1st one is how I wire my switches as the 2nd one will entail my using a 2nd parallel port.

I can be totally wrong as it does happen to me and someone correct me if I am.

Thanks,
Weedy



Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #22 on: December 17, 2007, 10:47:56 PM »
Hey Weedy,
    I didn't understand it at all when I first heard of it, but you can use one input for all of your homing and limit switches.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline CNCwt

*
  •  65 65
    • View Profile
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #23 on: December 17, 2007, 11:17:22 PM »
Hi Brett,

Do you mean I can use 6 limit switches, wire them all up in series and I can use only 1 input pin to have a complete 3-axis LIMIT and HOME switches?

Can we confirm this as I have the impression it cannot be?

Thanks,
Weedy

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #24 on: December 18, 2007, 12:31:01 AM »
Hi, Weedy

Yes, In Homing Mode, Mach nows which axis is moving, It's just looking for the  Switch to open, Then it Reverses the axis till the switch closes again.

In Limit Mode, Mach is looking for a switch to open to show a limit has been exceeded.

1 Pin, 6 Switches in series.

Thanks, Chip
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #25 on: December 18, 2007, 01:29:32 AM »
Well I am home from work now and jezz this is frustrating!

I tried the switch as hood stated ..... The SAME!

Chip,

Yes I am going to the limit switch when I hit Ref All Home, but ... I don't get the green home signal, I get all six switches in the yellow and I get a message, ..... External EStop Requested signal.

The code you gave me the ...... code "G00 x0 y0 z0" (copied in it's entirety) did nothing. I removed the word code and I get a little box that says Syntax Error.

Boy I don't know what else to do!!!!!!!!!!!!!!

Thanks for everything
Bill
« Last Edit: December 18, 2007, 01:31:27 AM by Bill CNC »
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #26 on: December 18, 2007, 01:35:38 AM »
I forgot to add the screen I am learning to hate! This is all I see every time I try to Ref All Home.

Bill
« Last Edit: December 18, 2007, 01:48:56 AM by Bill CNC »
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #27 on: December 18, 2007, 01:52:57 AM »
Chip,

Is this how the code should look when added?

Thanks
Bill

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #28 on: December 18, 2007, 02:20:36 AM »
Bill that message is not the one I was thinking of, I was meaning a message scrolling in the warning box. You dont have the eStop connected with the limits do you, or even the estop set up as the same pin as the limits?

Hood

Offline CNCwt

*
  •  65 65
    • View Profile
Re: Home and Limit Switches ... I'm Going Crazyyyyyyyyy!!!!!!!!!!!!
« Reply #29 on: December 18, 2007, 04:46:35 AM »
Hi, Chip and Brett,

Thanks for confirming that. I went thru the Yahoo group past messages and indeed, it was there. Nice to know that it can be wired that way now.

Weedy