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
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
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
11 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved