Machine Diagnostics in Process Control Systems: Comparison of on-site and cloud implementations