Skip to main content

3.2.4. PICKIT.DIM0 / DIM1 / DIM2

3.2.4. PICKIT.DIM0 / DIM1 / DIM2

 

Description

Informs the dimension of the identified workpiece.

 

Syntax

  PICKIT.DIM0

  PICKIT.DIM1

  PICKIT.DIM2

Parameter

None

 

 

Example of usage

  V1%=PICKIT.DIM0

  (Stores DIM0 in V1%)

  IF PICKIT.DIM1 > 100 THEN 8 ELSE 99

  (If PICKIT.DIM0 is larger than 100, a movement to the Row 8 number or to the Row 99 number will occur.)

  PRINT #0,PICKIT.DIM0

  (Output of the DIM0 of the workpiece in the TP window)

Detailed description

  PICKIT.TYPE stores the size of the workpiece whose pose value is transferred.

  A built-in type variable that does not have to be declared as a variable separately

  It will be updated after the PICKIT.LFO and PICKIT.NXT commands are processed.

  Whether the value of DIM0, DIM1, or DIM2 exists and what it means will vary depending on the type of the workpiece.

  DIM0: Length or diameter (Unit: mm)

  DIM1: Width or diameter (Unit: mm)

  DIM2: Height (Unit: mm)

 

 

l The information of DIM0, DIM1, and DIM2 will vary depending on the type of the workpiece.

l Workpiece of square: DIM0 and DIM1 for the length of the two sides of the square

Workpiece of rectangle: DIM0 and DIM1 for the length of two sides of the rectangle

Workpiece of circle: DIM0 and DIM1 for the diameter of the circle

Workpiece of ellipse: DIM0 and DIM1 for the length and width of the ellipse

Workpiece of cylinder: DIM0 and DIM1 for the length and diameter of the cylinder

Workpiece of sphere: DIM0 and D1M1 for the diameter of the sphere

Point cloud: DIM0, DIM1, and DIM2 for the length, width, and height of the box processed with point cloud

Workpiece of bob: DIM0, DIM1, DIM2 for the length, width, and height processed with a blob

l For the added or changed information, refer to the Pick-it Equipment Manual and the website.