Reset error

Reset error

miyeDP27D
Contributor Contributor
1,200 Views
9 Replies
Message 1 of 10

Reset error

miyeDP27D
Contributor
Contributor

[ FlexSim 24.0.3 ]

Using ASRS Vehicle to pick an item out_4.fsmHi, I'm not sure what went wrong but every time I reset, i receive this error:

exception: Executive::__reset()

exception: int Executive::reset()

exception: reset


and when I saved the model, it gives this error:


exception: FlexScript exception: VIEW:/nodefunctions/workspace/saveworkspaceview

exception: FlexScript exception: VIEW:/nodefunctions/workspace/saveworkspacelayer



0 Likes
Accepted solutions (1)
1,201 Views
9 Replies
Replies (9)
Message 2 of 10

moehlmann_fe
Collaborator
Collaborator
Accepted solution

I'm not getting any errors when I run or save your model. Might be an error that fixes itself on a restart of FlexSim or the PC.

Does the attached model work you?

using-asrs-vehicle-to-pick-an-item-out-5.fsm

Message 3 of 10

miyeDP27D
Contributor
Contributor

Hi Felix, that seems like the case. I have another question though. In my set the token.EntryPoint label depending on what the destination is, am I setting the code wrongly as it does not seem to recognise to go to the right entry point. 1720164996103.png

0 Likes
Message 4 of 10

moehlmann_fe
Collaborator
Collaborator

You compare the pointer (object reference) with a string value (which weirdly returns true and thus the EntryPoint is always set to DP1).

I would generally try to avoid using names to reference objects. It makes it more likely that changes to the model such as replacing an object breaks something and also makes scaling up a model much more time consuming. Use 'relative' object references (pointer labels on the racks or port connections) instead.

The method you use to send the item is always prone to errors, because you assume that the first item on the conveyor is the one to be send. If there are ever two or more items on the conveyor the wrong item will be send. The token already has access to the target point, so I don't see a reason to not just send the item in Process Flow.

using-asrs-vehicle-to-pick-an-item-out-6.fsm

0 Likes
Message 5 of 10

miyeDP27D
Contributor
Contributor

Thank you for the guidance. I didnt think I could custom code to send the item as well rather than using another DP which like you said can cause errors in the future. Thank you very much!

0 Likes
Message 6 of 10

miyeDP27D
Contributor
Contributor
Hello, I have one more question. Do you know how do I return the asrs back to default location when it's finish its task.
0 Likes
Message 7 of 10

moehlmann_fe
Collaborator
Collaborator

You can use the "Travel to a Home Location" or "Travel to x,y,z Location" in the "On Resource Available" trigger of the ASRS.

0 Likes
Message 8 of 10

miyeDP27D
Contributor
Contributor

Hello, I did as what you said. It seems like when it returned to the home location, it keeps trying to get a item in as it constantly goes back and forth the entrytransferUsing ASRS Vehicle to pick an item out_ASRS manual_4.fsm

0 Likes
Message 9 of 10

moehlmann_fe
Collaborator
Collaborator

Yeah, the ASRS is a bit special in this regard. If the destination is offset from the center to either side, the slide will extend to that location and the automatically retract again. This means the ASRS always repeats the travel to the home location since after the slide has retracted it is not there anymore.

You can use the coordinate option instead with values like these. This should work as long as the ASRS is not rotated.

1720175496104.png

0 Likes
Message 10 of 10

Jeanette_Fullmer
Community Manager
Community Manager

Hi @mm_y_2406, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes