question

Gary Q avatar image
0 Likes"
Gary Q asked Gary Q commented

Conveyor logic

A query

How can I put together the following logic

I need the item to stay within the area delimited by the Photo eyes for 5 minutes or more, after that release the item from the area

Probably with the age data of the created list, the logic can be assembled but I cannot obtain that data

I would very much like your help

conveyortime.fsm

FlexSim 19.0.0
conveyorprocessflowlogic
conveyortime.fsm (34.8 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Gary Q commented

I solved this in a project through the following method once.

The first photo eye writes the arrival to a label on the item. The second one compares this to the current model time. If less than five minutes have elapsed, the item is stopped and a delayed message is scheduled to be send to the photo eye once the five minutes are up.

The photo eye reacts to that message by resuming the item. Because the photo eye doesn't keep a reference to the item covering it, I also write the item to a label on the photo eye to use as a reference in the message trigger.

The process flow can also be used to achieve this. You could use a "Wait for Event" to listen to the item arriving at the first photo eye. Afterwards the token is kept in a delay activity for five minutes and then resumes the item. I also use a label to have the second photo eye not stop the item, if the five minutes have already elapsed (which could happen if two items enter directly after each other).

conveyortime_1.fsm


conveyortime-1.fsm (75.1 KiB)
· 1
5 |100000

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

Gary Q avatar image Gary Q commented ·

thanks for the help @Felix Möhlmann

it helped me a lot

0 Likes 0 ·