7i76e stepper outputs question
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
11 Feb 2018 17:55 #105752
by Mike_Eitel
7i76e stepper outputs question was created 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
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17905
- Thank you received: 4774
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
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.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
11 Feb 2018 18:03 #105754
by Mike_Eitel
Replied by Mike_Eitel on topic 7i76e stepper outputs question
SUPER
Once more excellent service Peter
THX
Once more excellent service Peter
THX
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.055 seconds