omron — Using the C# Program Editor

C# Language Programming C# Language Programming The tool described in this section is based on the C# programming language. The C# programming lan- guage is used for writing PC-based applications. If you are new to the C# programming language, there is documentation, tutorials, and online classes available through the following URL: http://msdn.microsoft.com/ The ACE software provides a simple C# program editor, which can be used to create and edit C# programs. In addition to the C# program editor, the ACE software provides: l a Custom Allocation Script editor, which allows you to create and edit custom C# part-allocation pro- grams for use with the Process Manager.

For details, see Custom Allocation Script on page 825. l a Custom Vision tool, which allows you to create C# programs that run in the context of a vision operation. From within a Custom Vision tool, other tools can be executed and return a set of results which are used as the output of the tool. For details, see the ACE Sight User's Guide . Using the C# Program Editor The C# program editor can be used to create and edit programs for performing various tasks and "auto- mation" within the ACE environment. These programs can execute from the Task Status Control. They can also be executed from V+ using the ace_srvr.v2 library. A C# program could be used to:

l handle product changes for a workcell or production line l enable/disable processes in a packaging application l load different vision models and associate them with a locator tool To use the C# program editor: 1. Create a C# Program object. Right-click on the workspace explorer folder view and select New > Program > C# Program . This will create a C# Program object and open the editor, as shown in the following figure. ACE User's Guide, 3.6.x 18316-000 Rev A Page 750