Architectural design patterns for logic control of manufacturing systems: The generalized device | IEEE Conference Publication | IEEE Xplore