What Is an M12 Connector? Types, Pinouts, and Industrial Applications