Cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer parts to Line from transporter

Legend
Legend

Hello!

 

I am trying to transfer parts to a Line with a Cycle Time of (say) 3 minutes. PLantSim Help says that the entrance opens after the cycle time. I may be missing a very simple thing here..

 

I tried to use the waituntil statement at the sensor to make the transporter wait until the Line is ready to accept parts.

However the EntranceOpen and EntranceFree attributes of the Line are not watchable. I don't know if only the entranceLocked attribute applies to cycle time.

 

How can this be done? 

Thanks in advance.

 

Sanchay

9 REPLIES

Re: Transfer parts to Line from transporter

Phenom
Phenom
For a better understanding ,

could you please post which objects are involved in your

posted issue or send your model layout.

Thank you

Re: Transfer parts to Line from transporter

Legend
Legend

I can't share the original model unfortunately.

However, I have recreated the problem in a simpler model. 

 

Parts are transferred when the Line does not have a cycle time value.But this is not my problem.

 

When you enter a cycle time, the transporter should stop at the sensor until the Line is available, part should be transferred, and then the transporter should move ahead. 

 

Thanks.

Re: Transfer parts to Line from transporter

Legend
Legend

**A little nudge to the top**

Re: Transfer parts to Line from transporter

Phenom
Phenom

I've set entranceLock /unlock  

 

through a generator ( intervall 3 sec)

 

Is that a solution ?

Re: Transfer parts to Line from transporter

Legend
Legend

I think there was some misunderstanding of the question. 

 

It does not transfer part when the Line object has a cycle time..

 

Unbenannt.PNG

Re: Transfer parts to Line from transporter

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

I was looking into the model you posted and found a working solution.

 

So, the issue was that you don't wait until the mu actually arrives on the line, before you set stopped := false. 

But as you can see, if you simulate with real-time the transporter will be stopped for some time (according to the cycle time). But I guess this is as intended. 

Re: Transfer parts to Line from transporter

Phenom
Phenom

@Sanchay

 

Please read in the help , why you cannot transfer a Mu via method this way.

 

You will always miss the time stamp when the line is open.

 

"Plant Simulation opens the entrance for a moment. When an MU is Waiting to enter at that time, it may enter, if not, another cycle has to pass before it may enter"

 

 

Re: Transfer parts to Line from transporter

Legend
Legend

@simulator 

 

Now I understand that it will only be effective if the MU has already received the move command. 

Thanks a lot.

Re: Transfer parts to Line from transporter

Legend
Legend

@_Busck

 

This seems to work nicely and solves the problem. 

Thanks.