A practical approach to object-oriented modeling of logic control systems for industrial applications