Control systems functions and programming approaches.