Exception Errors in FlexScript

Exception Errors in FlexScript

josdijf23948
Not applicable
1,050 Views
5 Replies
Message 1 of 6

Exception Errors in FlexScript

josdijf23948
Not applicable

[ FlexSim 24.1.0 ]

Hi everyone,


I have a model and it seems like everything is working, however, there seems to be some exceptions in the Flexscript.

I have tried debugging it for quite some time but I can't fix it.

sample.fsm


Any help is much appreciated! 🙂

0 Likes
Accepted solutions (1)
1,051 Views
5 Replies
Replies (5)
Message 2 of 6

Paula_LG
Advocate
Advocate
Accepted solution

Hi,

The issue you're facing is that all your items have a label named "Seq" that has a value of 0. That label is used by CNC_Machine to determine the process time, so every time an item enters the processor you get an exception telling you that there's no row number zero on the table you're trying to read the process time from.

Since the process time can't be calculated, your items are processed a total of zero seconds and stay on the processor only until the next operator can load them and bring them to the sink.

I hope it helps!

0 Likes
Message 3 of 6

josdijf23948
Not applicable

Thanks for your reply! When I tried changing the sequence to 1, it gets stuck.

1737635464121.png

Could you help me resolve this sequence issue?

sample.fsm



0 Likes
Message 4 of 6

Paula_LG
Advocate
Advocate

What do you mean by it gets stuck? I tried running the updated model you attached and found no issues.

0 Likes
Message 5 of 6

josdijf23948
Not applicable
Apologies. For some reason, the operators were not moving when I tried running it yesterday
0 Likes
Message 6 of 6

Paula_LG
Advocate
Advocate

No worries! Happy to help

0 Likes