TwinCAT PLC Library Hydraulics - Version 1.4 — 4.4.3.3 MC_AxRtReadForceSingle_BkPlcMc (from V3.0)

PLCopen Motion Control Behaviour of the function block: The function block determines the actual pressure and the actual force of the axis by evaluating the variables AdcValueA . The result is entered in ST_TcHydAxRtData [ } 99] .fActPressure. The parameters assigned to an axis can be saved in ST_TcHydAxParam [ } 93] .fCustomerData[...], for example. This ensures that the data are loaded, saved and backed up together with the standard parameters of the axis and are also exported and imported, as required.

Determining a differential actual pressure If the function block is used to determine the actual pressure, the parameters ScaleArreaA and ScaleArreaA should be set to 1.0 and SlippingOffset to 0.0. Commissioning option A In this case, no movement of the axis is required. The achievable accuracy is sufficient for high-quality pressure sensors in most cases. Enter the rated pressure of the pressure sensors divided by AdcValueA MAX as ScaleFactorA . Commissioning option B For this option it is necessary that a function block can be approached with full system pressure in both directions. A genuine movement of the axis is not required.

Approaching of the end stops can be modeled by limiting the axis movement through provisional limits or even complete mechanical fixing. All function blocks, which respond to the value of ST_TcHydAxRtData [ } 99] .fActPressure, must be deactivated. First, slowly approach the lower function block (in the direction of decreasing actual position). The values for AdcValueA and AdcValueB are determined and logged. The system pressure should now be present on the A-side and the tank pressure – and therefore the ambient pressure – on the B-side. Should this not be the case for some reason, the pressures on the A- and B-side should be determined through measurement.

Then, slowly approach the upper function block (in the direction of increasing actual position). The values for AdcValueA and AdcValueB are again determined and logged. Now measure the pressures again. The parameters to be entered can then be calculated as follows: ScaleFactorA := (PressureA MAX - PressureA MIN ) / ( AdcValueA MAX - AdcValueA MIN ) ; ScaleFactorB := (PressureB MAX - PressureB MIN ) / ( AdcValueB MAX - AdcValueB MIN ) ; ScaleOffsetA := PressureA MIN - ScaleFactorA * AdcValueA; MIN ScaleOffsetB := PressureB MIN - ScaleFactorB * AdcValueB; MIN Commissioning option C Alternatively, commissioning can be carried out without axis control.

However, the accuracy that can be achieved in this way is much lower. First, the axis should be made pressure-free. To this end, switch off the compressor and relieve the pressure in the accumulator. Ensure that the axis does not build up pressure. To this end, an axis that is subject to external forces (gravity etc.) should be supported mechanically. Open the valve several times in both directions, either manually or electrically. Now determine and log the values for AdcValueA and AdcValueB . The tank pressure – and therefore the ambient pressure – should be present both on the A-side and on the B-side.

Should this not be the case for some reason, the pressures on the A- and B-side should be determined through measurement. Use the values found in this way as MIN values in the equations mentioned above. Take the pressure for the upper limit of the electrical signal (10 V, 20 mA) from the data sheet specifications for the pressure sensors. Use the upper limit value for the converted electrical value as AdcValueA and AdcValueB . Use these values as MAX values in the equations mentioned above. PLC Library Hydraulics 155 Version: 1.4