article

Paul Toone avatar image
0 Likes"
Paul Toone posted

Triggers Page   

Each object may have a different set of triggers. For more information about how triggers and pick lists work, refer to the Picklists page.

OnArrival: This function is called on a NetworkNode when a traveler arrives at the node. If this function returns a non-zero value, then the traveler's next path to go to will be changed to the path specified by the return value. This return value is the rank of the next path, as shown in the NetworkNode tab page. See OnArrival trigger picklist.

OnBreakDown: This function is called on an object when its MTBF expires. See Breakdown/Repair Trigger picklist.

OnContinue: This function is called on a NetworkNode when a traveler continues on to the next path leading out of the node. See OnContinue trigger picklist.

OnConveyEnd: This function is called on a Conveyor when a flowitem reaches its end. See Process Finish Trigger picklist.

OnCreation: This function is called on a Source when it creates a new flowitem. See Creation Trigger picklist.

OnEndCollecting: This function is called on a Queue when it has reached its batch limit. See Process Finish Trigger picklist.

OnEndDwellTime: This function is called on a Rack when a flowitem’s dwelltime has expired and it is ready to leave. See Process Finish Trigger picklist.

OnEmpty: This function is called on a fluid object when all of the material that it was holding left and its content became 0. See Empty/Full Trigger picklist.

OnEntry: This function is called on an object when a flowitem is moved into it. See Entry/Exit Trigger picklist.

OnExit: This function is called on an object when a flowitem is moved out of it. See Entry/Exit Trigger picklist.

OnFallThroughHighMark: This function is called on a reservoir when the content falls below the designated high mark. See Rise/Fall Through Mark triggers picklist.

OnFallThroughLowMark: This function is called on a reservoir when the content falls below the designated low mark. See Rise/Fall Through Mark triggers picklist.

OnFallThroughMiddleMark: This function is called on a reservoir when the content falls below the designated middle mark. See Rise/Fall Through Mark triggers picklist.

OnFull: This function is called on a fluid object when its content reaches its maximum content. See Empty/Full Trigger picklist.

OnLoad: This function is called on an Operator or Transport when it completes loading a flowitem. See Load/Unload Trigger picklist.

OnMessage: This function is called on an object when another object sends a message to it using the sendmessage() or senddelayedmessage() commands. See Message Trigger picklist.

OnProcessFinish: This function is called on an object when its process time has expired. See Process Finish Trigger picklist.

OnReceiveTaskSequence: This function is called when the TaskExecuter receives a new TaskSequence. See OnReceiveTaskSequence triggers picklist.

OnRepair: This function is called on an object when its MTTR expires. See Breakdown/Repair Trigger picklist.

OnResourceAvailable: This function is called when a downstream resource of a Dispatcher becomes available. See OnResourceAvailable Trigger picklist.

OnRiseThroughHighMark: This function is called on a reservoir when the content rises above the designated high mark. See Rise/Fall Through Mark triggers picklist.

OnRiseThroughLowMark: This function is called on a reservoir when the content rises above the designated high low. See Rise/Fall Through Mark triggers picklist.

OnRiseThroughMiddleMark: This function is called on a reservoir when the content rises above the designated middle mark. See Rise/Fall Through Mark triggers picklist.

OnSetupFinish: This function is called on an object when its setup time has expired. See Process Finish Trigger picklist.

OnStateChange This function is called when an object's state is changed with the setstate() command. See OnStateChange Trigger picklist

OnUnload: This function is called on an Operator or Transport when it completes unloading a flowitem. See Load/Unload Trigger picklist.

Custom Draw Code - This pick list allows you to define your own draw code for the object. If this field returns a 1, then the object's default draw code will not be drawn. Note that an object's draw code is different than its 3D shape being drawn. While most objects just show their 3D shape and don't have any draw code, some objects, like conveyors and racks, need more dynamic drawing capability, rather than a static 3D shape to draw. Returning 1 overrides this special drawing code, not the drawing of the object's 3D shape. To hide the 3D shape, un-check the show 3D shape box in the General tab page.



flexsim users manual
5 |100000

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

Article

Contributors

paul.t contributed to this article

Navigation

FlexSim 2016.1