question

Jonathan_Huang avatar image
0 Likes"
Jonathan_Huang asked Jonathan_Huang commented

Set original position for operator

Hi

I want to ask one question

1. How to set operators 's original position so they can start operating without moving toward processors?

2. Operator 1 after finishing his operation on processor 1 will transport flow item to processor 2. How to make him return precisely back to his original position to start working with next flow item


1706852771062.png

Thanks and best regard


FlexSim 23.2.3
3d model
1706852771062.png (107.6 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.

1 Answer

Paula LG avatar image
0 Likes"
Paula LG answered Jonathan_Huang commented

Hi,

For the operators to start operating without moving, they only need to be close enough to their associated processor. In that position, they shouldn't be more than 600mm away from its edge for FlexSim to detect they're already there.

To send them back to their original position, you could try using the trigger "On Resource Available", where you can make the operator travel to an X, Y, Z location or to any object you choose.

1706861162776.png1706861196750.png

I hope it helps!


1706861162776.png (15.5 KiB)
1706861196750.png (9.4 KiB)
· 12
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 ·

1. As far as I'm aware, FlexSim uses the longest side of an object to determine if a task executer has reached it. For the default processor the longest axis is the x-axis at 4m. So if the operator is positioned 2m or closer from the processor's center it will count as "at the processor".

You can forego the need to position them exactly by using a travel network and setting the operators to not do offset travel.

home-location-fm.fsm

0 Likes 0 ·
Jonathan_Huang avatar image Jonathan_Huang Felix Möhlmann commented ·
I am sorry. I am using Flexsim version 23.1.2

Could you please send me again


Thanks and best regards

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

home-location-fm-23-1.fsm

Please take care to select the correct version the next time you ask a question. ;)

0 Likes 0 ·
Show more comments
Jonathan_Huang avatar image Jonathan_Huang Felix Möhlmann commented ·

Dear Mr Felix


I followed your instructions. But after unloaded flow item to next station, operator returned to processor 1 straightly once before get back to the nearest networknode to his next station and then one more time returned to processor 1 following the travel network

Please help me to check it!

My Flexism version is 23.1.2

Travel network.fsm

Thanks and best regards

0 Likes 0 ·
travel-network.fsm (2.3 MiB)
Felix Möhlmann avatar image Felix Möhlmann Jonathan_Huang commented ·

An "unload" task only includes offset travel, meaning the TE will travel to the item from wherever it currently is. The task sequence that is generated for the processing operation includes a "travel" task, sending the TE to the processor. In order to return to the processor, it first moves back to its current network node and then to the network node connected to the processor.

As a generel rule, if you are utilizing a from of network (either travel network with network nodes or an AGV network), you should always preface load/unload tasks by a travel task to move to the respective location.

1707125039204.png

travel-network_1.fsm

0 Likes 0 ·
1707125039204.png (11.9 KiB)
Show more comments
Jonathan_Huang avatar image Jonathan_Huang commented ·
Thanks for your reply

I tried it and have one more requirement

I want to set the condition that he starts returning to original position right after unloaded flow item into the Processor 2 and how to rotate his head towards processor 1. He still keep his head toward his returning direction

And only start operating after returned to original position


Thanks and best regards

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

Make two changes for this:

- Set the "Condition" of the Travel to Home Location option to "true" (or any non-zero number). This means the TE will travel back even if the next task was already dispatched to it.

- In the code of the trigger, add the following towards the end.

current.rotation.z = current.resetPosition.rotation.z;

1706867193475.png

It will set the operator's rotation to that of its reset position.

home-location-fm(1).fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Felix Möhlmann commented ·

Or you can add a curve so that at the time of arrival the orientation is correct:

1706881823315.png

0 Likes 0 ·
1706881823315.png (65.8 KiB)
Show more comments
Show more comments