Freeware PI tuning software

I am trying to figure out a subroutine for a trilogic plc that would "auto config" the pid settings. It is a flow process and will probably only be using the PI functions. Do you have any idea as to how I might go about that? I know that I will need to "bump" the control to find the dead time etc. Any help would be greatly appreciated.

Hi Ken,
Thanks for the reply but I have to dissapoint you, I have been working with the same problem but with no success. Maybe someone else reading this have a sollution. Prefaribly in my case as a VB code which can be added to the PI-calculation software.