7c80 install on rpi 4

More
16 Aug 2021 13:21 #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"

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

More
03 Oct 2021 11:26 #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

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

More
03 Oct 2021 12:39 - 04 Oct 2021 22:32 #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
Last edit: 04 Oct 2021 22:32 by PCW.
The following user(s) said Thank You: PHILCOAST

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

More
11 Oct 2021 23:25 #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.

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

More
12 Oct 2021 00:47 #222890 by PCW
Replied by PCW on topic 7c80 install on rpi 4
I would verify that you have sufficient differential voltage
(preferable >2V) across the A,/A B,/B and Z,/Z pairs
and that the differential voltage changes polarity
when you move the spindle shaft to different positions

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

More
12 Oct 2021 01:55 #222894 by PHILCOAST
Replied by PHILCOAST on topic 7c80 install on rpi 4
i read -4,2 to + 4,2 volt
I will do tests with the signal of my servo motor amp this week.

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

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