PWM on 7i76E

More
5 years 8 months ago #197237 by Philippe
PWM on 7i76E was created by Philippe
Hello everybody,
I want to use the pwm on the mesa card 7i76e, i flash the FPGA with the file 7i76e_7i76x1pD.bit.
so i have the pwm signal on the pin Step+ or Step- (reverse). but it appear when the machine is on.
my request is to active the signal just when the axis X is moving. and dir+/dir- change when axis X increase or decrease.

so do you have an idea to do

Please Log in to join the conversation.

More
5 years 8 months ago #197272 by PCW
Replied by PCW on topic PWM on 7i76E
You may have to invert the PWM polarity and use the output (+or -) that is inactive
at power on to ensure that the PWM is inactive at power on and when exiting LinuxCNC

Please Log in to join the conversation.

More
5 years 8 months ago #197282 by Philippe
Replied by Philippe on topic PWM on 7i76E
Ok , if i understand in the hal File i put the value at 0 and i put it at 40% for example when the axis X is mouving.
so, what is the signal of x that i can to choose to apply the value on the parameter pwgen.value
Thx

Please Log in to join the conversation.

More
5 years 8 months ago #197380 by Philippe
Replied by Philippe on topic PWM on 7i76E
Hello,,
somebody, have an idea on my request , because for the moment i'am in iblack hole

Please Log in to join the conversation.

More
5 years 8 months ago #197382 by PCW
Replied by PCW on topic PWM on 7i76E
Did you try:
1. Choosing the output (between the + and - PWM outputs) that is inactive
(= 0 PWM for your circuit) at power on
2. Inverting the PWM output in the hal file

Please Log in to join the conversation.

More
5 years 8 months ago #197410 by Philippe
Replied by Philippe on topic PWM on 7i76E
ok, i'm unterstand this.
So with which signal can i active the value on pwmgen.value?

thanks for your answer

Please Log in to join the conversation.

More
5 years 8 months ago #197677 by Philippe
Replied by Philippe on topic PWM on 7i76E
my request it's to manage a H bridge L298 by the pwm just on the X axis.
I saw this post ( 162.243.45.186/24-hal-components/37038-e...hal-outputs?start=80 ) but i don't understand all;

thanks for you help

Please Log in to join the conversation.

Time to create page: 0.096 seconds
Powered by Kunena Forum