When using a M340 power supply that has a 24V DC sensor power supply, does the 0V terminal need to be connected to ground or can this be floating ?



It is not necessary to connect 0V terminal to ground or PE terminal. The PE terminal is isolated from the 0V terminal and not connected internally.