PWM on 7i76E
31 Jan 2021 19:23 #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
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 or Create an account to join the conversation.
01 Feb 2021 02:17 #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
at power on to ensure that the PWM is inactive at power on and when exiting LinuxCNC
Please Log in or Create an account to join the conversation.
01 Feb 2021 08:08 #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
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 or Create an account to join the conversation.
02 Feb 2021 06:29 #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
somebody, have an idea on my request , because for the moment i'am in iblack hole
Please Log in or Create an account to join the conversation.
02 Feb 2021 06:41 #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
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 or Create an account to join the conversation.
02 Feb 2021 11:45 #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
So with which signal can i active the value on pwmgen.value?
thanks for your answer
Please Log in or Create an account to join the conversation.
04 Feb 2021 20:19 #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
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 or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.069 seconds