based on my normal model, I create a small version to debug a problem to have a worker carry parts from one workcell to another.
On a first workcell parts are pre-processed and delivered to a buffer. A worker shall pickup this set of parts and deliver to the next workcell.
Robots are used to handle the parts inside the workstations.
I attached this small example. The parts are delivered to the buffer1, but the worker is not leaving the pool to pickup.
There are breakpoints on the important locations. 'OnExit' of the Buffer1 is scanned only once, it is not scanned when the buffer is full. An observer is used to monitor the parts and set the Unload command.
Solved! Go to Solution.
in Buffer1, there are no services defined for 'CarryPartAway'.
Remove the exitControl of Buffer1, because this exit control prevents the request of the worker (the part will not exit the station, so the worker for carrying the part away will not be called)
Hope this helps.
thanks for your reply.
I based my example on a small example which I found on the forum.
In this example there is also an observer which checks the amount of part (NumMU) and sets a boolean to move the parts (call the worker) using the exit control.
I attached this example, where I added the footpath's.
- you need to define the service carryParts for the exit behavior
- you need to define a maximum dwell time > 0
- in the observer you need to move the first part using simtalk (buffer1.cont.move)
then it works
thanks for your reply.
I changed these 3 items and worker moves out. However he does not pick up all parts fro the buffer.
What is the criterai for the worker to remove all parts together ?
In the example I attached in the 1st reply, we see there is no dwell time for the Buffer and the worker picks up all parts.
OK, not I saw the difference in bebaviour of the worker when setting a dwell time at the exit in the buffer.
I like to have a property to allow the worker to always carry all parts from the buffer at the same time.
The transfer station has such property.
So probably I need to program this feature, how can I hold the worker in the workplace until all parts are transferred ?
In my real model I have to collect a set of part and have the worker carry it to the next workcell.
now I see, the worker will wait until his capacity is loaded when the time 'Max Dwell Time' of the delivering buffer is long enough.
If I enter on shift time (8hrs), the guy will spend his whole time in front of the buffer.
A lower time will end his waiting time and deliver only part of a complete set.