Hi Gene,

Your encoder should work in the same direction as PID input. You can reverse it by reversing the sign of the encoder scale. For example if it is positive make it negative.

How about a pullup on the encoder lines?

Les


On 18/11/2020 15:03, Gene Heskett wrote:
Greetings all;

Working on getting the BS-1 working.
ATM. PID.a-feedback is disconnected from from the A encoder, and hitting
the [] keys to run the motor, the feedback from the encoder is the
opposite sign of the PID.a input cmd.

1. Is this the correct state? Or do I need to swap encoder A/B leads?

2. Does anybody have a cmos buffer board I can put between the encoders
leads and the bob's input?

I have apparently damaged the encoders output stages, and hooking its
leads up to the bobs inputs results in the rising edge of the signal
looking like its charging a large capacitance.  Falling edge is fine.
Quadrature is excellent.

However as the motor speeds up, it eventually reaches a point where it
fails to make it to a logic 1 and the whole thing goes nuts. So I need
the equ of a 74HCT245 to buffer it and bring it to where it can do a
rail to rail swing. Disconnected from the bob, it does do a rail to rail
swing with a rise or fall time in the very low microsecond range.

Thanks all.

Cheers, Gene Heskett




_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to