Command: Check area

The content of a Check range command is only executed during programme execution if the current TCP is within the defined range. If this is not the case, the corresponding commands are skipped.
If you click on the corresponding programme block in the programme tree, a preview of the defined cuboid is displayed in the 3D world. 
By using this command in a function with return values, it is possible, among other things, to realise a home position movement, which can be called up at the start of a programme sequence, for example.
It is also possible to assign a name to each area and select the tool (if several tools have been stored in the programme) to which the TCP refers and with which the area is to be checked.

Definition

The first way to define an area is by defining 4 points that form a cuboid (CUBOID_CORNERS). How the corner points are arranged can be seen in the sketch in the command window.

The second option is to define the area by a corner and the distances to the other three corners (CUBOID_XYZ)

The third option for defining the range is to define the axis values (JOINTS).
When defining via the axis values, the range for axis 1 is visualised as a preview.