and that is the point of global functions. they can be called from any program without need to repeat or duplicate code. if rolling your own code, there is no need for PLC.
Thanks Guys, I have been looking through the code, and I find it hard to single out which Global functions to be calling. They go through all sorts of stuff, it's hard to tell what is needed and what is not needed. I guess that is what I really need to know, which of the functions do I need to call.