Robot palletization sample program
Sample program for palletization on the RV-7FLL robot.
It can also be used for other robots.

"Copyright © Mitsubishi Electric Europe B.V.
IMPORTANT !
These Function Blocks are demo versions that are only intended to demonstrate program functions and provide general orientation for your software choices. They are not suitable for use in real applications! "
"Improper use of demo versions in applications can lead to serious malfunctions and damage! Programs for real applications must always be configured for the individual application by trained staff and tested thoroughly before being used.
Mitsubishi Electric cannot assume any liability if these examples are used in real applications."
1 Program description
The program is designed to calculate cycle times for most palletizing applications on a robot. In particular, it is addressed to the Euro-pallet palletization application on the RV-7FLL robot. The definition of the program consists in setting one point of the pallet and picking and packaging parameters.
2 Description of variables
Input parameters:
Variable | Description |
MBoxWidth | Box width [mm] |
MBoxDeep | Box depth [mm] |
MBoxHigh | Box height [mm] |
MPalletWidth | Pallet width [mm] |
MPalletDeep | Pallet depth [mm] |
MLayNum | The number od layers |
MOffsetZ | Approach offset |
MTimePos | Time for robot positioning [s] |
MTimeGrip | Time to pick up the box [s] |
Positions to teach:
Pal0 – pallet corner
Ppick – picking position
3 Program example
- '(1) Pal0 - Teach point - pallet corner
- '(2) Ppick - Teach Point - picking position
- '************** pallet setting ********************
- MBoxWidth=292
- MBoxDeep=161
- MBoxHigh=166
- MPalletWidth=1200
- MPalletDeep=805
- MBoxNumX=MPalletWidth\MBoxWidth
- MBoxNumY=MPalletDeep\MBoxDeep
- MLayNum=6
- MOffsetZ=50
- MTimePos=0.05
- MTimeGrip=0.2
- '************* pallet calculation **********************
- MHGrip=-MOffsetZ 'wysokosc najazdu bez produktu
- MHPut=-MBoxHigh-MOffsetZ 'wysokosc najazdu z produktem
- MBoxNum=MBoxNumX*MBoxNumY
- PalA=Pal0
- PalB=Pal0
- PalD=Pal0
- PalA.X=Pal0.X+(MBoxNumX-1)*MBoxWidth
- PalB.Y=Pal0.Y+(MBoxNumY-1)*MBoxDeep
- PalD.X=Pal0.X+(MBoxNumX-1)*MBoxWidth
- PalD.Y=Pal0.Y+(MBoxNumY-1)*MBoxDeep
- def plt 1, Pal0,PalA,PalB,PalD,MBoxNumX,MBoxNumY,1
- loadset 1,1
- mvtune 2
- tool 1
- MCount=0
- cnt 1
- for mLayer=1 to MLayNum
- for mprod=1 to MBoxNum
- mov ppick,MHGrip
- mvs ppick
- dly MTimePos
- hclose 1
- dly MTimeGrip
- mvs ppick,MHPut
- ppal=plt 1, mprod
- ppal.Z=Pal0.Z+(mLayer-1)*MBoxHigh
- mov ppal,MHPut
- mvs ppal
- dly MTimePos
- hopen 1
- dly MTimeGrip
- mvs ppal,MHGrip
- MCount=MCount+1 'licznik cykli
- next mprod
- Next MLayer
- cnt 0
- end
Attachments:
File name
| Description
|
Uniwersalny_program_paletyzacji.pdf | Manual |
Paletyzacja_Sample.zip | Projekt RT Toolbox |
Related Articles
Sample GOT screens for robot control (FR Series, CR800-D), Full Project
An official sample GOT2000 project for robot FR Series (CR800-D controller) controlling and monitoring System configuration: Project contains follwing screens: Robot operation Position Edit JOG control HAND control Variable edit Load level monitor ...
Oscillograph Basics RTToolbox 3
Introduction The oscillograph can display a graphical representation of a robot's various internal data. The data acquired from the robot can be saved in a CSV file. A program name, an execution row number, and an input-and-output signal are also ...
PLC loads robot’s programs by control register
Robot can be controlled by general PLC or other system. This article shows how to easly run any robot’s program by one control register and its deferent values. Komendy Tool, Oadl są zachowane zarówno przy wywołaniu programu instrukcją CallP, jak i ...
SLMP connection with robot. Sending global and status variables to SLMP Client
FR series robot (CR 800 controllers) have additional option of SLMP communication server implemented as standard. This enables to obtain several data from robot controller without complex configuration. With additional configuration there is ...
Robot simulation with additional axis - quick start guide
This document shows how to make the robot simulation with addtional axis movement. This function can be used to move any objects from the layout. "Copyright © Mitsubishi Electric Europe B.V. IMPORTANT ! These Function Blocks are demo versions that ...