Pressure uint. Stores locally and will be used to calculate pressure command value.

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

Syntax

C#
Unit PressureUnit { get; set; }
Visual Basic
Property PressureUnit As Unit
	Get
	Set
Visual C++
property Unit PressureUnit {
	Unit get ();
	void set (Unit value);
}

Property Value

Type: Unit

Examples

Reading
 Copy imageCopy
private void Sample()
{
   using (IEALConnection ealConnection = new EALConnection())
   {
       // Connects
       ealConnection.Connect("192.168.0.10");
       // Get axis reference
       IAxis axis = ealConnection.Motion.Axes[0];
       // Read pressure unit
       Unit pressureUnit = axis.ProcessControl.Configuration.PressureUnit;
   }
}
Writing- Sample1
 Copy imageCopy
private void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        // Connects
        ealConnection.Connect("192.168.0.10"); 
        // Get axis reference
        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);
    }
}
Writing- Sample2
 Copy imageCopy
private void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())
    {
        // Connects
        ealConnection.Connect("192.168.0.10");
        // Get axis reference
        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);
    }
}

See Also