question

Doris C avatar image
0 Likes"
Doris C asked Jason Lightfoot commented

way point Delay time trigger logic

Hello

I want to give a delay time to WayPoint, but the delay time doesn't apply.


I would like to ask a question about the waypoint delay time trigger logic.

A total of three methods were made for loading, not loading, and always.

However, there was a problem that did not work except for always fire.

I don't know how to set up the Redirect via Direct Reference.

How does it work? help me plz....

way-point-delay.fsm

FlexSim 19.0.0
triggersdelaywaypoint
way-point-delay.fsm (27.5 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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

The documentation is here.

"Trigger Requirement

A field that should return 1 if the Way Point should be fired, 0 if not."

You can open the trigger and check what it is evaluating.

The documenation for waypoint actions is here.

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

Doris C avatar image Doris C commented ·

I saw the manual, but I don't understand. I don't know how to set the destination.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Doris C commented ·

Do you understand why it's not triggering unless you choose Always? Here are the triggering requirements.

Loaded at destination checks this:

agv.finalDestinationCP == currentCP && te.subnodes.length > 0

While empty at destination checks this:

agv.destinationCP == currentCP && te.subnodes.length == 0

Battery Level:

agv.batteryLevel < 50

Whereas 'Always' just return true - so the waypoint logic fires every tome.

You should not need to set the agv attributes listed here - they are set by the navigator and is usually the control point of the location where you're asking it to travel. In your example that's those associated with the Queues.

If you want to delay are non-task related control points then use Always or detect the arrival in a process flow and create a prempting delay task for the Task Executer.

0 Likes 0 ·
Doris C avatar image Doris C Jason Lightfoot ♦ commented ·

Can you show me an example in a flexsim file?

0 Likes 0 ·
Show more comments

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.