There is two pin in the power input port of 7sj62 siemens numerical overcurrent relay. The two pin of the port can be energized by both 110 V DC and 230 V ac. There is electronics product in the relay, so a dc to dc converter must be there. My question is how can the power supply differentiate wheather a DC or AC supply is given in the same port and take necessary action accordingly. (Such as if 230 VAC is given how can it realise and use a rectifier and then DC to DC converter and when 110av DC is given how can it realise and skip the rectifier and directly fed to dc to dc converter?)