How does the magnetic overload relay operate?

A solenoid connected in series with the supply contains a plunger whose movement is damped by a dashpot. When the safe current is exceeded, the solenoid pulls the plunger up - disconnecting the supply. The damping provided by the dashpot prevents unwarranted tripping on short-time overloads.