Cancel
Showing results for 
Search instead for 
Did you mean: 

Move method does not work

Pioneer
Pioneer

Hi community,

 

As you can see in my frame "move" here, I intended to move all the MUs in the container to the Drain_parts, however, with my coding, it only does that once and then stops. I don't know how to make it continue until it is finished. Anybody please teach me. Thank you so much!

4 REPLIES

Re: Move method does not work

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Alano,

 

in the attached model for Plant Simulation 12.0 I added comments into the methods load and unload.

I changed the way of calling these methods.

 

Regards,

Peter

Re: Move method does not work

Pioneer
Pioneer

Thank you Peter. But is there any way we can still mount 4 parts onto the pallet before it moves, and at the end it will move 4 parts to the Drain_parts?

Re: Move method does not work

Siemens Phenom Siemens Phenom
Siemens Phenom

Of course, it is possible.

But in the load method you must wait until the Source_parts of part created a part.

In the unload methode you must wait until the Drain_parts deleted the part.

 

Re: Move method does not work

Pioneer
Pioneer
Well this is getting more mind-provoking but intersting at the same time for me. Thank you for your instructions. I'll definitely spend more time on this!