The scope of this question and the limited information provided exceeds the abilities of any professional electrical power transmission and distribution engineer here to answer it for you. The fact you couldn't even provide some of the basic and vital information needed to answer this question indicates to me you have no idea what you are doing.
I think I speak for all the electrical engineering community here on CR4 when I say please get a qualified professional to design and program your protection scheme for you before you accidentally kill someone.
Jack - A qualified Electrical Power Transmission and Distribution Engineer.
I agree with you Mr.Jack. There are a lot of electrician or engineer that asking question and getting information from this forum hopping that these information can help them to get the problem solved by following it. But, please bear in mind, that these information or answer from this forum is to help you understand and serve as a references, how to solve your problems that you face daily.
At the end of the day, if you are understand what are you doing that will be good for you to solve it personally but if you don't understand the basic or you don't even know what you are doing, please get a qualified professional to do it for you before you accidentally kill someone.
__________________
Management is just like a bunch of Monkey sitting on a tall tree. Some climb to the highest branch and some at the lowest branch. The highest Monkey look down and see a lot of happy faces but the lower Monkey looks up and see nothing but all the....
There is a fine line between appropriate and inappropriate questions (with a grey area in between where the question could be viewed either way). This particular question, based on all the information given (including previous post questions and history by the original poster which I also check to ensure I have as much information as possible to answer the question) and based on my personal and technical experience in the area concerned leads me to believe my comments are appropriate.
I am careful with regard to my comments and try to be as helpful as possible, even when the poster appears out of his/her depth. I am more than happy to provide further help if posters supply additional information for clarification, but questions like the above raise serious technical and safety issues, especially when they do not appear to be a homework or general knowledge inquiry.