Professional Documents
Culture Documents
construed as a commitment by Asea Brown Boveri, S.A. Asea Brown Boveri, S.A.
assumes no responsibility for any errors that may appear in this manual.
Except as may be expressly stated anywhere in this manual, nothing in here shall be
construed as any kind of guarantee or warranty by Asea Brown Boveri, S.A. for
losses, damages to persons or property, fitness for a specific purpose or the like.
In no event shall Asea Brown Boveri, S.A. be liable for incidental or consequential
damages arising from use of this manual and products described herein.
This manual and parts thereof must not be reproduced or copied without Asea Brown
Boveri, S.A. written permission, and contents therefore must not be imparted to a
third party nor be used for any unauthorized purpose. Contravention will be
prosecuted.
Table of contents
Table of contents 5
Overview 8
2 PalletWare 14
2.1 Introduction ................................................................................................................................................. 14
108
5 Interfaces 112 © Copyright 2010 Asea Brown Boveri, S.A. All right reserved
This manual contains instructions for installing, configuring and running a system
with PalletPack function package.
Usage
Prerequisites
Chapter Contents
References
Reference Document ID
Revisions
Revision Description
Definition
Components
PalletWare Components
Bill of material
AC500,CommunicationModulePROFIBUSDP
CM572-DP 1
Master
PM573-ETH 1 AC500,ProgrammableLogicController
TB541-ETH 1 AC500,TerminalBase,4slots,ETHERNET,24VDC
TA524 3 AC500,DummyCouplerModule
TA521 1 AC500,LithiumBatterySet
DC532 1 S500,DigitalInput/OutputModule16DI/16DC
S500,I/OTerminalUnit,24VDC,SpringforDCI/O
TU516 1
Modules
MC502 1 AC500,SDMemoryCard512MB
IRC5 1 IRC5Robotcontroller
IRB460 1 IRB460highspeedroboticpalletizer
Pluto S46 1 Jokab,SafetyPLC
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
BT51 2 Jokab,Expansionrelay
PalletWare 1 PalletWareIRC5roboticsoftware
The flow
The Flow concept defines the infeeder and the outfeeder where formats are picked
and placed.
PalletWare is limited to a maximum of 2 flows.
One outfeeder can only be used on 1 flow.
The “picking formats” refer to different ways of picking items from the infeeder for
a single job.
The device
Control diagram
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Overview
Related information
This chapter describes the PLC program for the PalletPack and includes:
x The program organization tree.
x A description of the important program organization units (POU).
x The data types used on the program.
x The memory map.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
IOMAP_READ
TEST_MODE
GENERAL
GENERAL_CELL_STATUS
GENERAL_COMMAND_SUMMARY
GENERAL_CHANGEOVER
GENERAL_LIGHT_CONTROL
GENERAL_ACCESS_CONTROL
GENERAL_DOOR_CONTROL
ROBOT
ROBOT_TP_COMMANDS
ROBOT_START_UP
ROBOT_IOGROUPS
ROBOT_HMI
FLOWS_INFEEDER
FLOWS_OUTFEEDER
FLOWS_AUTHORS
SLIPSHEET_MAGAZINE
PALLET_MAGAZINE
IOMAP_WRITE
Usage
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
Type Name
Bool Pulse0
Bool Pulse1
Calling POU
None
Usage
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
Type Name
Bool CellData.Infeeder1.SelectedForProduction
Bool CellData.Infeeder2.SelectedForProduction
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Bool CellData.Outfeeder1.SelectedForProduction
Bool CellData.Outfeeder2.SelectedForProduction
Bool CellData.Flow1.OutOfInfeeder
Bool CellData.Flow1.OutOfOutnfeeder
Bool CellData.Flow2.OutOfInfeeder
Bool CellData.Flow2.OutOfOutnfeeder
Bool CellData.Robot.ForceItem1LoadedInfeeder1
Bool CellData.Robot.ForceItem2LoadedInfeeder1
Bool CellData.Robot.ForceItem3LoadedInfeeder1
Bool doR1ChangeFlow
BYTE Infeeder1.Outputs.QtyItemsFormat1
BYTE Infeeder1.Outputs.QtyItemsFormat2
BYTE Infeeder1.Outputs.QtyItemsFormat3
BYTE Infeeder1.Outputs.CurrentFormatID
Bool CellData.Robot.ForceItem1LoadedInfeeder2
Bool CellData.Robot.ForceItem2LoadedInfeeder2
Bool CellData.Robot.ForceItem3LoadedInfeeder2
BYTE Infeeder2.Outputs.QtyItemsFormat1
BYTE Infeeder2.Outputs.QtyItemsFormat2
BYTE Infeeder2.Outputs.QtyItemsFormat3
BYTE Infeeder2.Outputs.CurrentFormatID
Calling POU
Flows_Infeeder_Instance1: Flows_Infeeder;
Flows_Infeeder_Instance2: Flows_Infeeder;
Flows_Outfeeder_Instance1: Flows_Outfeeder;
Flows_Outfeeder_Instance2: Flows_Outfeeder;
Flows_Formats_Instance1: Flows_Formats;
Flows_Formats_Instance2: Flows_Formats;
Flow_Authors_Instance1: Flow_Authors;
Flow_Authors_Instance2: Flow_Authors;
Usage
Type
Function block
Input arguments
Input/Ouput arguments
None
Ouput arguments
Informrobotthatflowisreadyfor
doFlowEnabled Bool production.
Allowrobottopickandplaceitemfor
doPickPlace Bool thatflow.
None
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Calling POU
None
Usage
Type
Function block
Input arguments
Thequantityofitemsforpicking
diFlow1QtyItem format1toprepareoninfeederfor
Format1 Byte theflow1.
Thequantityofitemsforpicking
diFlow1QtyItem format2toprepareoninfeederfor
Format2 Byte theflow1.
Thequantityofitemsforpicking
diFlow1QtyItem format3toprepareoninfeederfor
Format3 Byte theflow1.
Thecurrentpickingformattoprepare
diFlow1CurrentItemID Byte onflow1.
Thequantityofitemsforpicking
diFlow2QtyItem format1toprepareoninfeederfor
Format1 Byte theflow2.
Thequantityofitemsforpicking
diFlow2QtyItem format2toprepareoninfeederfor
Format2 Byte theflow2.
Thequantityofitemsforpicking
diFlow2QtyItem format3toprepareoninfeederfor
Format3 Byte theflow2.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Thecurrentpickingformattoprepare
diFlow2CurrentItemID Byte onflow2.
Input/Ouput arguments
None
Ouput arguments
doInfeederTPToggle Holdthestatusofthepushbuttonfor
Format1 Bool thepickingformat1oninfeeder.
doInfeederTPToggle Holdthestatusofthepushbuttonfor
Format2 Bool thepickingformat2oninfeeder.
doInfeederTPToggle Holdthestatusofthepushbuttonfor
Format3 Bool thepickingformat3oninfeeder.
doInfeederQtyItem Holdthequantityofitemsforthe
Format1 Byte pickingformat1oninfeeder.
doInfeederQtyItem Holdthequantityofitemsforthe
Format2 Byte pickingformat2oninfeeder.
doInfeederQtyItem Holdthequantityofitemsforthe
Format3 Byte pickingformat3oninfeeder.
None
Calling POU
None
Usage
Type
Function block
Input arguments
diInfeederSelected Infeederisselectedforproduction.
ForProduction Bool
diInfeederReady Bool Infeederisready
diInfeederSelectedFlow1 Bool Infeederisselectedonflow1
diInfeederSelectedFlow2 Bool Infeederisselectedonflow2
diItemDetectionOnInfeed Bool Anitemisdetectedoninfeed
diRobotOufOfInfeeder Bool Robotisoutofinfeederarea
diRobotFlow1 Robotrequestsanewitemforflow1.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
NewItemReq Bool
diRobotFlow2 Robotrequestsanewitemforflow2.
NewItemReq Bool
diRobotItemOnGripper Bool Robotisholdinganitemongripper.
Robotrequesttomonitoritem
transferringfrominfeederto
diRobotMonitorGripper Bool outfeeder.
diRobotTPToggle PushbuttononCellHMIpicking
Format1OKInfeeder Bool format1ispushed.
diRobotTPToggle PushbuttononCellHMIpicking
Format2OKInfeeder Bool format2ispushed.
diRobotTPToggle PushbuttononCellHMIpicking
Format3OKInfeeder Bool format3ispushed.
diInfeederQtyItem Thequantityofitemsforthepicking
Format1 Byte format1oninfeeder.
diInfeederQtyItem Thequantityofitemsforthepicking
Format2 Byte format2oninfeeder.
diInfeederQtyItem Thequantityofitemsforthepicking
Format3 Byte format3oninfeeder.
diInfeeder Thecurrentpickingformattoprepare
CurrentItemID Byte oninfeeder.
Input/Ouput arguments
None
Ouput arguments
None
Calling POU
Toggle_Function_Instance1: Toggle_Function;
Toggle_Function_Instance2: Toggle_Function;
Toggle_Function_Instance3: Toggle_Function;
Usage
Type
Function block
Input arguments
diOutfeederSelected Ifoutfeederisselectedforproduction.
ForProduction Bool
diOutfeederReady Bool Ifoutfeederisready.
diRobotOufOfOutfeeder Bool Robotisoutofoutfeederarea.
diOutfeederPresent Bool Ifpalletisonplace.
Aboutstatusofoutfeederenabling
diOutfeederValidation Bool pushbutton.
diConfirmation Robothasplacedanewpalleton
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
diOutfeeder Outfeederisselectedonflow1
SelectedOnFlow1 Bool
diOutfeeder Outfeederisselectedonflow2
SelectedOnFlow2 Bool
diConfirmation Robothasfinishedstackingpalletfor
PalletFinishFlow1 Bool flow1.
diConfirmation Robothasfinishedstackingpalletfor
PalletFinishFlow2 Bool flow2.
diNewPalletOnOutfeeder Anewpallethasbeenplacedon
Confimation Bool outfeeder.
Input/Ouput arguments
None
Ouput arguments
None
Toggle_Function_Instance1: Toggle_Function;
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Usage
This POU is used to control general status of the cell and production changeover. It
handles:
x Automatic and manual mode.
x Cell Doors.
x Light stacks and lamps.
x Panel boxes push buttons.
x Access to cell.
x Changeover.
Type
Program
Input arguments
Program
Input/Ouput arguments
None
Ouput arguments
Name Type
CellData.GENERAL.RequestStartCycleRobot Bool
CellData.GENERAL.RequestAccess Bool
CellData.GENERAL.PauseInCourse Bool
CellData.GENERAL.Flow1BreakReq Bool
CellData.GENERAL.Flow2BreakReq Bool
CellData.GENERAL.BreakFlow1InCourse Bool
CellData.GENERAL.BreakFlow1InCourse Bool
CellData.GENERAL.RequestPause Bool
CellData.General.ProductionChangeReq Bool
CellData.General.Flow1Started Bool
CellData.General.Flow1EndBatchReq Bool
CellData.General.Flow2Started Bool
CellData.General.Flow2EndBatchReq Bool
doR1Flow1StopAfterItem Bool
doR1Flow1StopAfterLayer Bool
doR1Flow1StopAfterPallet Bool
doR1Flow2StopAfterItem Bool
doR1Flow2StopAfterLayer Bool
doR1Flow2StopAfterPallet Bool
Robotjobnumberflow1 Word
Robotjobnumberflow2 Word
Field.Outputs.doGreenStackLight1 Bool
Field.Outputs.doYellowStackLight1 Bool
Field.Outputs.doRedStackLight1 Bool
Field.Outputs.doGreenStackLight2 Bool
Field.Outputs.doYellowStackLight2 Bool
Field.Outputs.doRedStackLight2 Bool
Field.Outputs.doGreenPB_CMB1 Bool
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Field.Outputs.doYellowPB_CMB1 Bool
Field.Outputs.doBluePB_CMB1 Bool
Field.Outputs.doGreenPB_CMB2 Bool
Field.Outputs.doYellowPB_CMB2 Bool
Field.Outputs.doBluePB_CMB2 Bool
Field.Outputs.doUnlockDoor1 Bool
Field.Outputs.doUnlockDoor2 Bool
Field.Outputs.doUnlockDoor3 Bool
Field.Outputs.doUnlockDoor4 Bool
Field.Outputs.doUnlockDoor5 Bool
General_Access_Control_Instance1: General_Access_Control;
General_Command_Summary_Instance1: General_Command_Summary;
General_Light_Control_Instance1: General_Light_Control;
General_Changeover_Instance1: General_Changeover;
General_Door_Control_Instance1: General_Door_Control;
General_Door_Control_Instance2: General_Door_Control;
General_Door_Control_Instance3: General_Door_Control;
General_Door_Control_Instance4: General_Door_Control;
General_Door_Control_Instance5: General_Door_Control;
General_Cell_Status_Instance1: General_Cell_Status;
Usage
General_Access_Control is used to check the conditions for the user access to cell
and also give command to robot to go the Access Positon
Type
Function block
Input arguments
Bool
diTimeOut Time Commandtimeout.
Input/Ouput arguments
Ouput arguments
None
None
None
Usage
Type
Function block
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
Name Type
CellData.GENERAL.inAuto Bool
CellData.GENERAL.inManual Bool
CellData.GENERAL.inFault Bool
CellData.GENERAL.SummaryEStpOK Bool
CellData.GENERAL.SummaryDoorsOK Bool
CellData.Flow1.UnloadingFault Bool
CellData.Flow2.UnloadingFault Bool
CellData.GENERAL.UnloadingFault Bool
CellData.GENERAL.SummaryLampTest Bool
Calling POU
None
Usage
Type
Function block
Input arguments
diRobot Holdingthecommanddatavalue
TPCommandData WORD fromrobot.
diRobotStartBatch1 Bool Toorderstartofbatchonflow1.
Toorderstopofbatchonflow2
diRobotStopBatch afterrobothasfinishedstackinga
Flow2AfterLayer Bool layeronpallet.
Toorderstopofbatchonflow2
diRobotStopBatch afterrobothasfinishedstackinga
Flow2AfterPallet Bool pallet.
Input/Ouputs arguments
None
Ouput arguments
Informachangeofproductionhas
doProdChangeReq Bool beenrequested.
doFlow1Started Bool Informflow1isstarted.
Informendofbatchhasbeen
doFlow1StopBatchReq Bool requestedforflow1.
doFlow2Started Bool Informflow2isstarted.
Informendofbatchhasbeen
doFlow2StopBatchReq Bool requestedforflow2.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Orderrobottostopflow1afteran
doFlow1StopAfterItem Bool itemisplacedonpallet.
Orderrobottostopflow1when
finishingstackingcurrentlayer
doFlow1StopAfterLayer Bool pallet.
Orderrobottostopflow1when
doFlow1StopAfterLayer Bool finishingstackingcurrentpallet.
Orderrobottostopflow2afteran
doFlow2StopAfterItem Bool itemisplacedonpallet.
Orderrobottostopflow2when
finishingstackingcurrentlayer
doFlow2StopAfterLayer Bool pallet.
Orderrobottostopflow2when
doFlow2StopAfterPallet Bool finishingstackingcurrentpallet.
HoldJobnumbertorunonrobotfor
doRobotJobFlow1 WORD flow1.
HoldJobnumbertorunonrobotfor
doRobotJobFlow2 WORD flow2.
None
Calling POU
None
Usage
Type
Function block
Input arguments
diRobot Toorderrobotmotorsonandstart
MotorOnStart Bool
diRobotBreak Toorderbreakcycleafterrobotplaced
AfterItem Bool theitem.
diRobotBreak Toorderbreakcycleafterrobotfinishes
AfterLayer Bool stackingcurrentlayer.
diRobotBreak Toorderbreakcycleafterrobotfinishes
AfterPallet Bool stackingcurrentpallet.
diRobotFlow1 Toorderresumecycleforflow1.
ResumeCycle Bool
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
diRobotFlow1 Toorderbreakcycleonflow1after
BreakAfterItem Bool robotplacedtheitem.
diRobotFlow1 Toorderbreakcycleonflow1after
BreakAfterLayer Bool robotfinishesstackingcurrentlayer.
diRobotFlow1 Toorderbreakcycleonflow1after
BreakAfterPallet Bool robotfinishesstackingcurrentpallet.
diRobotFlow1 Informingrobothasplacedanewitem
ConfEnditem Bool forflow1.
diRobotFlow1 Informingrobothasfinishedstacking
ConfEndLayer Bool layerforflow1.
diRobotFlow1 Informingrobothasfinishedstacking
ConfEndPallet Bool palletforflow1.
diRobotFlow1 Informingifrobotisworkingonflow1.
WorkingOn Bool
diRobotFlow2 Toorderresumecycleforflow2.
ResumeCycle Bool
diRobotFlow2 Toorderbreakcycleonflow2after
BreakAfterItem Bool robotplacedtheitem.
diRobotFlow2 Toorderbreakcycleonflow2after
BreakAfterLayer Bool robotfinishesstackingcurrentlayer.
diRobotFlow2 Toorderbreakcycleonflow2after
BreakAfterPallet Bool robotfinishesstackingcurrentpallet.
diRobotFlow2 Informingrobothasplacedanewitem
ConfEnditem Bool forflow2.
diRobotFlow2 Informingrobothasfinishedstacking
ConfEndLayer Bool layerforflow2.
diRobotFlow2 Informingrobothasfinishedstacking
ConfEndPallet Bool palletforflow2.
diRobotFlow2 Informingifrobotisworkingonflow2.
WorkingOn Bool
Informingaboutthestatusofstartcycle
diStartCycleCMB1 Bool pushbuttonfrompanelbox1.
Informingaboutthestatusofstartcycle
diStartCycleCMB1 Bool pushbuttonfrompanelbox1.
Informingaboutthestatusofaccess
requestpushbuttonfrompanelbox1.
diAccessReqCMB1 Bool
Informingaboutthestatusofaccess
diAccessReqCMB2 Bool requestpushbuttonfrompanelbox2.
Informingaboutthestatusofaccess
diAccessReqCMB3 Bool requestpushbuttonfrompanelbox3.
Informingaboutthestatusofaccess
diAccessReqCMB4 Bool requestpushbuttonfrompanelbox4.
Informingaboutthestatusofpause
diPauseCycleCMB1 Bool pushbuttonfrompanelbox1.
Informingaboutthestatusofpause
diPauseCycleCMB2 Bool pushbuttonfrompanelbox2.
Informingaboutthestatusofpause
diPauseCycleCMB3 Bool pushbuttonfrompanelbox3.
Informingaboutthestatusofpause
diPauseCycleCMB4 Bool pushbuttonfrompanelbox4.
Input/Ouput arguments
None
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Ouput arguments
CellData.GENERAL. Startcyclehasbeenrequested.
RequestStartCycleRobot Bool
CellData.GENERAL. Accesstocellhasbeenrequested.
RequestAccess Bool
CellData.GENERAL. Bool Pauserequestisinprocess.
PauseInCourse
CellData.GENERAL. Bool Breakonflow1hasbeenrequested.
Flow1BreakReq
CellData.GENERAL. Bool Breakonflow2hasbeenrequested.
Flow2BreakReq
CellData.GENERAL. Bool Breakrequestonflow1isinprocess.
BreakFlow1InCourse
CellData.GENERAL. Bool Breakrequestonflow1isinprocess.
BreakFlow2InCourse
3AEJ04PalletPack Revision: 2.0 43
Name Type A variable...
None
Calling POU
None
Usage
Type
Function block
Input arguments
Input/Ouput arguments
Ouput arguments
None
Calling POU
None
Usage
Color It means...
x Blinking.Cellisreadytostartinautomode.
Green x Fixlight.Cellisrunninginautomode.
x Blinking.Unloadingfaultonrobot.
Yellow x Fixlight.Cellisinpausemode.
x Blinking.Celldoorsopen.
Red x Fixlight.Emergencyoncell.
x Blinking.Accessrequestonprocess.
Blue x Fixlight.Accesstocellisallowed.
Type
Function block
Input arguments
Input/Ouput arguments
None
None
Calling POU
None
Usage
IOMap_Read is used for mapping physical input addresses to memories. Then the
memories are used on the program.
NOTE!
Replace “EditInputAddress” variables for the physical inputs you want to use.
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
%MD0.0 Double
%MD0.1 Double
%MD0.2 Double
%MD0.3 Double
%MD0.4 Double
%MD0.5 Double
%MD0.6 Double
%MD0.7 Double
Field.Inputs InputsField
Infeeder1.Inputs InputsInfeeder
Infeeder2.Inputs InputsInfeeder
Outfeeder1.Inputs InputsOutfeeder
Outfeeder2.Inputs InputsOutfeeder
SlipSheetMagazine.Inputs InputsSlipSheetMagazine
PalletMagazine.Inputs InputsPalletMagazine
CellData.GENERAL.LampTest1 Bool
CellData.GENERAL.LampTest2 Bool
Safety SafetyInterface
Calling POU
None
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Usage
NOTE!
Replace “EditOutputAddressBit” and “EditOutputAdressByte” variables for the
physical outputs you want to use.
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
None
Calling POU
None
Usage
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
Name Type
CellData.PalletMagazine.Enabled Bool
doR1RstHeightPalletMag Bool
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Calling POU
Toggle_Function_Instance1: Toggle_Function;
Usage
The PLC_PRG is a special predefined POU. It is the main program and it contains
all the calls to program POU.
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
Name Type
Test_Mode_Instance1 Test_Mode
Test_Mode_Instance2 Test_Mode
Clock_Pulse_Generation;
IOMAP_Read;
Test_Mode_Instance1: Test_Mode;
Test_Mode_Instance2: Test_Mode;
General;
FlowData_Collect;
Robot;
Flows;
SlipSheet_Magazine;
Pallet_Magazine;
IOMAP_Write;
Usage
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
Name Type
CellData.Robot.TPPushButFlow1Resume Bool
CellData.Robot.TPPushButFlow1BreakAfterItem Bool
CellData.Robot.TPPushButFlow1BreakAfterLayer Bool
CellData.Robot.TPPushButFlow1BreakAfterPallet Bool
CellData.Robot.TPPushButFlow1StartBatch Bool
CellData.Robot.TPPushButFlow1StopAfterItem Bool
CellData.Robot.TPPushButFlow1StopAfterLayer Bool
CellData.Robot.TPPushButFlow1StopAfterPallet Bool
CellData.Robot.TPPushButFlow1ToggleFormat1Loaded Bool
CellData.Robot.TPPushButFlow1ToggleFormat2Loaded Bool
CellData.Robot.TPPushButFlow1ToggleFormat3Loaded Bool
CellData.Robot.TPPushButFlow1StopAtPick Bool
CellData.Robot.TPPushButFlow1StopAtDrop Bool
CellData.Robot.TPPushButFlow2Resume Bool
CellData.Robot.TPPushButFlow2BreakAfterItem Bool
CellData.Robot.TPPushButFlow2BreakAfterLayer Bool
CellData.Robot.TPPushButFlow2BreakAfterPallet Bool
CellData.Robot.TPPushButFlow2StartBatch Bool
CellData.Robot.TPPushButFlow2StopAfterItem Bool
CellData.Robot.TPPushButFlow2StopAfterLayer Bool
CellData.Robot.TPPushButFlow2StopAfterPallet Bool
CellData.Robot.TPPushButFlow2ToggleFormat1Loaded Bool
CellData.Robot.TPPushButFlow2ToggleFormat2Loaded Bool
CellData.Robot.TPPushButFlow2ToggleFormat3Loaded Bool
CellData.Robot.TPPushButFlow2StopAtPick Bool
CellData.Robot.TPPushButFlow2StopAtDrop Bool
CellData.Robot.TPPushButAccess Bool
CellData.Robot.TPPushButReset Bool
CellData.Robot.TPPushButStopRobot Bool
CellData.Robot.TPPushButStartRobot Bool
CellData.Robot.TPPushButBreakAfterItem Bool
CellData.Robot.TPPushButBreakAfterLayer Bool
CellData.Robot.TPPushButBreakAfterPallet Bool
Calling POU
Robot_Start_Up_Instance1: Robot_Start_Up;
Robot_IOGroups_Instance1: Robot_IOGroups;
Robot_HMI_Instance1: Robot_HMI;
Robot_TP_Commands_Instance1: Robot_TP_Commands;
Usage
Type
Function block
Input arguments
Input/Ouput arguments
None
None
Calling POU
None
Usage
Type
Program
Input arguments
Input/Ouput arguments
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
None
Ouput arguments
doRobotFlow1Job Informloadedjobonrobotforflow1is
CodeOk Bool correct.
doRobotFlow2Job Informloadedjobonrobotforflow2is
CodeOk Bool correct.
doOrderReceived Bool Informrobothasreceivedtheorder.
doOrderSent Bool Informtheorderhasbeensenttorobot.
doOrderExecuted Bool Informrobothasexecutedorder.
doOrderTimeOut Bool Informtheorderhasexpired.
Holdthevalueofcommandtosendto
doOrderSentToRobot Byte robot.
doRobotEchoInfoPosition Byte Holdthevalueofrobotposition.
Holdthevalueoftheloadedjobonrobot
doRobotEchoJobFlow1 Word forflow1.
Holdthevalueoftheloadedjobonrobot
doRobotEchoJobFlow2 Word forflow2.
Holdthevalueofcommandtosendto
doOrderToRobot Byte robot.
None
Calling POU
None
Usage
Robot_Start_Up is used to start and stop robot when requested like motors On and
Quick Stop to the Robot
Type
Function block
Input arguments
Containingstatusoftaskexecuting
diRobotTaskExecuting Bool systemoutputfromrobot.
Toinformifitisnecessarytostart
diStartfromMainNeeded Bool robotatmainroutine.
diStopRobot Bool Toorderrobottostop.
diImmediateStopSelected Bool Toselectimmediatestoptype.
Toselectstopafterinstructionstop
diStopAfterInstructionSelected Bool type.
Containingthecommandtobesent
diCommandToRobot Byte torobot.
Input/Ouput arguments
None
None
Calling POU
None
Usage
Robot_TP_Commands reads the commands send from the CellHMI and store
them on memory.
These memories are use later during the program.
Type
Function block
Input arguments
Containingthecommandvalueof
diRobotTPCommand Byte FlexpendantCellHMI.
Informingifanewcommandis
diTPCommandReq Bool availableondiRobotTPCommand
Informingifthenewjobcodeforthe
diFlow1JobCodeOK Bool flow1loadedinrobotiscorrect.
Informingifthenewjobcodeforthe
diFlow2JobCodeOK Bool flow2loadedinrobotiscorrect.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Input/Ouput arguments
None
Ouput arguments
doRobotEnablePalletMag enabled.
doCommandToRobot Byte Holdcommandvaluetosendtorobot.
None
Calling POU
None
Usage
Type
Program
Input arguments
None
Input/Ouput arguments
None
Ouput arguments
None
Type Name
Bool CellData.SlipSheetMagazine.Enabled
Bool doR1RstHeightSlipSheetMag
Toggle_Function_Instance1: Toggle_Function;
Usage
This POU is used during test to make possible running robot on dry cycle.
It emulates the behaviour of infeeder item sensor.
Type
Function block
Input arguments
None
Input/Ouput arguments
diNewFormatReq Informingthereisarequesttoprepareanew
OnInfeed Bool formatinfeeder.
diInfeedSelected Informinginfeederisselectedforproduction.
OnProduction Bool
Informingaboutthetypeofpickingformatto
diFormatReqID Bool prepareoninfeeder.
Informingaboutthenumberofitemsto
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Ouput arguments
None
Calling POU
None
Usage
Type
Function block
Input arguments
Input/Ouput arguments
None
Ouput arguments
None
Calling POU
None
This chapter describes the different data types used in the PLC program.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
AfterPallet palletpushbutton.Flow1.
TPPushButFlow1StartBatch BOOL Startbatchpushbutton.Flow1.
TPPushButFlow1Stop BOOL Endbatchafteritemisplacedpush
AfterItem button.Flow1.
BOOL Endbatchwhenfinishstacking
TPPushButFlow1Stop currentlayerpushbutton.
AfterLayer Flow1.
BOOL Endbatchwhenfinishstacking
TPPushButFlow1Stop currentpalletpushbutton.
AfterPallet Flow1.
TPPushButFlow1StopAtPick BOOL Stopatpickpushbutton.Flow1.
TPPushButFlow1StopAtDrop BOOL Stopatdroppushbutton.Flow1.
TPPushButFlow1 BOOL Togglebuttonpickingformat1.
ToggleFormat1Loaded Flow1.
TPPushButFlow1 BOOL Togglebuttonpickingformat2.
ToggleFormat2Loaded Flow1.
TPPushButFlow1 BOOL Togglebuttonpickingformat3.
ToggleFormat3Loaded Flow1.
TPPushButFlow2Resume BOOL Resumepushbutton.Flow2.
TPPushButFlow2Break BOOL Breakafteritemisplacedpush
AfterItem button.Flow2.
TPPushButFlow2Break BOOL Breakwhenfinishstackingcurrent
AfterLayer layerpushbutton.Flow2.
TPPushButFlow2Break BOOL Breakwhenfinishstackingcurrent
AfterPallet palletpushbutton.Flow2.
TPPushButFlow2StartBatch BOOL Startbatchpushbutton.Flow2.
TPPushButFlow2Stop BOOL Endbatchafteritemisplacedpush
BOOL Breakafteritemisplacedpush
TPPushButBreakAfterItem button.
BOOL Breakwhenfinishstackingcurrent
layerpushbutton.
TPPushButBreakAfterLayer Flow2.
BOOL Breakwhenfinishstackingcurrent
palletpushbutton.
TPPushButBreakAfterPallet Flow2.
TPPushButStartRobot BOOL Startpushbutton.
TPPushButStopRobot BOOL Stoppushbutton.
TPPushButAccess BOOL Accessrequestpushbutton.
TPPushButReset BOOL Resetpushbutton.
TPPushButRobotToHome BOOL Tohomepushbutton.
TPPushButRobotToAccess BOOL Toaccesspushbutton.
TPPushButRobotOutOfLine BOOL Tooutoflinepushbutton.
TPPushButEnableOutfeeder1 BOOL Enableoutfeeder1pushbutton.
TPPushButEnableOutfeeder2 BOOL Enableoutfeeder2pushbutton.
BOOL Enableslipsheetmagazinepush
TPPushButEnableSlipSheetMag button.
BOOL Enablepalletmagazinepush
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
TPPushButEnablePalletMag button.
BOOL Pickingformat1pushbutton.
ForceItem1LoadedInfeeder1 Infeeder1.
BOOL Pickingformat2pushbutton.
ForceItem2LoadedInfeeder1 Infeeder1.
BOOL Pickingformat3pushbutton.
ForceItem3LoadedInfeeder1 Infeeder1.
BOOL Pickingformat1pushbutton.
ForceItem1LoadedInfeeder2 Infeeder2.
BOOL Pickingformat2pushbutton.
ForceItem2LoadedInfeeder2 Infeeder2.
BOOL Pickingformat3pushbutton.
ForceItem3LoadedInfeeder2 Infeeder2.
Usage
Structure
Usage
Structure
BOOL Resetpushbuttonof
diResetPB_CMB1 panelbox1.
BOOL Resetpushbuttonof
diResetPB_CMB2 panelbox2.
BOOL Resetpushbuttonof
diResetPB_CMB3 panelbox3.
BOOL Resetpushbuttonof
diResetPB_CMB4 panelbox4.
BOOL Startpushbuttonof
diStartPB_CMB1 panelbox1.
BOOL Startpushbuttonof
diStartPB_CMB2 panelbox2.
BOOL Startpushbuttonof
diStartPB_CMB3 panelbox3.
BOOL Pausepushbuttonof
diPausePB_CMB1 panelbox1.
BOOL Pausepushbuttonof
diPausePB_CMB2 panelbox2.
BOOL Pausepushbuttonof
diPausePB_CMB3 panelbox3.
BOOL Pausepushbuttonof
diPausePB_CMB4 panelbox4.
BOOL Automodeselectorof
diAutoSelector_CMB1 panelbox1.
BOOL Automodeselectorof
diAutoSelector_CMB2 panelbox2.
BOOL Automodeselectorof
diAutoSelector_CMB3 panelbox3.
BOOL Automodeselectorof
diAutoSelector_CMB4 panelbox4.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Inputs Palletmagazineinputs.
Inputs PalletMagazine
Outputs Palletmagazineoutputs.
Outputs PalletMagazine
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Usage
Structure
Inputs Slipsheetmagazineinputs.
Inputs SlipSheetMagazine
Outputs Slipsheetmagazineoutputs.
Outputs SlipSheetMagazine
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Structure
Usage
Variables
Usage
Variables
Storethevalueoftherobotoutputs.
From %MX0.0.0 to %MX0.39.7 Namestructure:diR1%NAME%
Assignvaluetorobotinputs.
From %MX0.64.0 to %MX0.103.7 Namestructure:doR1%NAME%
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
Overview
Global variables are used to store all the data of the program.
Variables
Squarewave.
Pulse0 Bool TimeH=0.1sec,TimeL=0.1sec
Bool Squarewave.
Pulse1 TimeH=0.2sec,TimeL=0.2sec
Bool Squarewave.
Pulse2 TimeH=0.4sec,TimeL=0.4sec
Bool Squarewave.
Pulse3 TimeH=0.5sec,TimeL=0.6sec
Bool Squarewave.
Pulse4 TimeH=0.8sec,TimeL=0.8sec
Bool Squarewave.
Pulse5 TimeH=1sec,TimeL=1sec
Bool Squarewave.
Pulse6 TimeH=1.6sec,TimeL=1.6sec
Bool Squarewave.
Pulse7 TimeH=2sec,TimeL=2sec
BitTo0 Bool AlwaysTRUE.
BitTo1 Bool AlwaysFALSE.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
This chapter describes the PLC Safety program for the PalletPack and includes:
x A reference to built-in program.
x A description of the IO map.
Safety concepts
This chapter contains a description of the interface between PLC and robot with
PalletWare.
List of inputs
List of ouputs
rgoFlow1Format3QtyItems 8 bits.
GO It informs about the quantity of items to
prepare for format 1 on flow 2.
rgoFlow2Format1QtyItems 8 bits.
GO It informs about the quantity of items to
prepare for format 2 on flow 2.
rgoFlow2Format2QtyItems 8 bits.
GO It informs about the quantity of items to
prepare for format 3 on flow 2.
rgoFlow2Format3QtyItems 8 bits.
GO It informs about the format type to prepare on
rgoFlow1NextFormat infeeder used on flow 1.
GO It informs about the format type to prepare on
rgoFlow2NextFormat infeeder used on flow 2.
rgiOrderRequest
rgiF1JobNumber
rgiF2JobNumber
rgoOrderAck
22 Custom order 1.
23 Custom order 2.
24 Custom order 3.
25 Custom order 4.
rgoF2JobNumber
4 Home position.
5 Access position.
22 Custom order 1.
23 Custom order 2.
24 Custom order 3.
25 Custom order 4.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
2 Reset.
3 Stop.
4 Robot to Home.
5 Access request.
22 Custom order 1.
23 Custom order 2.
24 Custom order 3.
25 Custom order 4.
28 Break cycle after robot finishes stacking current layer. All flows.
39 Resume flow 2.
47 Enable outfeeder 2.
Overview
The communication with robot CellHMI takes place through robot interface.
For further information refer to 5.1 Robot on page 112.
This chapter contains a description of the interface between PLC and the infeeder.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
List of inputs
List of inputs
This chapter contains a description of the interface between PLC and the
outfeeder.
List of inputs
List of outputs
This chapter contains a description of the interface between PLC and the pallet
magazine.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
List of inputs
List of outputs
This chapter contains a description of the interface between PLC and the slip sheet
magazine.
List of inputs
List of outputs
This chapter contains a description of the interface between PLC and field devices.
© Copyright 2010 Asea Brown Boveri, S.A. All right reserved
List of inputs
List of outputs
This chapter contains a description of the interface between PLC and the safety
PLC.
List of inputs
List of outputs
None