Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: creep_pea on July 29, 2006, 12:45:56 PM

Title: Softlimits
Post by: creep_pea on July 29, 2006, 12:45:56 PM
Hi

I've noticed that the soft limits work brilliantly when jogging the machine around, I've got them set so they slow the axis right down before stopping just before the limit switch but when I ran a program the soft limit still work but no longer slow the axis down before it reaches the soft limit allowing it to carry on far enough to trip the machine out on the limit switch. Am I doing something wrong or do they all do that?

I'm very new to Mach 3 and have only just set my machine up to work with Mach 3 so please excuse me if my question is a bit silly.

Cheers

Chris
Title: Re: Softlimits
Post by: Hood on July 29, 2006, 02:55:45 PM
Hi Chris, great to see you here. Not sure if I can help you with your question as I cant remember whether the slow down happens when running code and my mill is not handy to test it out. One thing you could do however is make your soft limits a few mm in from the physical limits, obviously its not ideal but it may help for the time being.
Hood
Title: Re: Softlimits
Post by: creep_pea on July 29, 2006, 04:51:01 PM
Hi Hood

I tried putting the softlimits a little away from the limit switches and while it does stop it going into overtravel the motors don't seam to like it, it sounds like they hit the end of the ball screw (a real loud thud), I would much prefer them to deaccelerate as they do when jogging, thought there would just be a tick box somewhere that I had missed.

Cheers

Chris
Title: Re: Softlimits
Post by: Hood on July 29, 2006, 05:04:53 PM
Now you come to mention it I seem to recall the "thud" sound , so maybe the slow zone is only active in jog. Dont really think it will harm the motors just it doesnt sound too good and the same would happen if it hit the physical limits anyway. Best thing to do is once you have your zero position set and your code loaded change the display mode to table view and you should see whether you will be near any of your limits.
Hood
Title: Re: Softlimits
Post by: creep_pea on July 29, 2006, 06:18:51 PM
Yeah, I've got my display mode on table view but you can't see the Z axis which is the one that is most likely to go past the limits.

Like you say I don't think it will do the motors any harm but I guess it will lose steps when this occurs which I thought was the reason for having softlimits.

Cheers

Chris
Title: Re: Softlimits
Post by: Hood on July 29, 2006, 06:22:37 PM
table view should show the Z as well, you just need to use your mouse to skew the toolpath window. Dont think the motors will loose steps as the thud is surely them stopping abruptly and Mach will be at the same position. If I remember I will test this out tomorrow as I have glass scales fitted to my mill and I will be able to see if there is any discrepancy between them and mach.
Hood
Title: Re: Softlimits
Post by: creep_pea on July 29, 2006, 06:46:43 PM
"table view should show the Z as well, you just need to use your mouse to skew the toolpath window" Oh I, didn't know that, thanks

Just had another idea is it possible to slow the feed down when a switch is triggered as there is already a switch mounted and wired up for this very purpose that the original control used when homing the z axis (Bridgeport Boss). It used to rapid travel up to this switch then slowly feed up onto the home\limit switch.

Cheers

Chris
Title: Re: Softlimits
Post by: Hood on July 29, 2006, 06:51:52 PM
Dont think so, but I am fairly new to mach so there might be, maybe Brian or someone else will know for sure.
Hood
Title: Re: Softlimits
Post by: creep_pea on July 29, 2006, 07:12:02 PM
Alright thanks again.

Just been looking at what you said about it showing the z axis, I notice it doesn't take into account of the the tool length offsets so it doesn't really help but thanks for trying.

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on July 29, 2006, 08:10:38 PM
I think we should add in code to look and see if the machine can run the program :) We Know if it is not going to fit..

That would take care of the thud  ;D
Title: Re: Softlimits
Post by: creep_pea on July 30, 2006, 04:22:38 PM
I think we should add in code to look and see if the machine can run the program :) We Know if it is not going to fit..

That would take care of the thud  ;D
Thanks Brian, just out of interest how do "we know if it is not going to fit.."

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on July 30, 2006, 09:43:47 PM
Mach 3 knows the Max and Mins of your program in machine cords and can tell if it is going to run past the softlimits :) SO You will just get an error telling you that it will not fit... Is that any help?

Thanks
Brian
Title: Re: Softlimits
Post by: creep_pea on July 31, 2006, 04:46:19 AM
Yeah that would be brilliant, might save some thuds ;D
Title: Re: Softlimits
Post by: Brian Barker on July 31, 2006, 08:17:32 AM
IT should be in the next release
Title: Re: Softlimits
Post by: creep_pea on July 31, 2006, 08:34:16 AM
Thanks, I'm looking forward to it.

Cheers

Chris
Title: Re: Softlimits
Post by: Leeway on July 31, 2006, 10:10:05 AM
Can't you tell now by running a simulation? I think I have tried it before and the simulation said the soft limits would trip or something to that effect. "Simulate Program Run" on the Toolpath screen.
Title: Re: Softlimits
Post by: Brian Barker on July 31, 2006, 10:49:33 AM
I just want to make it automagic ;)
Title: Re: Softlimits
Post by: creep_pea on August 31, 2006, 01:44:57 PM
Brian

Don't want to hasle you but did you ever manage to make it automagic

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on August 31, 2006, 09:36:20 PM
Yes it is in the latest dev version of mach3 :) If it is going to go past the softlimits it will give you a message when you press the cycle start.. or it should ;)
Title: Re: Softlimits
Post by: creep_pea on September 03, 2006, 06:14:59 PM
Thanks Brian I best download the latest version and give it a try.


Cheers

Chris
Title: Re: Softlimits
Post by: creep_pea on September 09, 2006, 09:59:49 AM
I've downloaded the latest version D1.90.090 and it does as you say warns you that "softlimits may be exceeded" but it seams to warn of this even when there not going to be exceeded.

Been having a play with it and it works well until I use a work offset or a tool offset, it seams to take these into account the wrong way around i.e. softlimits are set at +-100 in each direction, tell the machine to go to x100 with a work offset of x20, machine sets of without softlimit warning message but then hits the softlimits, tell the machine to go to x-100 with a work offset of x20, machine dissplays softlimit warning message but then doesn't hit the softlimit.

In this latest version when the softlimits are hit the program carries on running but stops the machine from going passed the softlimit, is this new or is it just me who's only just spotted it. For my machine this could cause problems as when the machine runs into the softlimits it losses it position.

Hope this helps you to sort it.

Cheers

Chris

Title: Re: Softlimits
Post by: Brian Barker on September 12, 2006, 10:49:07 AM
Could you please send me a program that is giving you an error and your XML? I will see if I can get it to work  :)
Title: Re: Softlimits
Post by: creep_pea on September 12, 2006, 01:42:20 PM
Hi Brian

I get this problem with all of my programs unless I don't use tool offsets and work offsets, I also have tried on different computers and even version D1.90.081 but they all have the same problem.

Here's the last program I used which didn't go near the softlimits but did have the warning message, I've also attached my tool offsets and work offsets. Oh yeah I was using G59 for the work offset.

Many Thanks

Chris
Title: Re: Softlimits
Post by: creep_pea on September 14, 2006, 06:15:39 PM
Brian

Any luck with this? or have you sorted it already, I notice there is a new version of Mach out will test it tomorrow.

I guess with you not getting straight back it not something silly that I'm doing wrong but something thats testing your skills.

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on September 14, 2006, 07:59:21 PM
It should be fixed... I know I worked on the code and had it working here :)
Title: Re: Softlimits
Post by: creep_pea on September 15, 2006, 05:57:42 AM
Thanks for trying Brian but unfortunately it isn't working on my computer.

I'm still getting the same problem it's like I've got the axes reversed or something, I'm running in Max CL mode if that makes any difference.

I've attached the test file I'm using to see if it works, the code runs fine with no work offset, if I put a positive offset in the machine runs on to its softlimits but doesn't warn me, if I put a negative offset in it warns me of exceeding the softlimits but goes no where near them? This happens in all the axes.

Thanks again for your efforts so far

Chris
Title: Re: Softlimits
Post by: Brian Barker on September 15, 2006, 10:24:38 PM
It is not in the new version... It should be n the next one...
Thanks
Brian

(Shoudl be Monday)
Title: Re: Softlimits
Post by: creep_pea on September 16, 2006, 02:31:13 AM
Whoops

I try again Monday

Cheers

Chris
Title: Re: Softlimits
Post by: creep_pea on September 18, 2006, 10:23:08 AM
Tried again today with Version 1.90.093 but still no joy ???

This time I never get a warning message even if I going to exceed the softlimits.

Cheers

Chris
Title: Re: Softlimits
Post by: creep_pea on September 20, 2006, 02:30:47 PM
Hi Brian

Sorry to keep bugging you, but I tried version 1.90.094 and I'm still getting no warning messages.

I realise this may not be to important as nobody else seams to have a problem or at least there not moaning about it but I'd like to see it working and it would save me some drive transistors. ;D

Thanks

Chris
Title: Re: Softlimits
Post by: Brian Barker on September 20, 2006, 10:21:54 PM
I will be working on that tomorrow :) Thank you!
Title: Re: Softlimits
Post by: Brian Barker on September 21, 2006, 09:01:01 PM
After testing for an hour I can't see a problem :( The only thing that I can that may be a problem is the G91 G28 Z0.0 ... I would like you to try changing them to G0 G53 Z0.0 It will do the same thing...

Could you get me a smaller test file that gives you trouble? Long files are a bitch... I spend hours watching the screen :(


Thanks
Brian
Title: Re: Softlimits
Post by: creep_pea on September 22, 2006, 05:31:20 AM
Brian

Many thanks for trying to sort this.

I've never had a problem with the G91 G28 Z0.0 line or that program for going into the softlimits, the problem I had with that program was it warn me that I would exceed the softlimits but it never did, this was with versions D1.90.081 &  D1.90.090, the later versions 1.90.093, 1.90.094 & RC2.0.a don't give me this warning even if they will exceed the softlimits.

When I go onto the softlimits is usually when I've got one tool longer than the rest of them and I call a line like this G43 H1 Z20. obviously it rapids straight up into the softlimit if the tool length is similar or larger than the Z work offset.

This is a test file I use to test the softlimits are working it's the same as the other one I posted a few days back but with a tool length offset also.

G0G54G90
G43H1Z-1.
X230.
Y150.
Z-60.
X0.
Y0.
Z-1.
M30

With my .xml if X, Y, Z, or H1 offsets are greater than 1 then the machine will go onto the softlimits, as I said earlier versions D1.90.081 &  D1.90.090 when on to the softlimits but gave no warning if I did this but if I put a offset less than -1 in it would give me a warning but then not go onto the softlimits, it was like there was a minus missing in a formula somewhere.
The latest versions I can't get them to give me a warning what ever I do.

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on September 22, 2006, 07:25:50 AM
I think I know what is going on here... Art has been working like a dog and I sent him the Code that I worked on and he just didn't add it to the biuld. It happens from time to time because he and I work on so many things at one time.

Sorry about that
Brian
Title: Re: Softlimits
Post by: creep_pea on September 22, 2006, 07:47:39 AM
Ah that kind of makes sense, kept thinking I must be doing something really dumb here with you saying it works.

One other thing, I've noticed the machine stops moving when it goes on to a softlimit in that particular axis but caries on with the program, it didn't use to do this and I'm not sure if it's a good idea or not, I think I'd perfer it to stop the program to be safe or have you got a good reason for it doing this?

Looking forward to the next release.

Cheers

Chris
Title: Re: Softlimits
Post by: creep_pea on September 25, 2006, 03:03:44 PM
Brian

I take it you haven't manage to hasle Art yet or if you have it's still not working. Tried versions RC2.0.b & c.

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on September 26, 2006, 06:43:12 AM
I have been working on other code and didn't know that he was going to put out a new release :( I have it on the list for tonight.

Sorry about that
Brian
Title: Re: Softlimits
Post by: creep_pea on September 28, 2006, 09:08:20 AM
Brian

Just downloaded the latest version (RC2.0.d) noticed you managed to get Art to put your code in.

Been testing it out, works brilliantly with work offsets and I like how it now tells you which axis is going to exceed it limits.  Thanks  :)

But I still having trouble when I use tool offsets I think you might of got a minus missing or one to many, as when I've got a positive tool offset, enough to exceed the softlimit I get no warning, do the same but change the tool offset to a negative value and I get a warning but don't go near the limit.

Also would it be possible to automatically regen the toolpath every time the start button is pressed or every time a offset is changed or even better regen the tool path on pressing the start button only when a offset has been changed.

Thanks

Chris
Title: Re: Softlimits
Post by: creep_pea on September 28, 2006, 09:38:37 AM
Here's my latest test file if you want to use it.

I'll let you guess what my next request will be :D I think you'll get it when you look at the file.

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on September 28, 2006, 09:06:38 PM
Art found a fre problems with the data that was getting sent to calc the limits and I think he may have a negitive where it should not be... if that is the ony thing that went bad it is a good day... Told him about the problem...

Thanks
Brian
Title: Re: Softlimits
Post by: ART on September 28, 2006, 09:37:10 PM
Thanks, Im looking into it, I must have screwed up a negative sign.

  As to regening, it shoudlnt be necessary , rezeroing is taken into account so an autoregen woudl only hurt, particularly on large files..

Anyway, Im off to the code base.. :)

Art
Title: Re: Softlimits
Post by: creep_pea on September 29, 2006, 04:34:12 AM
Quote
As to regening, it shoudlnt be necessary

I found if I just altered a offset then pressed cycle start it wouldn't give me a warning message even when I knew it would exceed the limits, this would only happen if the previous offset used was ok. I can see that you wouldn't want to do a autoregen as they do start to take a long time when the file size get large.

Would it be possible to include radius comp into the calculations as well, if not don't worry I'm not that fussed just thinking of other people.

Anyway keep up the good work.

Thanks

Chris
Title: Re: Softlimits
Post by: creep_pea on October 02, 2006, 06:56:21 PM
Hi

Just been trying the latest version, Version RC2.0f, unfortunately it still doesn't work correctly for me.

I'm having trouble with the tool offsets again but not as before. I can't quite work out what it's doing but it's not right.

Sorry for hassling you

Chris
Title: Re: Softlimits
Post by: Brian Barker on October 02, 2006, 11:14:57 PM
No problem... there is a new version on line and I don't know if Art worked on that :( I will try to talk to him about that when I see him down at the Camp.

Thank you for telling us that it is not right

Brian
Title: Re: Softlimits
Post by: creep_pea on October 09, 2006, 07:31:19 AM
Brian

Tried version RC2.0g, still no joy.

I'm guessing you already knew this but I thought I'd make sure.

Cheers

Chris
Title: Re: Softlimits
Post by: ART on October 09, 2006, 09:58:00 PM
Chris:

  Too general a report. I need to know exactly what your doing when you get the error. Does it happen only when you get a
G43 loaded up, or what?

Art
Title: Re: Softlimits
Post by: creep_pea on October 11, 2006, 06:37:45 PM
Art

I think you have the tool offsets put on the wrong way, when running my little test program all works well with the work offsets but when using tool offsets it messes up.

If I just put a negative tool offset in and run my program I get a soft limit warning for Z max and if I put a large enough positive tool offset I get a soft limit warning for Z min. This is the wrong way around, well it is to me.

I've noticed if the tool offset is altered so it throws up a softlimit warning, it  doesn't matter what I do with the work offset it will always give me a warning as if it checks the tool offset on it own before adding the work offset and rechecking, maybe you intended it doing this and it will work properly when the tool offset is added the correct way.

It also seams to change the work offsets from abs to inc when clicking and typing into the box, this only happens every now and again, but I can't explain when this happens just that it has a couple of times when messing with the tool offsets.

Hope this helps and isn't to confusing.

Chris
Title: Re: Softlimits
Post by: ART on October 11, 2006, 06:41:50 PM
Thanks Chris:

  I have that on my lst.. Shoudl be fixed very shorty.. like for tomorrow..
Title: Re: Softlimits
Post by: creep_pea on October 17, 2006, 11:45:09 AM
Art

I've tried Version R2.0.000 this seams to be the same as I said in the last post i.e the tool offset the wrong way round I guess it may even be the exact same version.

I also tried Version RC2.0h earlier, this gave me a softlimits warning every time I used a tool offset wether it be positive or negative seamed to be the correct way around though with the + - direction.

Thanks and I hope this helps

Chris
Title: Re: Softlimits
Post by: jlmjvm on October 18, 2006, 09:22:01 PM
I downloaded the newest version today.It cleared up the z axis softlimit,but still gives the warning for x and y.Havent been able to make it work on anything past r1.84.Thanks,Joe.
Title: Re: Softlimits
Post by: creep_pea on October 19, 2006, 11:16:00 AM
Joe

What are you doing when you get the warning in X and Y, I ask as when I've tested the softlimits I've not had any problems with the X and Y since version RC2.0d but my table is quite large for the job's I do so I might not have noticed it.

Do you use tool offsets? When ever I use tool offsets I get warnings for Z max/min or don't get warnings and proceed to go on to the softlimit. This is in the Version R2.0.001, I'm interested in what version you are using, if you are using tool offsets and they are working.

Cheers

Chris
Title: Re: Softlimits
Post by: jlmjvm on October 19, 2006, 05:50:17 PM
The softlimit warning pops up when you hit cycle start,I am using tool offsets and fixture offsets.This is a full size bridgeport cnc.I reloaded r1.84
and the softlimits work perfectly,just like a regular cnc,but any version after that will give you the warning,even 2.003.It doesnt stop you from running,you just have to click the balloon every time,thanks for you help,Joe.
Title: Re: Softlimits
Post by: creep_pea on October 20, 2006, 07:20:14 AM
Joe

Version R1.84 doesn't have the softlimit warning messages in at all, it's a new feature I've been trying to get Brian and Art to add but it's only included in versions D1.90.090 onwards and so far it's not fully working but they are getting there.

Art

I've just tried Version R2.0.003 it seams to me like the tool offset are the wrong way around again, or maybe the have allways be the wrong way around. I also tried a old program that I know works well and I got a softlimit warning on X max, I know it doesn't exceed the limits and I can see on the toolpath screen that it doesn't exceed the limits, I've tried to get my test program to throw the same error up but I can't so I can't quite work it out.

I'm also having trouble using cutter compensation with the last 2 versions, it allmost like the Y codes have become non modular (I think thats the right word), I had to put a Y value into every line after a G42 to get my test program working.

Thanks

Chris
Title: Re: Softlimits
Post by: Hood on October 24, 2006, 03:59:17 PM
I have just started getting the softlimits warning, this is with the latest version 2.0.004. I didnt get it with any of the previous versions so I dont really understand whats going on.

Hood
Title: Re: Softlimits
Post by: Hood on October 25, 2006, 03:59:39 PM
The latest version 2.0.005 has cured the softlimits error message for me :D Have you tried it yet Chris?

Hood
Title: Re: Softlimits
Post by: creep_pea on October 26, 2006, 06:19:15 AM
Yeah I've tried version 2.0.005 and I'm still having trouble with the tool offsets and now X and Y, have a look at the screen shot below, it shows how far away I am from the soft limits but I'm still get a warning. :o

Hood if you put a tool offset in, large enough too send the machine on to it's limits do you get a warning?

Thanks

Chris
Title: Re: Softlimits
Post by: Hood on October 26, 2006, 04:37:59 PM
Chris
 not sure what you are meaning, radius comp or length offset? Also version 2.0.005 was changed without a version update, have you tried downloading it again?

DrStein
 Limits are there to stop the machine if they are triggered. If yours dont stop your machine they are not set up right. If you press them manually does your Reset button start flashing? do you get the LEDs for that axis lighting on the diagnostics page?
Hood
Title: Re: Softlimits
Post by: Hood on October 26, 2006, 05:24:08 PM
Well if the LED is working the limit is obviously being seen by Mach, can you post a screenshot of your PORTS AND PINS, Input Signals page? Or possibly post your xml.

BTW when you sat the LED is working, which LED lights up?
Hood
Title: Re: Softlimits
Post by: chad on October 26, 2006, 07:06:23 PM
Are you using 1 switch for BOTH homing and limit?

Or do you have 2 switches, one for home and another for limit?

Chad
Title: Re: Softlimits
Post by: creep_pea on October 26, 2006, 07:50:50 PM
Hood

I meant the tool Length offset, I'm not sure what you have got your softlimits set to but I guess they will be about the same as mine with it been the same machine, anyway try this if you would please.

Set G54 Z offset to -200 & T3 to +200, this is presuming your soft limits in Z are roughly from 0.0mm to -127.0mm, then run this.

%
G21
G0G17G40G49G80G90
T3M6
G0G54G90X0.Y0.
G43H3Z-1.
G1Z-10.F1000.
M30
%


When I run it I get a Soft warning on Z min. Just want to make sure it not just me.


Quote
Also version 2.0.005 was changed without a version update

I'm glad you said that, I been having trouble with cutter comp and Art kept telling me it was ok on his so I've just totally uninstalled and reinstalled Mach 3 and it the cutter comp works again, I guess that explains why it wasn't working before.

Cheers

Chris
Title: Re: Softlimits
Post by: chad on October 26, 2006, 08:29:02 PM
Ok in that case that switch will only do something when you are in homing, mach knows when you are homing and ignores the switch the rest of the time.

You can also use that switch as a limit. Just set the same pin number for the home as the limit. If you are moving and then hit the switch it will cause a e stop.
Title: Re: Softlimits
Post by: chad on October 26, 2006, 10:30:02 PM
No problem.

If you can spare one extra input pin you can wire the other side limit switches serial and if any of those three are hit it will trigger an e- stop. Just do the same trick assign all the other limits to the same pin.

Chad
Title: Re: Softlimits
Post by: Hood on October 27, 2006, 02:56:04 AM
Chris
 I am very poor on G Code so not sure how to set up what you are asking. I do get the same error as you if I put G54 Z-200 but surely this is correct as I only have 127mm travel same as you. Maybe I am misunderstanding as I would think Z Max would be the top of the travel and Z min would be the bottom. Is this not the normal way?
Hood
Title: Re: Softlimits
Post by: creep_pea on October 27, 2006, 05:10:31 AM
Hood

Your not misunderstanding me Z max is at the top of the travel and Z min is at the bottom. Imagine you have got a long tool in the spindle like 200mm long, you then need to have at work offset of at least -200mm so you can go to Z 0. With the current soft limit warnings if you put a work offset in larger than your softlimits you get a warning but it should take the tool offset into consideration as well and not give you a warning.

What the G code does:

Set G54 Z offset to -200 & T3 to +200, this is presuming your soft limits in Z are roughly from 0.0mm to -127.0mm, then run this.

%
G21                          This puts Mach into metric
G0G17G40G49G80G90 Rapid, XYplane, cancel cutter comp, cancel tool offset, cancel caned cycles, absolute
T3M6                        Tool 3, tool change
G0G54G90X0.Y0.        Rapid, G54 offsets, absolute
G43H3Z-1.                 Use tool offset go to Z-1.0 This should move your machine to Z-1.0 in machine coordinates -200+200-1=-1
G1Z-10.F1000.           Feed to Z-10 at 1000mm/min
M30
%

Cheers

Chris
Title: Re: Softlimits
Post by: Hood on October 27, 2006, 04:02:39 PM
Chris
Yes I understand now, even stranger is that I now again get the softlimits X min warning while doing any code :(
Hood
Title: Re: Softlimits
Post by: creep_pea on October 28, 2006, 04:39:20 AM
I think I found what causes the X Y warnings now, if you just have G0 and G1 it works properly but when you use G2 or G3 it causes problems.

Chris
Title: Re: Softlimits
Post by: Hood on October 28, 2006, 06:55:25 PM
Have just tried that and if I just have a few lines with a G2 in it doesnt give the error, but a G3 will. As I said before I am a newbie with GCode so I will try a few other things. This may give Art a place to start looking though, thanks Chris.
Hood
Title: Re: Softlimits
Post by: Hood on October 28, 2006, 07:06:19 PM
OK G2 do it also, must have screwed up the first time, nothing new about that though ;)

Hood
Title: Re: Softlimits
Post by: Brian Barker on October 30, 2006, 08:00:53 AM
How about an example?
Title: Re: Softlimits
Post by: Hood on October 30, 2006, 03:35:19 PM
An example of me screwing up or an example of code?   ;)

As an example of code I just ran the circular pocket wizard and below is the code. As soon as I press cycle start I get a soflimits popup and the message window says "soft warning on X Min"
 If you dont get this Brian I am wondering if it may be to do with me having Mach setup in mm and I presume Chris is also mm wheras you will be in inches.
Hood
G0 G49 G40  G17 G80 G50 G90
M6 T0(TOOL DIA.6)
G64
G21 (mm)
M04 S0
G00 G43 H0  Z2
X0 Y0
G01 Z-2 F100
G2 Y0 X1.2 R0.6 F400
Y0 X-1.2 R1.2
Y0 X2.4 R1.8
Y0 X-2.4 R2.4
Y0 X3.6 R3
Y0 X-3.6 R3.6
Y0 X4.8 R4.2
Y0 X-4.8 R4.8
Y0 X6 R5.4
Y0 X-6 R6
Y0 X7 R6.5
Y0 X-7 R7
X7 Y0 R7
Y-3.5 X3.5 R3.5
G00 Z2
M5 M9
M30
Title: Re: Softlimits
Post by: Hood on October 30, 2006, 03:42:17 PM
With the arc wizard I get soflimits on Y min warning when running this code

G0 G49 G40  G17 G80 G50 G90
M6 T5(TOOL DIA. 6)
G21 (mm)
M03 S300
G64
G00 G43 H5  Z2
X16.7417 Y2.952
G01 Z-2 F100
G3 X-2.952 Y16.7417 I-16.7417 J-2.952 F30
G00 Z2
M5 M9
M30
Title: Re: Softlimits
Post by: Hood on October 30, 2006, 03:43:43 PM
With the cut circle wizard I get no warning at all, heres the code

F400
G00 Z10
G00 X46.9 Y0
G00 Z2
G01 Z-2.9 F100
G02 X46.9 Y0 I-46.9 J0 F400
G00 Z10
G00 X47 Y0
G01 Z-1 F400
G01 Z-3 F100
G03 X47 Y0 I-47 J0 F400
G00 Z10
G00 X0 Y0
M30
Title: Re: Softlimits
Post by: ART on October 30, 2006, 09:57:02 PM
Hi Guys:

  None of that code really means anything, I need to know the softlints that are set before its in context.
If your having a softlimits warning, and feel you shouldnt, please tell us,

1) The extents in the toolpath page showing max of the axis involved and the min.
2) Your current machine cooridnates when the work coordinates is reading zero.

Thanks
Art
Title: Re: Softlimits
Post by: Hood on October 31, 2006, 02:23:05 AM
Art
heres the code
G0 G49 G40  G17 G80 G50 G90
M6 T0(TOOL DIA.6)
G64
G21 (mm)
M04 S0
G00 G43 H0  Z2
X0 Y0
G01 Z-2 F100
G2 Y0 X1.2 R0.6 F400
Y0 X-1.2 R1.2
Y0 X2.4 R1.8
Y0 X-2.4 R2.4
Y0 X3.6 R3
Y0 X-3.6 R3.6
Y0 X4.8 R4.2
Y0 X-4.8 R4.8
Y0 X6 R5.4
Y0 X-6 R6
Y0 X7 R6.5
Y0 X-7 R7
X7 Y0 R7
Y-3.5 X3.5 R3.5
G00 Z2
M5 M9
M30
and then some screenshots to show everything else you are asking (sorry for large pics)

Hood

(http://mysite.wanadoo-members.co.uk/hoodsmachiningpages/Warning.jpg)

(http://mysite.wanadoo-members.co.uk/hoodsmachiningpages/ToolPath.jpg)

(http://mysite.wanadoo-members.co.uk/hoodsmachiningpages/HomeSofLimits.jpg)
Title: Re: Softlimits
Post by: ART on October 31, 2006, 08:59:07 AM
Hi:

  What are the machine coords at that point? Press the machine coordinates button and let me knwo what IT says. I do get a softlimit error when I run this with machine coords at zero, but then I should, but if I set my machien coordinates away fromt he boundries, it works fine. I need to know what they are though to try this as your doing it..

Thanks,
Art
Title: Re: Softlimits
Post by: Hood on October 31, 2006, 01:34:17 PM
Heres a screenshot showing the machine coords and the error with the same code as above
Hood

(http://mysite.wanadoo-members.co.uk/hoodsmachiningpages/MachinCoords.jpg)
Title: Re: Softlimits
Post by: ART on October 31, 2006, 02:17:09 PM
Thanks Hood, preciate it, now I should be able to finally kill it. :),
Art

answer soon..
Title: Re: Softlimits
Post by: ART on October 31, 2006, 03:22:23 PM
Hi Hood.

 Thanks for the numbers. I have reuploaded .007 with a fix. Let me knowif you see this again and the toolpath extents added to the machine coordinstaes are not out of bounds.. The problem was one of radisu of arc calculations..

Thanks,
Art
Title: Re: Softlimits
Post by: Hood on October 31, 2006, 03:24:31 PM
Thanks Art, will go download and test it out.
Hood
Title: Re: Softlimits
Post by: Hood on October 31, 2006, 03:31:05 PM
Seems to be fixed Art, THANKS.
 
Hood
Title: Re: Softlimits
Post by: Hood on October 31, 2006, 03:38:19 PM
Art
 sorry to be a pain but just tried the Z offset that Chris (Creap_Pea) was mentioning a few pages back and it still gives a Z softlimits warning., ie set G54 offset to Z-200 have Tool Z offset to +200.


Hood
Title: Re: Softlimits
Post by: creep_pea on November 01, 2006, 02:56:11 PM
Thanks a lot Art/Hood, I can see you have both been busy.

Good to see X and Y softlimits warnings seem to be working properly, Just need to sort the Z out then it will be perfect.

Cheers

Chris
Title: Re: Softlimits
Post by: creep_pea on November 06, 2006, 11:15:18 AM
Just tried version R2.0.008, still no joy with the tool offsets.

I guess you probably haven't had the time to work on it or it's proving to be harder to sort than first expected, anyway keep up the good work.

Chris
Title: Re: Softlimits
Post by: creep_pea on November 10, 2006, 03:18:51 PM
Any luck with this yet.

Didn't notice any difference in version R2.0.009

Cheers

Chris
Title: Re: Softlimits
Post by: Brian Barker on November 10, 2006, 06:23:13 PM
I think that Art needs a bit more data to show right where the problem is... IT is very hard to get stuff like this fixed when you are sitting at your desk and it is not doing it :(
Title: Re: Softlimits
Post by: creep_pea on November 10, 2006, 07:24:22 PM
Hi

This is as simple as I can get it, set Z work offset to say -200 and the tool offset to say 200. Softlimit on -Z must from -10 to -199. This will give a warning but then if you run the code it won't go onto the softlimits.

G90
G43H1Z-1.
G1Z-10.F1000.
G0Z-1.
M30

Then try the same program with a Z workoffset of 0.0 and 0.0 in your +Z softlimit setting.
It will rapid straight on to the softlimits with no warning.

Hope this helps

Chris
Title: Re: Softlimits
Post by: ART on November 11, 2006, 10:09:20 AM
Chris:

  up, sure enough, I was subtractin the G49's instead of adding.. fixed for next release. That may be it for the softlimits. :)

Art
Title: Re: Softlimits
Post by: creep_pea on November 12, 2006, 07:54:09 AM
Art

Spot on, I'm look forward to it.

Cheers

Chris
Title: Re: Softlimits
Post by: creep_pea on November 20, 2006, 06:51:26 AM
Art

Just tried Version R2.0.011, it works a treat  ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D

I did find one little bug but it doesn't bother me but may be worth sorting, if you change a tool offset you have to regen the toolpath before starting other wise it just uses the old data for the softlimit warning, so it could possibly run onto the softlimits, interestingly this doesn't happen when you change a work offset.

Thanks, I'm a happy man now.

Chris
Title: Re: Softlimits
Post by: creep_pea on November 20, 2006, 10:52:10 AM
Art

I'm don't like saying this but I spoke to soon, I'm having trouble with G2 & G3.

This code gives me a Z- soft warning, with g54 Z set at -70, H3 set at 60 and my -Z Softlimit at -127.0 all in mm.

G21
G17G80G90
T3M6
G0G90G54X0.Y0.
G43H3Z10.
G1Z0.F222.8
G2X5.Y5R5. (something to do with this line)
M30


Sorry, I hope it will be a easy fix

Chris
Title: Re: Softlimits
Post by: creep_pea on November 22, 2006, 08:30:11 AM
Art

I think you must have just missed one of the subtractions in the G2 G3 code, when running the code in my last post if I set my G54 Z to -78 and H3 to 50 it gives me a warning -78 -50 = -128 but I set my G54 Z to -77 and H3 to 50 its OK -77 -50 = -127 so I reckon you've just missed a minus or got one to many, Its only when using G2 or G3 codes though.

Cheers

Chris
Title: Re: Softlimits
Post by: ART on November 22, 2006, 09:52:04 AM
Hi Chris:

 Can you elaborate on those numbers..where are you getting -70 from? I see the -77 etc.. But you keep using -70, and I dont see one..

Thanks
Art
Title: Re: Softlimits
Post by: creep_pea on November 22, 2006, 10:23:34 AM
Sorry, not sure what I was doing. ???

I've edited the above.

I was basically trying to show you that it made sense why I was getting the softlimit warning, hopefully it makes more sense now with the right numbers.

Chris
Title: Re: Softlimits
Post by: ART on November 22, 2006, 11:17:26 AM
Hi Chris:

 Thanks, I think I found it. I think I was subtracting when I shoudl have added. Complex beast in that section. Anyway, I think its fixed for next version..

Thanks,
Art
Title: Re: Softlimits
Post by: creep_pea on November 27, 2006, 08:25:43 AM
Art

Sorry to be a pain again but the softlimits are still
not working properly, I think you have double added
the tool offset this time.

When doing this code with G54 Z set at -50mm and H3 at
anything over 25mm I get a Z max softlimit warning, if
I set G54 Z to -100mm any value of H3 over 50mm I get
a Z max softlimit warning.

G21
G17G80G90
T3M6
G0G90G54X0.Y0.
G43H3Z10.
G1Z0.F222.8
G2X5.Y5R5.
M30

Hence me thinking you have double added, This again
only happens when there is a G2 or G3.

Oh yeah this is in Version R2.0.013 and R2.0.014

Thanks

Chris
Title: Re: Softlimits
Post by: ART on November 27, 2006, 10:04:37 AM
Chris:

 Sorry about. Its more complex than youd think. I think I have it now.. Next version.. LEt me know, dont worry about being a pain, future users will thank you.. :)
Art
Title: Re: Softlimits
Post by: creep_pea on November 28, 2006, 05:18:39 AM
Art

:D :D :D I know I can't see how complex it is but I'm getting the impression, I didn't think there would be separate calcs for straight line moves and arc's for a start.

Just tried Version R2.0.017, I've not tried 15 or 16, I don't know what happend to them.

Err it seams to have gone back a step, any work offset below my Z minus softlimit will give me a softlimit warning no matter what tool offset I've got in and on the Z plus side I'm running on to the softlimits with no warnings.

This is happening whether I have G2/G3 in or not so maybe you've managed to sort that little problem out.

Cheers

Chris
Title: Re: Softlimits
Post by: ART on November 28, 2006, 09:58:46 AM
Hi Chris:

  My applogies, Ive had some related trouble with the analysis of max and min travel, its a conversion thing from work to machien coordinates and zeroing.
The analysis actually uses the display so theres alot of interaction. Ill be back on it shortly, next version will hopefully kill it all..

Thanks
Art
Title: Re: Softlimits
Post by: creep_pea on December 05, 2006, 06:37:56 PM
Art

Any chance of killing it all, don't know if you've been working on it or not but the last 2 versions (R2.0.020 & R2.0.021) don't seam to be any different.

Cheers

Chris
Title: Re: Softlimits
Post by: ART on December 05, 2006, 06:53:46 PM
Hi Chris:

 Actually, there is a difference, sorry I meant  to get back to you. On the diags page are three new DRO's that show the abs mins and maxs computed. Tell me what they say whgen you get the error. Also , resend me the file you were using, I have lost the original. I need to know how the min and max numbers shown relate to your machien coordinates.. IT seems to only happen in G43 moves, but Im stiull unclear exactly which ones..

Thanks
Art
Title: Re: Softlimits
Post by: creep_pea on December 06, 2006, 02:56:18 PM
Art

I get a unnecessary softlimit warning when doing this code, with the Z work offset set at -128 and the tool offset H3 set at 50, oh my Z minus softlimit is -127mm.

G21
G17G80G90
T3M6
G0G90G54X0.Y0.
G43H3Z10.
G1Z0.F222.8
G1Z5.
M30

Here's the screen shot of the diagnostics page when running the code, the abs max is -73 but it goes to -68 and the abs min is -128 but it only goes to -78 in the program if you run it.

Cheers

Chris

Title: Re: Softlimits
Post by: jlmjvm on December 06, 2006, 03:17:24 PM
Just wanted to say that 2.013 works for me,ver 2.020,and 21 are back to giving the softlimit warning.I use G54 fixture offsets for x and y only,no z.Use g43 tool offsets,all offsets are minus.Just like Haas or other VMC.Will they be changing back in the later versions?
Title: Re: Softlimits
Post by: creep_pea on December 06, 2006, 03:48:05 PM
Yeah version R2.0.011 to R2.0.014 where nearly there, there is just one slight problem with this version, if you use G2 or G3 codes you may have problems as reported a few post back.

I have a brigdeport boss machine with a knee so find it very usefull to set all the tool offsets as positive and use a Z work offset, this way I can do different jobs with different table heights without having to reset all my tool lenghts.

Cheers

Chris
Title: Re: Softlimits
Post by: jlmjvm on December 06, 2006, 04:23:51 PM
Just tried ver 2.022,still giving softlimit warning,rolled back to ver 2.013 for now,wish it had the new dros on the diagnostics page,was gonna compare them.I havent noticed the problen when using g2 or g3,but will try a circle program with different tool lengths to see if it does.I have a bridgeport boss also,is yours servo or stepper?
Title: Re: Softlimits
Post by: ART on December 06, 2006, 05:42:35 PM
Hi Guys:

  I knew adding those DRO's would show me something. The problem trurned out to be in a section I wasnt in. It IS fixed for the next version, it should be
out in th emorning, Im pretty sure we can consider it dead.. I now get proper readings in all areas in the test file..

Thanks
Art
Title: Re: Softlimits
Post by: ART on December 06, 2006, 05:59:58 PM
Chris:

  By the way, if you loaded that program, and set your work offet to -128 and the tool was not yet applied, then if Z was at zero, then -128 woudl be the minimum.. The first move woudl be x0, y0, z-128 in machien coords when the G0X0Y0 was seen..

Art
Title: Re: Softlimits
Post by: jlmjvm on December 06, 2006, 07:49:17 PM
Sounds great,look forward to testing the new version in the morning.
                                                                              Thanks,Joe.
Title: Re: Softlimits
Post by: creep_pea on December 07, 2006, 04:19:48 AM
Joe

It's a series 1 Boss 6.1 using the original drivers and stepper motors, It's a metric machine with 0.01mm steps.

Just out of interest do you reset all your tool offsets for each job or do you only do one job on your machine, I'm intrigued as to how you work?

Chris
Title: Re: Softlimits
Post by: jlmjvm on December 07, 2006, 08:17:18 AM
Chris,mine is a series1,but a boss 2 or 3,dont know for sure,control was gone when i got it.Has original steppers,with gecko drives.On my offsets I touch off a 1.00 block with the tool on top of the part,or the longest tool if more than 1 is used.Then if you change to a different part height just raise or lower the table and retouch the tool,or longest tool off of the new workpiece.The offset values will remain the same,your just moving the work to a known distance from the tool tip when the machine is at zero.Thanks for your interest,I was wondering what kind of rapid your able to get with the factory stepper drive,im getting 140 ipm with the gecko on x and y but only 100 on the z,my z motor is a little weak.

Joe
Title: Re: Softlimits
Post by: Hood on December 07, 2006, 11:58:24 AM
Joe, I also have a Series 1 Boss 6.1 but like you I use Geckos and also I replaced the original motors with 916 oz/in hybrid steppers. I get 2500mm/min which is less than you but I am curious what the reduction on yours is, the Boss6.1 had a 2.5:1 reduction, I think maybe the Boss 6 only had a 2:1 but not sure.
Hood
Title: Re: Softlimits
Post by: jlmjvm on December 07, 2006, 12:09:39 PM
Hood

My reduction is 1 to 1,its belt drive,but 1 motor rev = 1 screw rev.Was yours a servo machine when it was built?I did a retrofit on a series2 that had 2 to 1 reduction,it was a factory servo setup.Sounds like your new steppers are running way faster than my old ones as far as motorspeed,if i had those with my 1 to 1 reduction this thing would be screaming.Thanks for the info,was wondering how well the new steppers worked.

Joe.
Title: Re: Softlimits
Post by: Hood on December 07, 2006, 01:13:22 PM
Joe
 No it was a BOSS 6.1 which is the UK version of what you guys call the BOSS6, I think BOSS 7 was the first to have servos. I had toyed with the idea of changing to a 2:1 reduction but decided 2500mm/min was fast enough with the limited travel on them.
Hood
Title: Re: Softlimits
Post by: jlmjvm on December 07, 2006, 01:59:12 PM
Art

Just loaded 2.023 and it appears to be working correctly.I only noticed one minor problem.If you have run a program with a valid tool length within the machine limits and then change the offset to a value that will exceed the machine limits and run the program,it will begin execution untill it hits the z softlimit,and the new dros will still show the previous values.However if you reload the program before you run it you will get the softlimit warning,and the new dros will reflect the proper values.

Thanks for your great work,Joe.
Title: Re: Softlimits
Post by: creep_pea on December 07, 2006, 03:17:48 PM
;D ;D ;D ;D ;D ;D ;D ;D ;D ;D

Art

I think it is about right now, cheers.
As Joe said changing the tool offsets or work offsets and just running the program causes problem but it all seams fine as long as you Regen before running.

Thanks again

Joe

I'm running mine at around 2000mm/min (80ipm) but I fairly sure it would probably run faster I've just never tried as I'm happy with that, my machine also has different ball screws than yours so probably isn't comparable