Release control (processing importer)

Click this and select a Method object. It controls how the object releases the Exporters/Workers. The material flow object calls the control, when the Exporters/Workers would be released again by default.

When you programmed an exit control and an importer release control, the importer release control is called first and then the exit control is called.

Or you can select the Methodin a Frame, drag it to the text box and drop it there.

Or you can right-click in the text box. Then, select Create Controlon the context menu to create a control method, which is a user-defined attribute of data type methodof this object:

  • Enter a meaningful name into the text box and select Create Control. Plant Simulation then inserts self.Name_you_entered_for_the_control, such as self.ExitControlEnginePlant. Or

  • Select Create Control. Plant Simulation then inserts self.OnRelease.

    Enter the source code of this control into the Method that opens.

  • To delete this control, delete the user-defined attribute; deleting the name from the text box just deletes the name, but keeps the user-defined attribute.

    Note:

    To open the dialog of the object, whose name you entered into the text box, click in the text box, and press the F2 key.

The request control, the receive control, and the release control are not called when you reset the simulation.

The standard release control looks like this:

Parameter

The release control has to define the parameter Importer type of data type integer, which designates the type of the importer. You, the user, have to release the Exporters/Workers with the method releaseExporters.

SimTalk:

imp.ReleaseCtrl

imp.releaseExporters