Skip to main content

3.2.3. PICKIT.TYPE

3.2.3. PICKIT.TYPE

 

Description

A variable that stores the type of an identified workpiece

Syntax

  PICKIT.TYPE

Parameter

None

 

 

Example of usage

  V1%=PICKIT.TYPE

  (Stores PICKIT.TYPE in V1%)

  IF PICKIT.TYPE = 21 THEN 8 ELSE 99

  (If PICKIT.TYPE is 21, a movement to the Row number 8 and to the row number 99 will occur.)

  PRINT #0,PICKIT.TYPE

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

 

Detailed description

  PICKIT.TYPE stores the type 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 automatically updated after the PICKIT.LFO and PICKIT.NXT commands are processed.

  The workpiece pose values are stored in the Pick-it server as many as the count of PICKIT.REMAIN.

  The values that TYPE can have are as shown below.

  21 for square

  22 for rectangle

  23 for circle

  24 for ellipse

  32 for cylinder

  33 for sphere

  35 for point cloud

  50 for blob

 

 

l The Pick-it equipment can recognize not only the workpieces of basic types, such as cylinders and cubes, but also those of complex types.

l For information on how to recognize the workpieces of complex types, refer to the Pick-it Manual.