Steppers Not Moving / Mapped Wrong

More
1 year 9 months ago #319485 by notJamesLee
okay further update.

I got the estop signals to show up on Halshow. for anyone in the future having a similar issue. I needed to connect the ground from the power supply to the TB3 pin 12 (int common). From there i went 24v+ --> NC on the switch --> Common the switch -- > to the mesa. I am using simple two lead limit switches.

My next questions is how to invert the pin in the hal so that the machine will power on and honest think the limit switches are always being pressed.

I am also considering putting one more on the tandem second y motor so i can square the axis every time i home the machine. Does is this a good idea? seems like free real estate.

thanks again.

Please Log in to join the conversation.

More
1 year 9 months ago #319486 by PCW
If you use pncconf to create your configuration, there a check box by the inputs
to invert them.

Please Log in to join the conversation.

More
1 year 9 months ago #319490 by tommylight


I am also considering putting one more on the tandem second y motor so i can square the axis every time i home the machine. Does is this a good idea? seems like free real estate.
Wait, you can NOT set the machine with tandem axis with only one home switch on one side of the tandem axis.
It MUST have 2 switches, one for each side, this can do gantry squaring every time the machine is homed.
Or if you want to use a single switch, do not set a tandem axis, just set two Y axis outputs/stepgens in the wizard, but this can not do squaring the gantry.

Please Log in to join the conversation.

More
1 year 9 months ago #319509 by notJamesLee
I was able to figure it out in the hal. I just used
Code:
-not
to invert all my inputs. My estop is even working too!

It MUST have 2 switches, one for each side, this can do gantry squaring every time the machine is homed.


Okay this makes sense ill fire one and get it wired in. How would the hal differ below is my best attempt. 
Code:
# --- MIN-HOME-Y2 --- net min-home-y2 <= hm2_7i96s.0.inm.00.input-04-not

Please Log in to join the conversation.

More
1 year 9 months ago #319517 by tommylight
Looks OK.

Please Log in to join the conversation.

Time to create page: 0.042 seconds
Powered by Kunena Forum