question

Talia Z avatar image
0 Likes"
Talia Z asked Joshua S answered

Delay transporter at node

Hello! My aim is to delay Transporter1 when travelling over Node 14. The code I have written works for the first 1500 seconds, roughly, and then gives me many error messages and I can't figure out why it is not working. I have also tried using the delayednodefunction without success. I appreciate any advice you may share! bottle-unloader-process-v4.fsm

Currently, I have the following custom code inputted:

OnMessage: 	resumeobject(msgsendingobject());
OnContinue: 	stopobject(traveler, STATE_SUSPEND);
		senddelayedmessage(current,15,traveler);
FlexSim 17.2.5
delaynodedelay activity
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

Joshua S avatar image
2 Likes"
Joshua S answered

I added a simple process flow activity block. It waits till the transporter to get to the node, waits 2 seconds, then stops the transporter, delays it, then resumes the transporter again. What was causing problems was it would stop the transporter on the node and fire a stop message the same time the node was redirecting the transporter, so it was a conflict in task assignments.15981-bottle-unloader-process-v4.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.