Cancel
Showing results for 
Search instead for 
Did you mean: 

Start assembly when next station is empty

Creator
Creator

Hello,

I'm looking for method to start process in one station only when next station is empty.

For example below situation: "Assembly1" can not start when "End1" is full (during the process) but "Assembly" can works.

 

The real reason is that "Assembly1" and "End1" are the same physical station but it is possible to preform these two operations in one time.

 

Is there any way to do that?

Thank You in advance for Your help!

 

ps1.png

7 REPLIES 7

Betreff: Start assembly when next station is empty

Phenom
Phenom

By locking the entry of assembly1 on entry and unlocking the assembly1 entry on exit of end1 with

 

2 methods

 

Don't forget to set entrylocked := false at the beginning of the simulation run ( e.g. in an init method)

Betreff: Start assembly when next station is empty

Creator
Creator

Thank You for answer.

 

I have locked the entry of assembly1:

ps4.jpg

 

But where I should write "entrylocked := false" code?

 

Betreff: Start assembly when next station is empty

Phenom
Phenom

You lock the 1. station  when the MU enters the station through the entry method

 

e.g.   ?.entranceLocked :=true

 

and you unlock the 1. station , when the same MU leaves the 2. station through

 

the station2 exit method  (deselect check box front,  select  check box rear )

 

e.g . station1.entranceLocked:=false

 

In the init method add also

 

station1.entranceLocked:=false

 

 

so that at the  start of simulation  MUs can enter the 1. station.

Betreff: Start assembly when next station is empty

Siemens Phenom Siemens Phenom
Siemens Phenom

You can put that code as exit control of your second station e.g. "End1" or "End2" or as entrance control of your drain.

Kind regards,

Igor
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution


Betreff: Start assembly when next station is empty

Creator
Creator

Works great. Thank You!

Betreff: Start assembly when next station is empty

Experimenter
Experimenter

Hi mkew,

 

I’m facing a similar problem as you did with locking the first station when the next station is occupied. However, the given solution does not work for me. What code did you exactly use? Did you use a method of a self-entrance at the control tab of the station?

 

Although it has been a while since you had this issue, I hope you can help me.

Thanks in advance!

Betreff: Start assembly when next station is empty

Phenom
Phenom

@Eline,

 

the way it works, is with a self entrance method and

 

a self exit method at a later (end) station in the line. (s. previous posts )

 

If you require additional support concerning your issue please open a new request,

 

as this one is already marked as "solution"

 

and therefore might not get the required attention.