question

Q9284226 avatar image
0 Likes"
Q9284226 asked Jason Lightfoot commented

To add a new state in the Dashboard

 Hello, I'm a beginner in FlexSim and I have a question regarding the "state" of AGV in the Dashboard. I would like to know if it is possible to add a new state (in addition to the 50 built-in states).
 In the new state, I would like to include "ControlPoint1" to "ControlPoint2" within the "utilized" category for calculation purposes. Could you please guide me on how to make this modification?
1684342779104.png


As shown in the above diagram, I would like to have "ControlPoint1" recorded as "utilized" directly (similar to the effect shown in the following diagram).


1684342801117.pngTEXT.fsm

FlexSim 20.1.3
control pointdashboard analysis
1684342779104.png (75.3 KiB)
1684342801117.png (78.2 KiB)
text.fsm (119.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Julie Weller avatar image Julie Weller commented ·

Hi @Q9284226, was Abhishek K's or Jason'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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

You could create a new separate General ProcessFlow like below :

1684362630860.png


In the process flow you can create an event triggered source which will trigger the creation of a token when the AGV deallocates Control Point 8 (which is same as arrival at Control Point 1)

Then, the custom code block in process flow has an option of setting object state shown in 2nd image below. After that you can sink the token and when the AGV picks up the object at ControlPoint 2 , it should change to travel loaded.

Image 1 (General Process Flow):

1684363340615.png
Image 2 : (Custom code options)

1684363372101.png

Looks like this image below when I did it :

1684363085909.png


1684362630860.png (8.0 KiB)
1684363085909.png (6.6 KiB)
1684363340615.png (31.3 KiB)
1684363372101.png (20.1 KiB)
· 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.

Q9284226 avatar image Q9284226 commented ·

Hello, thank you for your response.

I followed the steps you provided for the setup, but it didn't work as expected. Therefore, I would like to inquire about the "Custom Code" section to confirm if I have set it up correctly.

1684377164336.png


Text.fsm

0 Likes 0 ·
text.fsm (124.0 KiB)
1684377088306.png (18.6 KiB)
1684377164336.png (29.6 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Q9284226 commented ·

Change the trigger to detect deallocaiton and change the control point to deallocate when past the CP:

1684417251786.png

0 Likes 0 ·
1684417251786.png (2.5 KiB)
Q9284226 avatar image Q9284226 Jason Lightfoot ♦ commented ·

I attempted to convert ControlPoint1 into "deallocate when past the CP," as you mentioned, but despite extensive testing, there hasn't been any improvement. Could you please provide a simplified version for better understanding? Thank you for your dedicated response.

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.