Work machine
A work machine includes a lower travelling body, an upper slewing body, an attachment pivotably attached to the upper slewing body, and a control unit that controls each of a slewing action and a pivoting action. The control unit accepts, by teaching, an instruction corresponding to a series of actions including a plurality of action phases and including movements of the upper slewing body and the attachment, while controlling the slewing action and the pivoting action based on the instruction, based on a determination condition related to at least one of a position of the attachment, actions of the upper slewing body and the attachment, and a posture of the attachment, the control unit determines which action phase a current action phase is among the plurality of action phases, and divides and stores the instruction corresponding to the series of actions for each of the action phases.
1 . A work machine comprising:
a lower travelling body;
an upper slewing body slewably attached to the lower travelling body;
an attachment pivotably attached to the upper slewing body;
a control unit that controls each of a slewing action of the upper slewing body and a pivoting action of the attachment; and
a position detection unit that detects the position of the attachment,
wherein the control unit accepts, by teaching, an instruction corresponding to a series of actions including a plurality of action phases and including movements of the upper slewing body and the attachment, while controlling the slewing action and the pivoting action based on the instruction, based on a determination condition related to at least one of a position of the attachment, actions of the upper slewing body and the attachment, and a posture of the attachment, the control unit determines which action phase a current action phase is among the plurality of action phases, and divides and stores the instruction corresponding to the series of actions for each of the action phases based on a result of the determination,
wherein the control unit acquires region information that is information about a work region corresponding to at least one of the action phases, and determines which action phase the current action phase is among the plurality of action phases based on the region information and the position of the attachment detected by the position detection unit, the work region being a region where the work machine actually performs work.
2 . The work machine according to claim 1 , wherein
the plurality of action phases includes a specific phase,
the work machine further includes a posture detection unit that detects the posture of the attachment, and
the control unit determines whether the current action phase is the specific phase based on the posture of the attachment detected by the posture detection unit.
3 . The work machine according to claim 1 , wherein
the plurality of action phases includes a specific phase,
the work machine further includes a posture detection unit that detects the posture of the attachment, and
the control unit determines whether the current action phase is the specific phase based on the posture of the attachment detected by the posture detection unit.
4 . The work machine according to claim 3 , wherein
the specific phase is the action phase of excavating earth and sand with the attachment,
the posture detection unit is capable of detecting a height of the attachment, and
the control unit determines whether the current action phase is the specific phase based on the height of the attachment detected by the posture detection unit.
5 . The work machine according to claim 3 , wherein
the specific phase is the action phase of excavating earth and sand with the attachment or the action phase of releasing earth and sand from the attachment,
the posture detection unit is capable of detecting an angle of the attachment, and
the control unit determines whether the current action phase is the specific phase based on the angle of the attachment detected by the posture detection unit.
6 . A work machine comprising:
a lower travelling body;
an upper slewing body slewably attached to the lower travelling body;
an attachment pivotably attached to the upper slewing body; and
a control unit that controls each of a slewing action of the upper slewing body and a pivoting action of the attachment,
wherein the control unit accepts, by teaching, an instruction corresponding to a series of actions including a plurality of action phases and including movements of the upper slewing body and the attachment, while controlling the slewing action and the pivoting action based on the instruction, based on a determination condition related to at least one of a position of the attachment, actions of the upper slewing body and the attachment, and a posture of the attachment, the control unit determines which action phase a current action phase is among the plurality of action phases, and divides and stores the instruction corresponding to the series of actions for each of the action phases based on a result of the determination, wherein
the control unit classifies the action phase corresponding to the divided instruction into a changeable phase and an unchangeable phase,
the changeable phase is the action phase in which it is permitted to perform the action of the upper slewing body and the attachment different from the action included in the teaching after the teaching,
the unchangeable phase is the action phase in which it is prohibited to perform the action of the upper slewing body and the attachment different from the action included in the teaching after the teaching, and
the control unit controls the upper slewing body and the attachment such that the action of the upper slewing body and the attachment in the unchangeable phase included in the teaching is reproduced in the unchangeable phase after the teaching.
7 . The work machine according to claim 1 , wherein
the control unit sets a changeless region inside an action range of the upper slewing body and the attachment, prohibits the action of the upper slewing body and the attachment from being changed from the action included in the teaching inside the changeless region, and controls the upper slewing body and the attachment such that the action in the changeless region included in the teaching is reproduced in the changeless region after the teaching.