A number of points. It needs a continous current of 100mA to hold it on,.
2. A motor has a comuninator in it, so the current is lumpy and so can drop below 100ma
3. You need to arrange safe isolation between the 400V and your control circits.
4. 400V with that capacitor will kill you.
5. You need a current limiting element in that circuit or stuff will blow up.
If you need this kind of help I wouls suggest you need to consider if you are competent to be working with 400V dc.
2. A motor has a comuninator in it, so the current is lumpy and so can drop below 100ma
3. You need to arrange safe isolation between the 400V and your control circits.
4. 400V with that capacitor will kill you.
5. You need a current limiting element in that circuit or stuff will blow up.
If you need this kind of help I wouls suggest you need to consider if you are competent to be working with 400V dc.