question

Candan avatar image
0 Likes"
Candan asked Felix Möhlmann answered

AGV TaskExecuter Move

How to make AGV TaskExecuter1 keep going when I give him a value = 1


1667957592817.png

FlexSim 20.2.3
agv
1667957592817.png (59.0 KiB)
· 6
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·

Could you explain a bit more about your goals?

What do you mean by "give a value = 1": send a message with that value or set some label or something else?

And what do you mean when you say "keep going"; resume after being stopped before, travel in a direction indefinitely, other things?

0 Likes 0 ·
Candan avatar image Candan Felix Möhlmann commented ·

at the beginning, AGV at (0,0) and I want it move to (10,0), when I push the button it move to (10,0) a moment, but I hope I can see the process of moving, not just finish in a moment.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·
To get any task executer to move you give it a travel tasks or set up kinematics. You shouldn't need to alter the events of the object.
0 Likes 0 ·
Candan avatar image Candan Jason Lightfoot ♦ commented ·

How do I write code syntax to control AGV?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Candan commented ·
You should probably start by doing the beginner tutorials quickly and then once you know how task executers work consider if the AGV tutorial is what you need.
1 Like 1 ·
Show more comments

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

As Jason wrote, Task Executers travel via tasks given to them or kinematics assigned to them. The tutorials are good start to learn about these concepts.

A simple implementation would a small Process Flow that listens to messages being send to the Task Executer and uses the message parameters to create a task to travel to those coordinates.

TravelByMessage.fsm


travelbymessage.fsm (31.0 KiB)
5 |100000

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

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.