Chapter 2 Program Flow
2-19
[ 2 ] Parameter Value Setting
Set the parameter values such as the numbers of side and lengthwise
partitions and the layers in palletizing by calling “pltInitialize” from the program
library.
If you select [1-palletizing] in [Equipment type] in the [New project] dialog box
when “New system project” is executed, the program “PRO2” titled “palletizing
initialization template 1” is automatically registered in the library. Since this
program is called “pltInitialize”, change the values of the arguments in the
CALL statement to the proper ones before using.
'!TITLE ”palletizing Initialization template 1”
#DEFINE pltIndex 0
PROGRAM PRO2
CALL pltInitialize(pltIndex, 4,3,1,50,50,50,52,53,54,55) 'Initializes palletizing
'number 0.
END
Fig. 2-18 Library Program “Palletizing Initialization Template 1”
CALL pltInitialize(pltIndex, 3, 5, 3, 50, 50, 10, 52, 53, 54, 55) in parameter
description
1stPalletizing program No. (pltIndex)
2ndNumber of side partitions (3)
3rdNumber of lengthwise partitions (5)
4thNumber of layers (3)
5thApproach length (50mm)
6thDepart length (50mm)
7thPallet height (10mm)
8thP1 position (P52)
9thP2 position (P53)
10thP3 position (P54)
11thP4 position (P55)
Fig. 2-19 Description of Parameter “pltInitialize”
The meaning of this parameter can be seen with the tool “Command builder” in
the PAC manager of WINCAPSII.
Designate only a number for type P variable.
}
Comments to this Manuals