question

Jouky D avatar image
0 Likes"
Jouky D asked Jouky D commented

AGV: How to Trigger when kinematics is added?

Hello everyone,

Is there a way to trigger when a kinematics is added or deleted in an AGV? I tried On Allocation, but sometimes no kinematics is added and the trigger started or sometimes the trigger does nothing but a kinematics has added.


Thank you!

FlexSim 23.1.3
agvagvnetworktriggers
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

You can use the AGV customization delegate for this. It allows you to define the kinematics for the AGV yourself (among other things). But instead of doing that, you can also just run some other code in the relevant node, then reutrn a 0, so that FlexSim still adds the default kinematics.

I assume this might be connected to your previous question. So I updated my example model to use this method.

acceleration-trigger-fm_1.fsm

(I actually only found out about the customization delegate a day or so after answering that post. Other I possibly would have used it in the first place.)


· 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.

Jouky D avatar image Jouky D commented ·
Thank you Felix! I will try it! :D
0 Likes 0 ·

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.