Electric and magnetic structure of tokamak edge plasma with static and rotating helical magnetic limiter