question

Chandler S avatar image
0 Likes"
Chandler S asked Jeanette F answered

Photo eye to bypass lane

I am trying to use a photo eye to lock a lane from receiving boxes. I can not figure out how to get it to work. When the lane is full, the blocked photo eye should prevent anymore boxes from wanting to go into that lane and cause the box to bypass and recircle to the sink. Highbay pickface.fsm

Attached is the file I am working with.

FlexSim 22.2.2
photo eye
highbay-pickface.fsm (224.4 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

Hello @Chandler S,

I added a photo eye above the decision points for each lane and center port connected then. Then on your first decision point I added the following to the condition field in the send item logic.

current.outObjects[item.Product].as(Object).centerObjects[1].stats.state().value != PE_STATE_BLOCKED

This looks for the correct DP that the product is assigned to go to and then looks for the photo eye that is center port connected to check the state of the photo eye to make sure it is not blocked.

highbay-pickface_JF.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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