MechMate CNC Router Forum

MechMate CNC Router Forum (http://www.mechmate.com/forums/index.php)
-   70. Control Systems (http://www.mechmate.com/forums/forumdisplay.php?f=28)
-   -   Limit Switches - optical / mechanical / proximity (http://www.mechmate.com/forums/showthread.php?t=584)

javeria Fri 30 May 2008 05:34

Sorry if I am interrupting, but look at this one,seems to be a nice package for the limits and affordable too.http://cnc4pc.com/images/C16R1_A.jpg
http://cnc4pc.com/images/C16R1_D.jpg

http://www.cnc4pc.com/Store/osc/prod...roducts_id=183

what say? is it comparable enough to the proximity switches?

Richards Fri 30 May 2008 08:32

The opto devices will work, BUT, as always there may be a problem.

As you can see, the device is built in a "U" shape. On one side of the "U" is the infared LED, on the other side of the "U" is the detector. In the face of the "U", is usually found a hole (1/8", 3mm). That hole is small enough that dust and debris can easily clog it. Normally, whenever the light beam is interrupted, whether by clogging or by sensing the target, the machine would stop.

With the amount of heavy dust that a CNC router makes, it would be very difficult to use that kind of detector.

dmoore Fri 30 May 2008 17:02

I'm sure you could make these work, though be aware of:
  • These are optical based sensors and thus can be triggered by dust or chips
  • Requires redesign of the X and Y stops. Also, due to their size, they would have to be very percise
  • The current design with proxys allows for tripping if the X or Y come off the rails anywhere between to ends (they do this by looking for the rail and then tripping when they don't see it). To do this with these sensors, it would require a vertical rail along the entire length of X and Y.
  • If the gantry or car jumped off the rails, it would likely break the sensors
  • The cords (6' each) are too short and would have to be lengthened
  • There will be a much higher possiblity of accidental tripping due to the low voltage of the sensors and lack of shielding cables
  • The kit includes 6 sensors, the MechMate only requires 3 (or four if you want a sensor on both sides of X)
  • It is possible to use industrial proxy sensors with relays for about the same price. I purchased mine from automation-overstock.com, the proxys were $10 each ($40 total) and the quick disconnect 15ft cables were $5.50 each ($22 total). Add to that about $10 in relays.

smreish Fri 30 May 2008 18:18

I should have take a picture of my machine today.
The "snow plow" effect was working well. I had inches of buildup on the end of the machine and proximities worked the whole time.

Optical scares me in this application.

Sean

dmoore Fri 30 May 2008 21:54

Quote:
Originally Posted by Richards View Post
Sometimes, it seems like we try to find the most difficult way to solve a simple problem. All of the suggestions on this thread would work, but most are overly complex.
I believe you are correct. In the end I used four relays I pulled from junk yard cars. Total cost: $2.

ekdenton Fri 30 May 2008 23:36

Found some interesting reading about the capacitive proximity switches. I kind of understand now why the dust doesn't affect them.



http://www.kirbyrisk.com/allen-bradl...ximit/2922.pdf

javeria Sat 31 May 2008 01:42

Thanks all for your inputs. anywayz this thread does point to wiring of the proximity switches to the mechmate control box dosnt it........wait let me look back.

bbreaker Sat 31 May 2008 01:43

how, thank's a lot for this reading, i understand a lot of thing's now i start with this.

a question to Gerald, how did you fix the proximity target in 20mm hole after adjustement.

thank's

ekdenton Sat 31 May 2008 09:02

hi mickey, I haven't seen any posts lately by gerald he must still be on vacation.
If you epoxy them it would be a permenant set, would it be better to use a spot of silicone? That stuff holds well but yet can be removed later if needed, and it shouldn't take much at all to hold those into place.

I am not sure if you would ever need to remove them if they are in the correct spot but for some reason it seems IMHO not to epoxy or JB weld them into place.

bbreaker Sat 31 May 2008 09:12

ok ED thank's, i go with epoxy it's very strong and if i make litle spot i can remove it if i whant to make change.

smreish Sat 31 May 2008 17:10

The adjustment for the proximity limit can be either with the ecentric disk that is in the drawing package, or, like I have done, have a G-code offset programmed into mach 3. This lets you home the machine to what-ever the proximity limit is, then the machine offsets each time back to the G-code values.
It's a great thing to know you can rehome a machine to the "HARD" limits and find your soft position again. I have found that even if I E-stop the machine and reset everything, I was able to get back to where I stopped. NOW, I don't recommend this method...I was just curious to see If I could do it!

Gerald D Sun 01 June 2008 06:06

Quote:
Originally Posted by bbreaker View Post
how did you fix the proximity target in 20mm hole after adjustement.
Havn't done it myself yet, but I thought that masking tape over the top would work???

javeria Sat 07 June 2008 23:14

Whats difference between a npn and a pnp NC proximity switch.

Gerald D Sat 07 June 2008 23:54

PNP
NPN

javeria Sun 08 June 2008 12:11

Thanks G' got it!

javeria Thu 12 June 2008 23:40

1 Attachment(s)
My proxi setup

Works wonderfully well !

shaperx Sat 14 June 2008 21:41

Sean, In your post May 14th you set Map home to pin #15 are you putting Y++ ,Y-- ,x++, x--,z++ and z-- all to pin #15?

smreish Sun 15 June 2008 10:03

Yes,
Everyone is mapped to the same input.
Mach knows how to cycle the inputs based on the active axis when homing.
Sean

ekdenton Tue 24 June 2008 14:35

Quote:
Originally Posted by shaperx View Post
Sean, In your post May 14th you set Map home to pin #15 are you putting Y++ ,Y-- ,x++, x--,z++ and z-- all to pin #15?
Mark,
Sean is right but it doesn't have to be pin #15 in peticular, I think I used pin #12. I wasn't sure if you may have been asking if a different pin besides #15 would work. Anyway any of the unused pins except for GND on J5 will work as as long as you map home to the same pin that your proximities are hard wired to. Don't forget to also map home your slave motor too if your using one on your x axis. I figured that one out after some gear grinding.

Robert M Tue 24 June 2008 18:42

Hi Sean & Greg,

I was reading back into this thread and it slap me right in my face !!:eek:
For some reason I can’t remember why or it got lost ( I doubt that one !) I never got back to thanks you guys for the extra effort & time for your reply to my call !! (#136)
Sorry, no offences guys :o:o
Amicalement, Robert ;)

javeria Mon 01 September 2008 09:35

HI Folks,

while setting up my other CNC machine where I have used the proxi's i came across people tellin me that u need a good machine zero setting so that when power fails - the software uses the machine zero to accurately position itself relatively to the job.

so the Q here by me is - are the proxi's good enough to be used for Zeroing the machine in case of power failures - I am still learning folks - hope this Q is not a dumb one.

RGDS
IRfan

Gerald D Mon 01 September 2008 10:10

That is a question that most people should think to ask, but they don't. ;)

Apparently, the prox switch is very "repeatable" and switches at exactly the same distance every time, provided that you always approach the "target" at the same speed. This is what I hear from the regular users - havn't tried it myself yet.

paco Mon 01 September 2008 10:36

I use proximity switches to calibrate/zero my machine ion X and Y.

No matter which type of zeroing system you use (and how much you pay for), you should test it with a dial indicator to see how accurate you can recover a cut after an event such as a power failure or machine crash.

My system get me back to work within 0.005" +/- 0.002 which is very acceptable for my requirements... and it was very affordable (proximity switches).

javeria Mon 01 September 2008 10:47

I believe that once limits and home are set in Mach, mach slows down the machine when approaching them, so we might assume that the limits approach the targets with a similar velocity every time.

aint that right!

javeria Mon 01 September 2008 10:49

Thanks G and paco, its relieved me of tension on the proximity switch front.!

:)

javeria Fri 05 September 2008 18:46

HI G' and All,

This is particularly a Q on Mach and the proximites, so kindly move this thread if this is not in the right place.

I put on the proximites like we did here on my other cnc - all 3 of em now report to Pin11 on the parallel port. I have the auto limit over ride activated.

Now if I move the X towards limits and then then the limits are activated and then reset - and the axis remains in the same position - and now Y is in movement then we have a situation where the other limits dont work.

My Q is -
1. will this be a problem?
2. Am I doing some thing wrong by activating the Limit Auto Overide.
3. Since I have not yet homed the machine, will it be a problem in homing the machine axes? as once Y has homed then the limits get activated and then X needs to be homed and still the limits are activated - i mean all the proxies report to the same pin right?

4. Do ya think I still need a lesson in Mach for proximities settings?

thats it folks

RGDS
IRfan

J.R. Hatcher Fri 05 September 2008 19:59

If I understand your situation right, the limit override is there so you can move the active axis off the limit switch then continue.

javeria Fri 05 September 2008 21:30

what about homing the axis initially, I will try it today though.

ekdenton Sat 06 September 2008 09:15

JR is right from what I understand in Mach 3 the overide button is to move away from a tripped limit switch or sensor.

there should be some info on the initial set up earlier in this thread if I remember correct, but you will have to go into Mach 3 and set your home coordinates, also assingn the pin # on your BOB that you have your sensors wired to and then go to homing in mach 3 and assign the axis's to home. I think I had to watch the the Mach 3 tutorial a few times on homing before I figured out what to do. Don't forget to assign the slave motor also so you don't grind your pinion gears when you try to home. If you have it set up correct you can hit the ref all home button in mach 3 (long vertical button by the axis coordinate buttons) and it should start traveling twards home. Mine all went the right direction the first time but I think it is possible that sometimes they will move the wrong direction and you will have to correct this. (I forgot already how to reverse direction but I know Gerald has a post somewhere on that if it happens, it is pretty simple to do).

javeria Sat 06 September 2008 12:06

yup even me after seeing the videos - the homing in Mach - is like it sees the limit switch and then comes back a step, but what I did not understand is the setting of soft limits - anyways learning and learning as usual

and yes it was number 4

"4. Do ya think I still need a lesson in Mach for proximities settings?"


:)


All times are GMT -6. The time now is 20:20.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.