soft limit warning on Z max

MSM Mill mode support
1hander
Posts: 43
Joined: Mon May 09, 2016 10:46 pm

Re: soft limit warning on Z max

Post by 1hander »

you were absolutely right sir... i need to read and become more acquainted with code...
as soon as i hit the m1 stop button it went perfect...
so now she runs perfectly..
thank you again for the help.and the awesome work..
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: soft limit warning on Z max

Post by DaveCVI »

FYI- you probably will want to adjust the post processor settings to not issue the M1. M1 is useful for debugging/testing gcode and so I'd make the post emit non-m1 tool changes so that I could continue to use M1 for other purposes.
Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
1hander
Posts: 43
Joined: Mon May 09, 2016 10:46 pm

Re: soft limit warning on Z max

Post by 1hander »

i changed the post processor settings to exclude the m1 stop...all good

unfortunately im still getting the sofdt limit warning ..my settings are as follows,..i have a feeling something is wrong with them

settings are as follows

theh TCP z setting is .75
soft limit slow zone is -.5 z min is 0 and zmax is 12

should the tcp z setting be a negative number as well
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: soft limit warning on Z max

Post by DaveCVI »

Hi,
Homing and softl imits are in machine coordiantes. Depending on where your home switch is located, you may have the numbers reversed for the Z axis.
Typically the top of physical travel in Z is MC = Z0. That makes all travel for Z in machine coordinates a negative value.

For example consider a machine with Z travel os 12 inches total distance:
Home position would be 0
Soft max would be 0 (max is the largest number for Z travel and in this case is 0, at the top if travel).
Soft min would be -12
The slow zone is a distance, not a coordinate value so if you want a slow zone of 1 inch it would have a value of 1

Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
1hander
Posts: 43
Joined: Mon May 09, 2016 10:46 pm

Re: soft limit warning on Z max

Post by 1hander »

it seems like i have it right by that description

my home switch is at the top of the Z
soft min = 0
soft max = -12
slow zone = .75
reverse home = X
tcp pos = .5

when you said the the slow zone has to cover the tcp//that meant the tcp has to be inside of the .75 slow zone correct..

it looks like its right
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: soft limit warning on Z max

Post by DaveCVI »

you have the max and min numbers swapped.
The MAX (top of travel) value of z is 0
the MIN value (bottom of Z travel) is -12.....
... as a -12 is LESS than 0.

And the TCP position can not be a positive number as the range for the axis travel is from 0 (top) to -12 (bottom).
If you intend the TCP Z position to be 0.5 BELOW the top of z travel (which is Z=0) then you want the TCP Z value to be = -0.5
with a TCP Z of 0.5 you are trying to send the spindle to 0.5 ABOVE the top of the Z travel - which will give you a soft limits warning.

Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
1hander
Posts: 43
Joined: Mon May 09, 2016 10:46 pm

Re: soft limit warning on Z max

Post by 1hander »

im sorry i told you wrong ...

my settings are
soft max 0
soft min -12
slow zone .5
tcp -1

i may have put in a pos value in the tcp im sure... i just ran a post with 16 tool changes in it... ran it 8 times ... and did not get the z warning once... hoping its fixed...
i cant see any settings being out of wack that would cause it...

only thing i wasnt clear on was what you meant by the slow zone must cover the tcp

does that mean if my slow zone is set to .5 that my tcp has to be -.49 or less ...

or can it still be a -1 which is where it is now..(i didnt get any z warnings with it set this way)
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: soft limit warning on Z max

Post by DaveCVI »

Hi,
1hander wrote: only thing i wasnt clear on was what you meant by the slow zone must cover the tcp

does that mean if my slow zone is set to .5 that my tcp has to be -.49 or less ...

or can it still be a -1 which is where it is now..(i didnt get any z warnings with it set this way)
Did I say that? Hum, If so let me retract that.

There isn't any requirement for the slow zone to include the TCP Z position. Heck you can turn off soft limits and the TCP will still work fine. Internally MSM just issues a G53 move to the TCP position when doing the M6 stuff - mach just tries to send the machine to that physical position. If the TCP is past the physical limits, the limit switches (assuming there are some) will trip when the move is being made. If soft limits are on, then the result is a less violent than if they are off. But you don't have to use soft limits at all to run the machine.

Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
1hander
Posts: 43
Joined: Mon May 09, 2016 10:46 pm

Re: soft limit warning on Z max

Post by 1hander »

no prob dave... looks like its all ironed out..im hoping..
thanks for clarifying
Post Reply