Initializes the axis settings with default setting. Selects ClosedLoop functional package, reboots if required after initialization and with time out 1000000 ms
Namespace: EAL.InterfacesAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
| C# |
|---|
void Initialize() |
| Visual Basic |
|---|
Sub Initialize |
| Visual C++ |
|---|
void Initialize() |
Remarks
To initialise a drive, it should be in parameterization mode
Examples
Synchronous method
Asynchronous method
private static void Sample() { using (IEALConnection ealConnection = new EALConnection()) { ealConnection.Connect("192.168.0.10");; // Connects to the real drive IAxis axis = ealConnection.Motion.Axes[0]; // Gets axis axis.Movement.Power(false); // Powers off axis.SetCondition(AxisCondition.AXIS_CONDITION_ACTIVE_PARAMETERIZATION); // Switches to parameterisation mode ealConnection.Initialize(); // Initialses the drive } } | |
private static void Sample() { using (IEALConnection ealConnection = new EALConnection(true)) // Asynchronous flag is true { ealConnection.Connect("192.168.0.10");; // Connects to the real drive task will be added to queue IAxis axis = ealConnection.Motion.Axes[0]; // Gets axis axis.Movement.Power(false); // Powers off task will be added to queue axis.SetCondition(AxisCondition.AXIS_CONDITION_ACTIVE_PARAMETERIZATION); // Switche to parameterisation mode task will be added queue ealConnection.Initialize(); // Initialize task will be added queue ealConnection.WaitUntilQueueComplete(); // Waits until all the task in queue gets executed. } } | |