The invention discloses a motor controller and a control method, which includes a control power supply connected to each module, a single-chip, a relay output module, a switching value input module, a watchdog module, and a keyboard input circuit. The invention is characterized in that the single-chip is respectively connected with a voltage mutual inductor and a current mutual inductor through a voltage filtering amplification module and a current filtering amplification module; the single-chip is respectively connected with a LCD display and a bus drive module through a data bus and a gating module; and the single-chip is also connected with a central control room computer through a communicating interface module. The real time measurement is executed to the voltage and current of the motor loop through the current mutual inductor and a circuit line voltage, and accurate and quick protection is carried out the motor defects such as over loading, locked-rotor, open-phase, light loading, three phase disbalance, earth/electrical leakage, undervoltage, over pressure, etc.; the direct, reversible, star/triangular starting up of the motor are realize with conjunction of exterior circuit, and the communication network carries out centralized monitoring to a plurality of motors distributed at different positions.