question

Yue Y avatar image
0 Likes"
Yue Y asked Braydn T converted comment to answer

Trigger when conveyor input port is green

Is there any trigger to use once the conveyor's input port turns green?

I am looking at on Entry trigger, does this trigger happens when an flow item starts entering or finish entering? The use case here it, I want to be notified once the conveyor is ready to load next item on it.

edit:

I tried it myself, the trigger happens when the item starts entering. Is there any trigger used when the item finishes entering?

FlexSim 19.1.0
triggers
· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joseph Gillespie avatar image Joseph Gillespie commented ·

Hi @Yue Y,

I don't think there is a trigger for that specific purpose, but there are probably other ways to do what you are trying. What are you trying to do more specifically? If you could upload an example model with the problem that would be especially helpful.

0 Likes 0 ·
Yue Y avatar image Yue Y Joseph Gillespie commented ·

The model is quite simple. There is a straight conveyor attached to the source. The source is controlled by an external service.The external service will only allow source to emit item if the the input port of the conveyor is open. So I need to inform the external service once the conveyor's input port is green/open. Is there a way to achieve this?

0 Likes 0 ·
Yue Y avatar image Yue Y Joseph Gillespie commented ·

If there is no trigger available, any user event that I can listen to or even knowing the time difference between start entering the conveyor and finish entering the conveyor is also helpful

0 Likes 0 ·
Mischa Spelt avatar image Mischa Spelt Yue Y commented ·

You could put a photo eye at the beginning of the conveyor (or as far along the conveyor as you wish the items to be spaced) and use the photo eye's events instead.

1 Like 1 ·
Show more comments
Yue Y avatar image Yue Y Joseph Gillespie commented ·

How does the conveyor in FlexSim determines when to open the input port?

0 Likes 0 ·

1 Answer

Joseph Gillespie avatar image
0 Likes"
Joseph Gillespie answered

@Yue Y

The conveyor opens the input port when it goes from being blocked by an item to no longer blocked (an item on the conveyor's edge moves away and another item can be placed on the conveyor).

I'm still confused by what you are trying to do. You said that the external service will only allow the source to emit items if the input port is open. That is already the case; a source in FlexSim already will only emit items if the input port of the receiving conveyor is open. If it is not open, the source will not send items to the conveyor.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.