BoxClr Statement

Clears the definition of approach check area.

Syntax
BoxClr AreaNum[, robotNumber]

Parameters

AreaNum
Specify the entry detection area number (an integer from 1 to 15) to clear the setting, either as an expression or a numerical value.
robotNumber
Specify the robot number to be set by an integer value. If omitted, currently selected robot will be used.

Description
Robot parameter data is stored in compact flash in controller. Therefore, writing to the compact flash memory occurs when executing this command. Frequent writing to the compact flash memory affects the lifetime of the compact flash memory. We recommend limiting the use of this command at a minimum.

See Also
Box, BoxDef, GetRobotInsideBox, InsideBox

BoxClr Statement Example
This example uses BoxClr function in a program.

Function ClearBox

   If BoxDef(1) = True Then
      BoxClr 1
   EndIf
Fend