Represents type of unit
            
Namespace: EAL.EnumsAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
 Syntax
Syntax
| C# | 
|---|
| public enum Unit | 
| Visual Basic | 
|---|
| Public Enumeration Unit | 
| Visual C++ | 
|---|
| public enum class Unit | 
 Members
Members
| Member name | Value | Description | |
|---|---|---|---|
| Absolute | 0 | Represents the absolute value | |
| Percentage | 1 | Represents percentage value | 
 Examples
Examples
            Synchronous
            
            Asynchronous
            
|  Copy | |
|---|---|
| private void Sample() { using (IEALConnection ealConnection = new EALConnection()) { // Connects ealConnection.Connect("192.168.0.10"); // Set pressure unit as Percentage ( Sets locally) axis.ProcessControl.Configuration.PressureUnit = Unit.Percentage; // Sets nominal pressure value 200 bar ( Sets locally) axis.ProcessControl.Configuration.NominalPressureValue = 200; // Set injection phase active to true ( Sets locally) axis.ProcessControl.Configuration.InjectionPhaseActive = true; // Set maximum flow rate value to 1000 ccm/min ( Sets locally) axis.ProcessControl.Configuration.MaxFlowrateValue = 1000; // Set parameter set number to 1 ( Sets locally) axis.ProcessControl.Configuration.ParameterSetNo = 1; // Set pump on to true ( Sets locally) axis.ProcessControl.Configuration.PumpOn = true; // Set volume 01 as 1 ccm ( Sets locally) axis.ProcessControl.Configuration.VolumePump01 = 1; // Set volume 02 as 1 ccm ( Sets locally) axis.ProcessControl.Configuration.VolumePump02 = 1; // Sets configuration value and Execure pressure control with command value 50 % against NominalPressureValue axis.ProcessControl.PressureControl(50); } } | |
|  Copy | |
|---|---|
| private void Sample() { using (IEALConnection ealConnection = new EALConnection(true)) // Asynchronous flag is true { // Connects ealConnection.Connect("192.168.0.10"); // Set pressure unit as Percentage ( Sets locally) axis.ProcessControl.Configuration.PressureUnit = Unit.Percentage; // Sets nominal pressure value 200 bar ( Sets locally) axis.ProcessControl.Configuration.NominalPressureValue = 200; // Set injection phase active to true ( Sets locally) axis.ProcessControl.Configuration.InjectionPhaseActive = true; // Set maximum flow rate value to 1000 ccm/min ( Sets locally) axis.ProcessControl.Configuration.MaxFlowrateValue = 1000; // Set parameter set number to 1 ( Sets locally) axis.ProcessControl.Configuration.ParameterSetNo = 1; // Set pump on to true ( Sets locally) axis.ProcessControl.Configuration.PumpOn = true; // Set volume 01 as 1 ccm ( Sets locally) axis.ProcessControl.Configuration.VolumePump01 = 1; // Set volume 02 as 1 ccm ( Sets locally) axis.ProcessControl.Configuration.VolumePump02 = 1; // Adds the task to queue, which sets configuration value and Executes pressure control with command value 50 % NominalPressureValue axis.ProcessControl.PressureControl(50); // Waits untill queue completes ealConnection.WaitUntilQueueComplete(); } } | |





