Executes pressure control for the given command value.

Namespace: EAL.Interfaces.Motion
Assembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)

Syntax

C#
void PressureControl(
	double pressureCmdValue
)
Visual Basic
Sub PressureControl ( 
	pressureCmdValue As Double
)
Visual C++
void PressureControl(
	double pressureCmdValue
)

Parameters

pressureCmdValue
Type: System..::..Double
Pressure command value

Examples

Synchronous method - Absolute command value
 Copy imageCopy
private void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        // Connects
        ealConnection.Connect("192.168.0.10");                
        // Gets axis
        IAxis axis = ealConnection.Motion.Axes[0]; 
        // Set pressure unit as Absolute ( Sets locally)
        axis.ProcessControl.Configuration.PressureUnit = Unit.Absolute;
        // 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 Executes pressure control with command value 100 bar
        axis.ProcessControl.PressureControl(100);
    }
}
Synchronous method - Percentage command value
 Copy imageCopy
private void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        // Connects
        ealConnection.Connect("192.168.0.10");
        // Gets axis
        IAxis axis = ealConnection.Motion.Axes[0]; 
        // 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);
    }
}
Asynchronous method - Absolute command value
 Copy imageCopy
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]; 
        // Set pressure unit as Absolute ( Sets locally)
        axis.ProcessControl.Configuration.PressureUnit = Unit.Absolute;
        // 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 100 bar
        axis.ProcessControl.PressureControl(100);
        // Waits untill queue completes
        ealConnection.WaitUntilQueueComplete();
    }
}
Asynchronous method - Percentage command value
 Copy imageCopy
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]; 
        // 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();
    }
}

See Also