Pallet Statement

Defines and displays pallets.

Syntax
(1) Pallet [Outside,] [ palletNumber, P1, P2, P3 [, P4 ], columns, rows ]

(2) Pallet [Outside,] palletNumber, coordinateData 1, coordinateData 2, coordinateData 3 [, coordinateData 4 ], columns1, rows2

(3) Pallet

Parameters

Outside
Optional. Allow row and column indexes outside of the range of the specified rows and columns.
palletNumber
Palette number (integer from 0 to 15) as an expression or numeric value.
P1, P2, P3
Specify the point variable to be used for the palette definition (standard 3-point definition).
P4
Optional. Point variable which is used with P1, P2 and P3 to define 4 point pallet.
columns1
Specify the number of divisions between point number 1 (coordinate system data 1) and point number 2 (coordinate system data 2) of the palette as an integer. Valid values are 1 to 32767. (columns1×rows2 <32767)
rows2
Specify the number of divisions between point number 1 (coordinate system data 1) and point number 3 (coordinate system data 3) of the palette as an integer. Valid values are 1 to 32767. (columns1×rows2 <32767)
coordinateData1, 2, 3
Specify the coordinate system to be used for palette definition (standard 3-point definition) directly in point data.
CoordinateData4
Optional. Point data which is used with coordinateData 1 to 3 for 4-point pallet definition.

Return Values
(3) Displays all defined pallets when parameters are omitted.

Description
Defines a pallet by teaching the robot, as a minimum, points P1 (coordinateData 1), P2 (coordinateData 2) and P3 (coordinateData 3) and by specifying the number of points from P1 (coordinateData 1)to P2 (coordinateData 2) and from P1 (coordinateData 1) to P3 (coordinateData 3).

If the pallet is a well ordered rectangular shape, only 3 of the 4 corner points need to be specified. However, in most situations it is better to use 4 corner points for defining a pallet.

To define a pallet, first teach the robot either 3 or 4 corner points, then define the pallet as follows:

A pallet defined with 4 points: P1, P2, P3 and P4 is shown below. There are 3 positions from P1-P2 and 4 positions from P1-P3.

This makes a pallet which has 12 positions total. To define this pallet the syntax is as follows: Points that represent divisions of a pallet are automatically assigned division numbers, which, in this example, begin at P1. These division numbers are also required by the Pallet Function.

When Outside is specified, row and column indexes outside of the range of rows and columns can be specified.

For example:

Pallet Outside 1, P1, P2, P3, 4, 5
Jump Pallet(1, -2, 10)

Notes


  • The Maximum Pallet Size

    The total number of points defined by a specific pallet must be less than 32,767.

  • Incorrect Pallet Shape Definitions

    Be aware that incorrect order of points or incorrect number of divisions between points will result in an incorrect pallet shape definition.

  • Pallet Plane Definition

    The pallet plane is defined by the Z axis coordinate values of the 3 corner points of the pallet. Therefore, a vertical pallet could also be defined.

  • Pallet Definition for a Single Row Pallet

    A single row pallet can be defined with a 3 point Pallet statement or command. Simply teach a point at each end and define as follows: Specify 1 as the number of divisions between the same point.

    > Pallet 2, P20, P21, P20, 5, 1    'Defines a 5D1 pallet
    
  • UVW Coordinate Values

    When the UVW coordinate values of the 3 (or 4) points specified with the Pallet statement vary, the UVW coordinate values of the point 1 and the coordinate system data 1 are used.

The UVW coordinate values of the point numbers from 2 to 4 and the coordinate system numbers from 2 to 4 are ignored.

  • Additional Axes Coordinate Values

    When the coordinate values of the 3 (or 4) points specified with the Pallet statement include the additional ST axis coordinate values, Pallet includes these additional coordinates in the position calculations. In the case where the additional axis is used as the running axis, the motion of the running axis is considered and calculated with the Pallet definition. You need to define a pallet larger than the robot motion range considering the position of the running axis. Even if you define additional axes that are not affected by the pallet definition, be careful of the positions of additional axes when defining the pallet.


See Also
Pallet Function

Pallet Statement Example
The following instruction from the command window sets the pallet defined by P1, P2 and P3 points, and divides the pallet plane into 15 equally distributed pallet point positions, with the pallet point number 1, the pallet point number 2 and the pallet point number 3 sitting along the P1-to-P2 side.

> pallet 1, P1, P2, P3, 3, 5
> jump pallet(1, 2)         'Jump to position on pallet

The resulting Pallet is shown below: