question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked Phil BoBo edited

Detail of target parameters of methods

Hi,

Conveyor properties are listed here.

There is a Speed property in this, but changing this value with the setProperty method does not actually change the speed. (It is necessary to use the Conveyor.targetSpeed method) It seems that the user is confused because the processing speed of the processor can be changed with the setProperty method.

Is it possible to write to the "Speed" item on this page that Conveyor.targetSpeed must be used to change the speed?

FlexSim 23.0.8
conveyor speedsetproperty
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

Kavika F avatar image
0 Likes"
Kavika F answered Phil BoBo edited

Hey @Ryusuke T, I'm not sure what you're talking about when you say "changing the Speed property with setProperty doesn't actually change the speed." I just tested it with 23.0.10 and it seems to work fine at changing the speed of a conveyor.

If you're talking about changing the speed of a conveyor while the model is running then you're correct; the "Speed" property will only change the speed of a conveyor when the Model is reset. Conveyor.targetSpeed is used to change the speed of a conveyor while the model is running. The changes to targetSpeed will not persist on model reset.

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