question

Abdullah A avatar image
0 Likes"
Abdullah A asked tannerp commented

Set location (onload) by case on one transporter (different types of flowitems)

I would like a transporter to pick up items from 3 different sources and unload in three different location. Each flow item would be setloc (visual change) to 3 different spatial locations while being moved by the transporter. Don't have a specific model to upload, but I hoping this is easy enough to understand without one.

FlexSim 18.2.3
transporterset loc
5 |100000

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

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

@Abdullah A, the transporter behaves a bit different, if you load more items. They are vertical stacked. you can set easily the x and y coordinates, but z location is a deep source code, I wasn't able to deactivate the code. My workaround moves all loaded items into an drawsurrogate object at the forks of the transporter. But then you must control by code the variable of maxcontent to prevent to load too much. Additionally you can adjust the stacking of item by Type in z coordinates. Location of x is driven by the Type of loaded item.

The Object "load" is the drawsurrogate object. I referenced this directly in the source code. Code snippet are blocks of source code and the declaration of variables works only in the scope of the block. But I need a reference in the set location option in OnLoad Trigger.

If you don't want to see the drawsurrogate object, you can switch off the 3D shape.

transporter-item-location-by-type.fsm


5 |100000

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

tannerp avatar image
0 Likes"
tannerp answered Abdullah A commented

Hi @Abdullah A,

Here's an example that has a transporter picking up items from three different sources and unloading them in three different locations. When the items are loaded, a trigger causes a set location visual change (exaggerated for visibility). Hopefully this is what you're looking for...

transporter-set-location.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.

Abdullah A avatar image Abdullah A commented ·

@Tanner PoultonThank you. However, what I meant was the 3 flow items will have 3 different setloc spatial values e.g. 3,3,3 (green); 3,2,3(red), 2,3,3 (Blue). Hopefully that clarifies the question.

0 Likes 0 ·