Hello Guest it is May 25, 2019, 05:37:16 AM

Author Topic: G28.1 not zeroing axis  (Read 2001 times)

0 Members and 1 Guest are viewing this topic.

G28.1 not zeroing axis
« on: January 27, 2015, 12:54:18 PM »
To simulate zeroing after many missed steps, I manually placed my x axis at approx. X=0, and ran this code:-

g00 x700
g92 x800
g28.1 x0

it crashed the switch, crunched while missing steps, and set the X axis to +100.

I then ran:-
g92 x0
g00 x700
g92 x600
g28.1 x0

This time it went past software zero, slowed down, tripped the switch, gave X as -100.

What I wanted it to do in both cases was to move towards the home switch, trip it, give it a value of zero, then move back from the switch.

My homing is configured as below:-

Axis          X
Reversed    no
Soft Max    100
Soft Min   -100
Slow zone  1.0
Home off   0.0
Home neg  yes
Auto Zero   yes
Speed        20%

No other switches are enabled.

I have obviously misunderstood how to set this up properly, I can't see (from how I understand it) why it does this. What am I misunderstanding, and what do I have to change?

Thanks
« Last Edit: January 27, 2015, 12:55:59 PM by moorea21 »
Re: G28.1 not zeroing axis
« Reply #1 on: January 27, 2015, 01:07:12 PM »
Didn't mention, I had X home set to active low (a green tick). Setting it back to active low 'no' (red X), and repeating the first part, it again crashed the switch but set axis to zero, gave me a message 'Requested home axis switch is active.. please fix, then home..

Still confused
Re: G28.1 not zeroing axis
« Reply #2 on: February 23, 2016, 08:39:37 AM »
hello moorea21. My name is Tom. I have to same problem like you did. " Requested home axis home switch is active..please fix, then home". did you get it to work? can you help me out?
Re: G28.1 not zeroing axis
« Reply #3 on: February 23, 2016, 08:56:11 AM »
I'll have to look back through my written notes/diary thing, if I've still got it. May take a while...
Re: G28.1 not zeroing axis
« Reply #4 on: February 23, 2016, 09:08:56 AM »
I found the diary, but theres nothing in there about G28.1. I seem to remember it had something to do with not understanding the figures after the G28.1 command, ie 'g28.1 x0'. I don't remember what exactly. Also it may have had something to do with machine vs. work coordinates issues, and I seem to remember rewiring some limit/home switches around that time too. Sorry I can't be more help, I didnt write down quite as much stuff as I thought I had.

Maybe start a new thread on this?
Re: G28.1 not zeroing axis
« Reply #5 on: February 23, 2016, 10:05:17 AM »
Please could someone help me. i can not reference home. keep getting massage " Requested home axis home switch is active.. please fix, then home..
Re: G28.1 not zeroing axis
« Reply #6 on: February 23, 2016, 11:59:48 AM »
THANK YOU MOOREA21 FOR YOUR HELP. I WILL TRY G28.1