I'm looking at the question asked here: https://answers.flexsim.com/questions/36162/can-you-set-the-speed-of-a-conveyor-from-processfl.html
In the attached model I'm trying to figure out a way to change the conveyor speed through the process flow using:
Table GlobalTable = reftable("GlobalTable"); conveyorsetspeed(conveyor, GlobalTable[rownum][colnum]);//setting speed of a conveyor from a global table cell value
In my model I'm trying to use the custom code activity at the top of After Punch Press process flow labeled "Change Conveyor Speed":
Table GlobalTable = reftable("Conveyor Speed"); conveyorsetspeed(Group("Station 1 Conveyors"), GlobalTable[1][1]);//setting speed of a conveyor from a global table cell value
It seems like it's not overwriting the speed under "Conveyor Behavior" in the properties tab. Is there a better way to do this in a process flow?