The drive has probably got a rectifier bridge as the first thing in the power circuit, so AC or DC does not matter, it swings both ways .