Box Function

Returns the specified approach check area.

Syntax
Box(AreaNum[, robotNumber], limit)

Parameters

AreaNum
Specify the area number to be checked as an expression or a numeric value.
robotNumber
Specify the robot number as an integer value. If omitted, currently selected robot will be used.
limit
Specify the data to be returned as an integer value.

  • 1: Lower limit
  • 2: Upper limit

Return Values
When you select 1 for limit, the point contains the lower limit of the X, Y, Z coordinates.

When you select 2 for limit, the point contains the upper limit of the X, Y, Z coordinates.

See Also
Box, BoxClr, BoxDef, GetRobotInsideBox, InsideBox

Box Function Example

P1 = Box(1,1)
P2 = Box(1,2)