question

Hailey Oh avatar image
0 Likes"
Hailey Oh asked Hailey Oh commented

stop conveyor after 15 minutes of inactivity

Hello,

Is there a way to make a motor stop a conveyor after 15 minutes of inactivity in a photoeye (uncovered for 15 minutes)?

attached is my model: MHE_SIM_V0.1.fsm

currently the conveyors in the first lane (the one with all the motors) are off at simulation start. One the connected photoeye (the photoeye on the previous conveyor) sees an object the motors turn on.

I want the conveyors to stop after not seeing an object for 15 minutes, and then as soon as it sees an object again the same loop applies

FlexSim 23.0.2
conveyorphotoeyemotor
mhe-sim-v01.fsm (419.3 KiB)
5 |100000

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

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered Hailey Oh commented

Hello @Hailey Oh,

1692840875353.png

There is a source that triggers a token to be created for the On Cover event of the photo eyes in the lane. A Breathe event is needed to make sure the token created doesn't immediately pass the wait for event on the same On Cover event that created the token. The Wait for Event checks for the same photo eye to have an on cover or blocked event. If it does have that event then there is no need to stop the conveyor. The wait for event activity also has a max wait timer of 15 minutes, so if no object passes the photo eye the token is moved to the Stop Conveyor activity.

mhe-sim-v01_1.fsm


1692840875353.png (16.1 KiB)
mhe-sim-v01-1.fsm (426.2 KiB)
· 4
5 |100000

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

Hailey Oh avatar image Hailey Oh commented ·
Thanks Jeannette! This worked perfectly
0 Likes 0 ·
Hailey Oh avatar image Hailey Oh commented ·

I'm trying to recreate this process flow, but I'm stuck on setting up the Wait for Event step. How did you set the event to "On Cover" I tried to type it in and use the dropper on the token after running the simulation but none of them have the "on cover" option.

screenshot-101.png


[EDIT] I just typed in the events on cover and on block again and for some reason it started working. but I still don't see them as options in the dropdown for events nor do I see the same label matching/assignment table.

0 Likes 0 ·
screenshot-101.png (1.4 MiB)
Jeanette F avatar image Jeanette F ♦♦ Hailey Oh commented ·
Hello @Hailey Oh,

Next to the event field is a dropper icon. Select the icon and then select a photo eye in the 3D view. You will then be able to select from the events that a photo eye has.

0 Likes 0 ·
Hailey Oh avatar image Hailey Oh Jeanette F ♦♦ commented ·

Thank you!

0 Likes 0 ·