M12 5 PIN CONNECTOR

Can i connect an M12 5 PIN Connector to an any arduino board?

not without some adapter

That's a CANBUS (DeviceNet) cable connector. Are you using DeviceNet or CANBUS ?