Skip to end of banner
Go to start of banner

Product and pallet

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

How to get and use Pallet or Product data during palletizing project

Name

Description

Variables from request

Callback Placement

palletDim = palletmanager_daemon.get_pallet_dimensions(0)

Get Pallet data from selected Pattern

pallet_width = pallet_dim[0] / 1000

pallet_length = pallet_dim[1] / 1000

pallet_height = pallet_dim[2] / 1000

beforePallet

productDim = palletmanager_daemon.get_product_dimensions(0)

Get Product data from selected Pattern

product_width = product_dim[0] / 1000

product_length = product_dim[1] / 1000

product_height = product_dim[2] / 1000

product_weight = product_dim[3] / 1000

beforePallet

global variables created

MoveJ

Define global variable with same name to get data

Example:

Place code for getting Pallet or Product data in beforePallet Callback

Define variable(s) you would like to access under MoveJ(must be global)

Note: name of variable you would like to access must be identical to variable from request(see top)

  • No labels