- Posts: 5
- Thank you received: 0
7c80 install on rpi 4
- Borsti
- Offline
- New Member
-
Less
More
5 years 2 months ago #217732
by Borsti
Replied by Borsti on topic 7c80 install on rpi 4
Thanks PCW !
Looks like I oversaw that and took the logic going backwards from the spindle outputs - but now looks like success!
Looks like I oversaw that and took the logic going backwards from the spindle outputs - but now looks like success!
Please Log in or Create an account to join the conversation.
- Borsti
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
5 years 2 months ago #217856
by Borsti
Replied by Borsti on topic 7c80 install on rpi 4
Hi PCW,
I played today with the spindle configuration as you proposed in the post, but the 7c80 is missing the pwm output in my "as received " condition
...
net spindle-output => [HMOT](CARD0).pwmgen.00.value
net spindle-enable => [HMOT](CARD0).pwmgen.00.enable
...
unless there is a different flash for the card?
I played today with the spindle configuration as you proposed in the post, but the 7c80 is missing the pwm output in my "as received " condition
...
net spindle-output => [HMOT](CARD0).pwmgen.00.value
net spindle-enable => [HMOT](CARD0).pwmgen.00.enable
...
unless there is a different flash for the card?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
5 years 2 months ago #217880
by PCW
Replied by PCW on topic 7c80 install on rpi 4
it looks like the pwmgen (and spindle encoder) are disabled in the hal file:
loadrt hm2_rpspi config=" num_encoders=0 num_pwmgens=0 num_stepgens=6"
loadrt hm2_rpspi config=" num_encoders=0 num_pwmgens=0 num_stepgens=6"
Please Log in or Create an account to join the conversation.
- PHILCOAST
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 3
5 years 4 weeks ago #222094
by PHILCOAST
Replied by PHILCOAST on topic 7c80 install on rpi 4
when i use this setup for the spindle,
functions (turn spindle CW & CCW) work well
but the functions (turn spindle slower & faster) are reversed.
When I start the spindle I have a voltage of 10 volts between the pins (spindle output) and (spindle -)
When I press on (turn spindle faster) the tension decreases
functions (turn spindle CW & CCW) work well
but the functions (turn spindle slower & faster) are reversed.
When I start the spindle I have a voltage of 10 volts between the pins (spindle output) and (spindle -)
When I press on (turn spindle faster) the tension decreases
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
5 years 4 weeks ago - 5 years 3 weeks ago #222099
by PCW
Replied by PCW on topic 7c80 install on rpi 4
I think the PWM is active low on the 7C80 so try:
setp hm2_7c80.0.pwmgen.00.out0.invert_output true
setp hm2_7c80.0.pwmgen.00.out0.invert_output true
Last edit: 5 years 3 weeks ago by PCW.
The following user(s) said Thank You: PHILCOAST
Please Log in or Create an account to join the conversation.
- PHILCOAST
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 3
5 years 2 weeks ago #222883
by PHILCOAST
Replied by PHILCOAST on topic 7c80 install on rpi 4
I am trying to connect a differential line encoder (amt332d-v) on my spindle with this configuration.
W1,W2 &W3 are down
pins encoder.00.input-a & encoder.00.input-b are always high
and encoder.00.input-index are always low.
W1,W2 &W3 are down
pins encoder.00.input-a & encoder.00.input-b are always high
and encoder.00.input-index are always low.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.320 seconds