question

Adnan avatar image
1 Like"
Adnan asked Jason Lightfoot commented

processor state blocked while empty

Hello,


I have an AGV system with 2 processors as seen below.

When The hood_trunk processor is empty; it gives an idle state, and some other times it gives a blocked state as seen in the picture without any clear reason

screenshot-2023-11-11-210438.png

is there any way to fix it? I need a state chart for the processor and I need it to be correct for my discussions and analysis later on.


*note that the processor is very small because I don't want it to be seen


I appreciate any help.

Thanks

AGV Final 5.2.fsm

FlexSim 23.2.2
processorprocessor blockedprocessor stat
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
1 Like"
Felix Möhlmann answered Jason Lightfoot commented

Place a Breathe activity (0s delay) in between the Wait for Event and Load activities. Otherwise the item is removed from the processor before all logic of the process finish event is done which leads to the state not being updated.

1699859860567.png

I'd also recommend to update the code in the "Use Transport" option to reflect the current state of the model to get rid of the compiler errors.


1699859860567.png (7.4 KiB)
· 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.

Adnan avatar image Adnan commented ·
Hi Felix,


I didn't find the "Breath" activity, maybe because of the student version software that I use.

But I have tried to use delay instead and it fixed my issue.


Thanks a lot

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Adnan commented ·

You need to expand the delay activity options to see it:

1699879578052.png

0 Likes 0 ·
1699879578052.png (14.2 KiB)

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.