Well, The easiest method would be look to see how the current one is hooked up. Its a cord so it needs to be the same on both ends. Which brings us to the problem, not all cords use the same color of wire to be matched to the other side. Its running an alternating current so both 1e and 3p need to be the same on both sides. In example the wire need to goto the corresponding spot on the other side.
I do know that 2g is the ground. But what the other two mean I don’t know. I do know if you can determine what color cables underneath goto what then your set as all you need to do is match them up. But if you cant see them on one side it makes it difficult because you don’t know what color of wire they used for what? If that makes sense.
Check out this guide it might help a tad: http://www.overclock.net/other-hardw...ower-cord.html