4 Implementation Example of Dynamic Pick-and-place Equipment RELEASE END .END Startup Processing Program (auto) The startup processing program, auto, reads the V+ programs and global variables from the SD Memory Card to the main memory and starts the status monitoring program. Since this program is automatically generated, you don’t need to write a program. This section describes the C# programs to control the dynamic pick-and-place equipment. Startup Program of Process Manager (PM_Start) This program launches the Process Manager. An example of a program is provided below.
using Ace.Server.Xpert.PackXpert; using Ace.Services.NameLookup; using Ace.Client.ApplicationManager.AutoConnect; using Ace.Server; using System; using System.Collections.Generic; 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.Start(); } } } Stop Program of Process Manager (PM_Stop) This program stops the Process Manager.. An example of a program is provided below.
using Ace.Server.Xpert.PackXpert; using Ace.Services.NameLookup; using Ace.Client.ApplicationManager.AutoConnect; using Ace.Server; using System; using System.Collections.Generic; 4-10 NJ-series Robot Integrated System Startup Guide (O049) C# Programs