question

Pinakin K avatar image
0 Likes"
Pinakin K asked Pinakin K commented

How to send message from robot when it comes to specific orientation?

Position 1

Position 2

I have a model where the robot path is defined for load and unload task. One other path is defined to return the robot to home position (Position 1). Its loaded from Queue 1 and unloaded on Queue 2.

The item coming from the conveyor, stops until a message is received from Queue 1.

Also, the Robot moves from Position 2 to Position 1 on message, from the Queue 1.

The issue is, the item arrives before the robot reaches Position 1. as the robot takes time to move.

But I want the Item to arrive after the robot reaches position 1. by sending a message from the robot.

Following is the attached model

robot-movement-1.fsm

Thank You!

FlexSim 18.1.1
robot
position1.png (140.4 KiB)
position2.png (132.2 KiB)
· 3
5 |100000

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

Isaac Litster avatar image Isaac Litster commented ·

Have you tried adding a Travel to Loc task sequence to the robot after the robot unloads? Let me know if this works.

1 Like 1 ·
Pinakin K avatar image Pinakin K Isaac Litster commented ·

Not yet.. But I'll try

0 Likes 0 ·
Pinakin K avatar image Pinakin K Pinakin K commented ·

Yes It wokred!!! thanks

0 Likes 0 ·

1 Answer

·
Regan Blackett avatar image
4 Likes"
Regan Blackett answered Pinakin K commented

I changed your model a little bit, but I think it does what you are going for. So instead of sending messages, I'm starting a Travel to Loc activity after your Wait for Event and then when the travel is over, I used a Custom Code activity to reopen the ports. The fact that the Travel to Loc activity has the Wait until Complete checkbox is key here because it delays the token until the travel is done before reopening the port. This is something that sending messages/writing your own Travel to Loc Task sequence can't do as well. You'd have to use a delayed message with a delay equal to at least the travel time taken by the Robot.traveltolocrobot.fsm


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

Pinakin K avatar image Pinakin K commented ·

Thanks It worked!!

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.