Automation in Industry 4.0