Jump to content
OMRON Forums

Recommended Posts

Posted

Hi,

I want sample source code(C code, Formula or whatever) for "Power PMAC Basic PID Servo Algorithm".

 

Following image is in "Power PMAC User's Manual" 198p.

In this document, there is no sample code.

I have a difficult understanding Power PMAC controller..

pid.PNG.c234d6c716218d78422f9874f030da42.PNG

 

I'll look forward to your reply.

Thank you.

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

I did a simple C function a while ago based off of that block diagram just for fun. I haven't used it for anything, so it may have bugs. As a disclaimer, I don't work for Delta Tau so the way they do it and the way I did it may be completely different. I do remember having to guess at some of the variables, but I think I used most of them correctly.

 

Hope it helps!

 

ppmacservo.c

Posted

Dear CharlesP,

 

I've found that example.

But I think... the example(User written servo) is not matched with PID Controller in my picture...

 

 

 

 

Look on printed page 545 of the Power PMAC User's Manual whereupon there is an example in C.

Guest
This topic is now closed to further replies.

×
×
  • Create New...