question

kimsh avatar image
0 Likes"
kimsh asked Felix Möhlmann commented

To control multiple starting points

I'm asking you a question by simplifying the line.

As you can see in the attached file and the figure below, the line is controlled using 3D objects and PF.

I would like to ask you that the item that arrived first of the two points DP8 and DP5 is leaving first, but I would like to configure the logic so that all the items on the conveyor near DP8 go out first.

I think there will be a plan as below, so please help me.

Method 1. Add logic in PF to send all the items on the conveyor near DP8 first, and when the items near DP8 are exhausted, how to start the items near DP5 (and if two or more items are stacked on the conveyor near DP8, the items near DP5 should stop)

Method 2. Using CODE script, if the number of items on the conveyor near DP8 is 0, how to start the item on the conveyor near DP5

(CONVEYOR.LENGTH < 0, STOP / CONVEYOR.LENGTH > 0, RESUME, etc. I'm trying to do it myself, but it's not working well...)Q1.fsm

to control multiple starting points
q1.fsm (62.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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @kimsh,

Thank you for contributing to our community! We couldn't identify a maintained license or subscription linked to your account.

You may need to update your profile information to identify yourself as a license owner or their associate. Check out our article for how to ensure you receive timely support. If you update your profile comment back to let us know - we'll adjust the priority of your post accordingly.

If your current license is expired, please contact your local distributor to renew.

0 Likes 0 ·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

If I understand you correctly, you want in principle something like this?

conveyor-traffic-with-priority-fm.fsm

1719913652542.png

Blue items wait if there are any green items in the intersection area or waiting to enter. Green items only wait if there are blue items in the area. The green PE would be your DP8, the blue one your DP5.


· 2
5 |100000

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

kimsh avatar image kimsh commented ·

"On Content Change"

What function is this?
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann kimsh commented ·

It's an event that fires when the content of an object changes. In this case the activities listen for changes to the content of the Zones and release the waiting token when the number of tokens in the specified zone falls to zero.

1719993289772.png

Example: The token is released when the content of "Blue" drops to (or past) zero (Change Rule) or if it already was at zero when the token entered (Fire If Initial Value Meets Rule)

0 Likes 0 ·
1719993289772.png (52.0 KiB)
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered kimsh commented

Use a list to push items from DP8/DP5 and pull from the list as you require giving priority based on the push location. You can even add a priority label to the decision points and add that as a field to the list.

· 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.

kimsh avatar image kimsh commented ·

Can you briefly show me what you said above in the program?

0 Likes 0 ·