question

SuhyeonK avatar image
0 Likes"
SuhyeonK asked Jeanette F commented

Conveyor Speed Control using Var

I want to make Conveyor speed depend on the value of the variable, but I can't write the value of the speed in the Conveyor property window. Is there a good way?

The reason why I want to designate speed as a variable is that I want to read the value from facility plc later and adjust the conveyor speed.

FlexSim 24.1.0
conveyor controlconveyor speed control using var
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

You can use either a Process Flow Variable or a Tracked Variable (this can be global in the toolbox, a label, a table cell or even just a node you place somewhere in the tree). Then have an Event Triggered Source react to the OnChange event of that variable and set the conveyor speed accordingly.

conveyor-speed-variable.fsm

When you set up the emulation connection you can also set the conveyor speed directly without the need for an intermediate variable. (The example screenshot shows a Modbus connection but other control variables should work similarly.)

1739344579841.png


5 |100000

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