Pally idle time
This example demonstrates how to use the robot while Pally is idle.
Understanding the idle time between Pally cycles
Pally generates a complete program with an infinite palletizing loop, but it can be interrupted by controlling the pick signals as described in Software controlled inputs . The robot can be safely controlled from another thread while Pally is waiting for a new product.
How to use
Create your own thread where you implement custom tasks for the robot, e.g. filling the cardboard boxes with chocolate bars or performing a simple dance.
Create some functions that control the Pally pick signals and wait for the specific Pally state (box picked, box completed) then use your own thread to do some idle tasks and activate Pally whenever a box is present.
helper functions to activate Pally via software pick signal and wait for completion
set a new variable indicating Pally completion state 1 (box picked) in afterGrab
set a new variable indicating Pally completion state 2 (box completed) in afterRelease
process the real ‘physical’ product sensor signal value in a separate thread
when a box is available, activate Pally and wait for box completion, otherwise do idle tasks (let’s dance)
, multiple selections available,
Related content
Headless Pally
Headless Pally
More like this
Pally program is waiting on the "onNextTask" line and robot is not moving
Pally program is waiting on the "onNextTask" line and robot is not moving
More like this
Introduction to Pally URcap
Introduction to Pally URcap
More like this
Programming Pally for Doosan
Programming Pally for Doosan
More like this
Bug: Pally does not start palletizing even if there is a box present
Bug: Pally does not start palletizing even if there is a box present
More like this
Error "Runtime too much behind"
Error "Runtime too much behind"
More like this