An industrial robot comprising a control system, the control system comprising: a converter configured to convert an AC current from an AC power supply into a DC current; an inverter configured to invert a DC power supplied from the converter into an AC power; a servo control device configured to control a drive of a plurality of servo motors based on a signal from a motor sensor attached to the servo motors, and a resistance regenerating circuit configured to consume a regenerative energy generated in the servo motors, wherein the servo control device has a plurality of motor control portions configured to enable the plurality of servo motors to be controlled and a plurality of control port portions corresponding to the plurality of motor control portions, wherein at least one of the plurality of motor control portions has a power supply regenerating control function portion configured to control a power supply regenerating circuit including an inverter having a configuration in common with the inverter for the servo motor so as to be used in common for both functions of regeneration and motoring and is configured such that the power supply regenerating control function portion and a control function portion for the servo motor can be switched depending on whether an object to be connected to the control port portion is the power supply regenerating circuit or the servo motor, characterized in that, the power supply regenerating circuit further comprises a reactor connected to the AC power supply and a primary voltage sensor portion connected to a wiring connecting the reactor and the AC current power supply so as to detect a primary voltage, the reactor being connected to the inverter to be used in common for both functions of regeneration and motoring, and the primary voltage sensor portion being connected to the at least one of the plurality of motor control portions. a converter configured to convert an AC current from an AC power supply into a DC current; an inverter configured to invert a DC power supplied from the converter into an AC power; a servo control device configured to control a drive of a plurality of servo motors based on a signal from a motor sensor attached to the servo motors, and a resistance regenerating circuit configured to consume a regenerative energy generated in the servo motors, wherein the servo control device has a plurality of motor control portions configured to enable the plurality of servo motors to be controlled and a plurality of control port portions corresponding to the plurality of motor control portions, wherein at least one of the plurality of motor control portions has a power supply regenerating control function portion configured to control a power supply regenerating circuit including an inverter having a configuration in common with the inverter for the servo motor so as to be used in common for both functions of regeneration and motoring and is configured such that the power supply regenerating control function portion and a control function portion for the servo motor can be switched depending on whether an object to be connected to the control port portion is the power supply regenerating circuit or the servo motor, characterized in that, the power supply regenerating circuit further comprises a reactor connected to the AC power supply and a primary voltage sensor portion connected to a wiring connecting the reactor and the AC current power supply so as to detect a primary voltage, the reactor being connected to the inverter to be used in common for both functions of regeneration and motoring, and the primary voltage sensor portion being connected to the at least one of the plurality of motor control portions.