question

Craig DIckson avatar image
0 Likes"
Craig DIckson asked Arun Kr answered

Can you set the speed of a conveyor from ProcessFlow?

Is there a way to set the speed of a conveyor from Process Flow code, or to use the value of a table cell as the speed? I am reading in the speed for a run from Excel, along with all the other parameters.

Thanks

Craig

FlexSim 16.2.2
process flowconveyor speed
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

·
Arun Kr avatar image
1 Like"
Arun Kr answered

Hi @Craig DIckson,

You can import the excel data into a global table and read the conveyor data from the global table.

Furthermore, you can write the conveyorsetspeed() command inside the custom process flow activity to set the conveyor speed.

The custom code inside the custom code process flow activity will look this.

Table GlobalTable = reftable("GlobalTable");
conveyorsetspeed(conveyor, GlobalTable[rownum][colnum]);//setting speed of a conveyor from a global table cell value
5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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