So this is about the wiring outside the equipment? If so, then follow the manufacturer's instruction leaflet that came with it.
__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
No. A Variac works only as designed on AC signals. Designing a Variac requires much more understanding of magnetics and fundamental electricity than you have since you asked this question. I suspect you actually want a different device. An existing design variac maybe part of the system you need but I will not guess what it is that you actually need.
__________________
"Don't disturb my circles." translation of Archimedes last words