question

Sander avatar image
0 Likes"
Sander asked Sander commented

Conveyor behavior - entry space offset

Hello,


Im trying to set the entry space offset of a conveyor by code. I cant seem to find it anywhere.

I need it to make use that items occupy a certain area based on a variable in the system. It must represent a dry bulk conveyor.

in a previous version this worked:

getvarnode(Model.find("ConveyorSystem"), "conveyorTypes").as(Table)[2][37]

ofc the numbers are wrong.

Kind regards

1741005414068.png


FlexSim 24.0.8
conveyorsystemoffsetentry space
1741005414068.png (12.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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Sander commented

It can be set as a property.

  1. conveyorObject.setProperty("EntrySpacePadding", 0.5);

Note that a change will only take effect after the next item has entered the conveyor. So in practice you will need to set the spacing for the next item before the current one enters.

If that is not possible you could try to use a photo eye whose position is adjusted for each new item. The input of the entry transfer is closed until the item has passed the PE.

variable-conveyor-input-spacing.fsm


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