Creating Process Orders From Tags
Selecting Process Order from the Model Type list in the Simple Event Configuration wizard enables you to configure Model 804, which creates process orders from tags.
When this model is triggered, the model checks for duplicate process orders. If a duplicate process order is found, a suffix, in the form of YYMMDDhhmmss is added to the process order number. When the process order number is created, the process order is associated with the product code, if the code is read within the sampling window. New process orders are created with the status of Pending.
NOTE: The creation of a process order creates the production plan record only.
To create process orders from tags (Model 804)
-
In the
Plant Model, right-click the production unit where you want to detect events and click Configure Events on <production unit>. The Event Detection wizard appears.
-
On the Configured Models tab, select Process Order from the Model Type list and click Add New Model. The General tabbed page appears.
-
Do the following:
-
optional: In the Maximum Run Time (Seconds) box, type the number of seconds you want the model to run. The default is 0 (zero), which means the model will not time out. Typically, you will want to limit the run time of the model only if troubleshooting the model (for example, one of the stored procedures is in an infinite loop).
-
optional: Type the group number in the Model Processing Group box. The Model Processing Group number can be up to six digits.
-
optional: In the Extended Information box, type additional information that may be useful. This is not used on any reports or displays.
-
optional: In the Exclusions box, type the values this model is to ignore and not use to trigger the model. Use a comma to separate values.
-
In the Process Order Tag box, click the Browse button
to select the tag to generate the process order number.
-
In the Product Code Tag box, click the Browse button
to select the tag to generate the product code. If the product code does not exist, then the product is set to None.
-
In the Product Code Window box, type the number of seconds to define the sampling window. The maximum value is 86,400 seconds. If the product code tag is not populated at the same time as the process order tag, this number defines how far back or forward in time the program will look for a product tag change. The start time of the sampling window is determined by the time of the trigger tag.
-
In the Quantity Tag box, click the Browse button
to select the tag to specify the quantity.
-
In the Execution Path box, select a configured execution path. If no execution paths have been configured, the list will be empty. For information on configuring execution paths, please see Defining Execution Paths.
-
optional: In the Comments box, type any comments.
-
Click
to activate the model.
-
Click Save
.