Question: how do ac solenoids work?
Answer: Solenoids are electromechanical devices that convert AC or DC electrical energy into linear motion. ... When current flows through the coil, it generates a magnetic field inside the coil which attracts the armature towards the center of the solenoid using the same basic principles as ordinary electromagnets.