| CPC E02F 3/437 (2013.01) [E02F 9/262 (2013.01)] | 6 Claims |

|
1. A work machine comprising:
a lower track structure;
an upper swing structure that is swingably mounted on the lower track structure;
a work device that includes a bucket and that is attached to the upper swing structure rotatably in a vertical direction;
a plurality of actuators that drive the work device;
a sensor that measures a posture of the work device; and
a controller that controls operations of the plurality of actuators such that the work device does not enter a set entry-prohibited area; and
a setting switch that sets the entry-prohibited area according to an operation of an operator,
wherein the controller is configured to:
set, as a first position, a position of the bucket that is located computed based on the posture of the work device measured by the sensor when the setting switch is operated,
set, as a second position, a position of the bucket that is computed based on the posture of the work device measured by the sensor when the setting switch is operated after the setting of the first position, and
set, as a boundary surface of the entry-prohibited area, a plane that passes through a first reference point and a second reference point and that is perpendicular to a ground contact surface of the lower track structure, the first reference point being one of a plurality of reference points on the bucket located at the first position, the plurality of reference points being preset on the bucket, the second reference point being one of the plurality of reference points on the bucket located at the second position.
|