omron — 4-1-1 Program Structure

4 Implementation Example of Dynamic Pick-and-place Equipment 4-1 Program Specifications for Dynamic Pick-and-place Equipment using System.Diagnostics; namespace Ace.Custom { public class Program { public INameLookupService ace; public void Main() { Trace.WriteLine("Script Starting"); IProcessManager processManager = (IProcessManager) ace[ "/ApplicationManager1/Process Manager"]; processManager.Stop(); } } } Precautions for Correct Use The contents of the text string "/ApplicationManager1/Process Manager" in each C# program differ depending on the language used when you created the project file.

Select ApplicationManager1 from the device list in the Multiview Explorer and select Configurations and Setup - Process - Process Manager . Drag and drop it onto the C# editor, and an appropriate text string is automatically selected. 4 4-1-1 Program Structure 4-11 NJ-series Robot Integrated System Startup Guide (O049)