7i76e stepper outputs question

More
11 Feb 2018 17:55 #105752 by Mike_Eitel
I know that you can use the plus and the minus side

I want to use positive =5V signals.
In the moments i have to use in that case the negative screws. Seems to be fine BUT
When i start the computer all outputs go high. Only after starting lcnc sets them to low.
And then i see positive pulses. Is there a way to invert the output signals in hal so i can swap to + terminals

Thx Mike

Please Log in or Create an account to join the conversation.

More
11 Feb 2018 18:00 #105753 by PCW
Replied by PCW on topic 7i76e stepper outputs question
Yes, on master you can do this:

setp hm2_7i76e.0.stepgen.NN.step.invert_output true
setp hm2_7i76e.0.stepgen.NN.direction.invert_output true


On 2.7 you need to find the GPIO pin number of the stepgen output and set the GPIO pins invert_output attribute

Please Log in or Create an account to join the conversation.

More
11 Feb 2018 18:03 #105754 by Mike_Eitel
SUPER
Once more excellent service Peter
THX

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.156 seconds
Powered by Kunena Forum