Hello Guest it is September 27, 2020, 12:03:24 AM

Author Topic: softlimit disables moving after homing  (Read 2382 times)

0 Members and 1 Guest are viewing this topic.

Offline c+c

*
  •  17 17
    • View Profile
softlimit disables moving after homing
« on: June 04, 2009, 07:12:14 AM »
I would like to use softlimits to prevent running into the limit switches.
I use softlimits to make the machine stop just a little before the limit switches, and I included a slow-zone.

The limit switch is also my home-switch.
The problem is that after homing the machine is still in the softlimitted region (because my softlimit is just a little before the limitswitch).
This mean that I can not jog to some other position, because the softlimit prevents me to move.

How to handle this?

Can I automatically move to some predefined location after homing (ignoring the softlimits)? So that I can move a little to be inside the region allowed by the softlimit.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: softlimit disables moving after homing
« Reply #1 on: June 04, 2009, 07:49:25 AM »
You set the soflimits Min for X and Y  and Max for Z to zero. This will still mean that you can jog after homing. The thing to remember that the zero position is when the switch has closed again so if you set up the slow zone correctly you should never trigger the true limit switch as the softlimits will stop before that happens.
Hood

Offline c+c

*
  •  17 17
    • View Profile
Re: softlimit disables moving after homing
« Reply #2 on: June 04, 2009, 10:03:36 AM »
But because of inaccuracy of the limit/home switch I think it is possible that after homing, the limit switch can go off at for instance 0.01 mm.
Therefore I want to stay away from the home position for about 0.5mm.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: softlimit disables moving after homing
« Reply #3 on: June 04, 2009, 10:07:38 AM »
Have you tried setting a debounce interval value in the General config page?
 The move you are wanting could be done via VB codein the Ref All button, you would need to disable the softlimits in the code, do the homing in the code, do the move off and then finally re-enable the soft limits.
Hood