omron — Script

Script When a recipe is selected, the selected recipe is linked with vision tools in workspace they correspond to. When a vision tool included in the recipe configuration is modified in the workspace, the selected recipe copy of the vision tool is updated. Likewise, when the vision tool is modified in the recipe editor, the work- space vision tool is also updated. Because of this linking between the recipe and workspace, the user can use the vision tool in the work- space to configure a vision tool and it will be saved with the active recipe. Depending on the type of vision tool, the recipe editor will be different.

Typically, the recipe editor is only a small subset of vision tool properties: Typical Vision Tool Configuration AnyFeeder / Flexibowl Feeder The feeder configurations store the feeder parameters with each recipe. When a recipe is selected, the selected recipe is linked with the feeder in the workspace they correspond to. When a feeder included in the recipe configuration is modified in the workspace, the selected recipe copy of the feeder is updated. Like- wise, when the feeder is modified in the recipe editor, the workspace feeder is also updated.

Feeder Configuration Script When certain events occur in the lifetime of a recipe, the recipe manager will invoke a C# method defined in this section. This allows the person configuring the recipe manager to change the default behavior. ACE User's Guide, 3.6.x, 18316-000 Rev A Page 989 Script Method Description string CanEdit(Recipe recipe) Called to check if a recipe can be edited. If this method returns an empty string, the recipe can be edited. If it returns a non-empty string, editing will be prevented an