Initialises the process control in the axis. Loads the MLD project and reboots
Namespace: EAL.Interfaces.MotionAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
| C# |
|---|
void Initialize( string mldProjectParFile ) |
| Visual Basic |
|---|
Sub Initialize ( mldProjectParFile As String ) |
| Visual C++ |
|---|
void Initialize( String^ mldProjectParFile ) |
Parameters
- mldProjectParFile
- Type: System..::..String
MLD project parameter file to load
Examples
Synchronous method
Asynchronous method
private void Sample() { using (IEALConnection ealConnection = new EALConnection()) { // Connects ealConnection.Connect("192.168.0.10"); // Gets axis IAxis axis = ealConnection.Motion.Axes[0]; // Loads MLD project parameter file and reboots axis.ProcessControl.Initialize(@"D:\Process Control\FWS_MLDSYx_IMC_01T02_04_DE_MP17.par"); } } | |
private void Sample() { using (IEALConnection ealConnection = new EALConnection(true)) // Asynchronous flag is true { // Connects ealConnection.Connect("192.168.0.10"); // Gets axis IAxis axis = ealConnection.Motion.Axes[0]; // Add task to queue, which loads MLD project parameter file and reboots axis.ProcessControl.Initialize(@"D:\Process Control\FWS_MLDSYx_IMC_01T02_04_DE_MP17.par"); // Waits untill queue completes ealConnection.WaitUntilQueueComplete(); } } | |