Re: phase sequence
I assume that you would like to senese phases rather than generate them ..
To senese them you will need "zero crossing" detector or just simple optocouplers connected to each of them and 0Vac (earth).
Once you sense a phase crossing zero (sensing for rising or falling edge for all of 3 phases) - you can call it R and you will have to program your microcontroller to monitor both remaining phases for them to cross zero. This should occur at approximately 6.66666ms (for 50Hz system) for next phase, which you can call S, and after another 6.66666ms you will find phase T.
If a motor connected to this power point turns clockwise you have just defined the RST sequence ..
Now you can connect your device to an unknown power point and compare its sequence with that you have pre-defined in your microcontroller ..