A machine tool (1, 1A, 1B) comprising: a table device configured to support a workpiece; a first machining head configured to support a wire in a state in which a tip end of the wire is exposed, and configured to add a molten material generated from the tip end of the wire to the workpiece supported by the table device; a second machining head configured to support a tool for cutting the workpiece supported by the table device; a power supply device configured to supply a current to the wire; the machine tool being characterised by the following: a conduction block (5, 5A, 5B, 5C) disposed on the table device and configured to identify a position of the tip end of the wire; a drive device configured to relatively move the first machining head with respect to the table device so that the tip end of the wire exposed from the first machining head and the conduction block (5, 5A, 5B, 5C) disposed on the table device are brought into contact with each other; and a first electric circuit switchable from an open state to a closed state by contact between the tip end of the wire exposed from the first machining head and the conduction block (5, 5A, 5B, 5C) disposed on the table device, wherein the conduction block (5, 5A, 5B, 5C) has a first surface for identifying a protruding length by which the wire protrudes from the first machining head, and an inclined surface that is disposed so as to be inclined with respect to the first surface and that is for identifying a displacement amount of the tip end of the wire displaced from an imaginary center axis of the wire. a table device configured to support a workpiece; a first machining head configured to support a wire in a state in which a tip end of the wire is exposed, and configured to add a molten material generated from the tip end of the wire to the workpiece supported by the table device; a second machining head configured to support a tool for cutting the workpiece supported by the table device; a power supply device configured to supply a current to the wire; the machine tool being characterised by the following: a conduction block (5, 5A, 5B, 5C) disposed on the table device and configured to identify a position of the tip end of the wire; a drive device configured to relatively move the first machining head with respect to the table device so that the tip end of the wire exposed from the first machining head and the conduction block (5, 5A, 5B, 5C) disposed on the table device are brought into contact with each other; and a first electric circuit switchable from an open state to a closed state by contact between the tip end of the wire exposed from the first machining head and the conduction block (5, 5A, 5B, 5C) disposed on the table device, wherein the conduction block (5, 5A, 5B, 5C) has a first surface for identifying a protruding length by which the wire protrudes from the first machining head, and an inclined surface that is disposed so as to be inclined with respect to the first surface and that is for identifying a displacement amount of the tip end of the wire displaced from an imaginary center axis of the wire. a conduction block (5, 5A, 5B, 5C) disposed on the table device and configured to identify a position of the tip end of the wire; a drive device configured to relatively move the first machining head with respect to the table device so that the tip end of the wire exposed from the first machining head and the conduction block (5, 5A, 5B, 5C) disposed on the table device are brought into contact with each other; and a first electric circuit switchable from an open state to a closed state by contact between the tip end of the wire exposed from the first machining head and the conduction block (5, 5A, 5B, 5C) disposed on the table device, wherein the conduction block (5, 5A, 5B, 5C) has a first surface for identifying a protruding length by which the wire protrudes from the first machining head, and an inclined surface that is disposed so as to be inclined with respect to the first surface and that is for identifying a displacement amount of the tip end of the wire displaced from an imaginary center axis of the wire.