You really shouldn't bother with the pid stuff right now. If you don't have
a motor that is driving the encoder you dont have proper feedback to
operate the pid. I understand what your trying to see, I'm no pid tuning
wizard but I don't think you ever want to add I to a Pid and have P at 0.
You tune a pid starting with increasing  P, and I and D set to 0. Then move
to I.

You could do something like use the offset component on the output of the
Pid to shift it left. Using offset to shift the Pid Output half the overall
range will put the output negative at minimum and half output will be 0.


This is all undesirable though. If you are using the KBMG it has a +/-15v
supply. You can cleverly use a double pole relay to swap  +/-15v supply
terminals as they relate to common on the KBMG before going into the signal
input. I'd have to look better at the thing you bought to see exactly what
it does later.

On Tue, Dec 31, 2019, 11:55 AM Aurelien <[email protected]> wrote:

> Hi, thanks for reply.
>
> Ok i understand for using that need a DAC before this unit, but i have
> some working output with direct connection to the cape 0/24v output.
>
> I have ordered a second unit because i'm unsure at start, so first unit is
> 0/24v to +-10v and the second unit is 0/10v to +-10v i have also a oldest
> DAC 0/24v to 0/10v so i can test that you suggest, but i think this does
> not change the PID negative range problem.
>
> Br
>
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github:
> https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/machinekit/31333bb3-da24-42af-a3ae-d91802daf7ba%40googlegroups.com
> <https://groups.google.com/d/msgid/machinekit/31333bb3-da24-42af-a3ae-d91802daf7ba%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/CA%2BQ02MO3QWp11dfvZXzoUydZAWyykbnjzbrbF4hTn3jjDgTrrA%40mail.gmail.com.

Reply via email to