A Cyber-Physical Systems architecture for Industry 4.0-based manufacturing systems