TwinCAT PLC Library Hydraulics - Version 1.4 — 2 Introduction to hydraulics

Introduction to hydraulics No position control takes place even during the active motion. If the axis does not move at the correct velocity or at varying velocity, this is automatically compensated for by a premature or delayed initiation of the brake phase. Counter forces generated by the process slow down the axis. However, this inevitably leads to an increase in pressure even without a reaction from the control unit, possibly up to the supply pressure and thus to the maximum available force. If this is not sufficient for a further movement, it would not be affected by a controller either. Even without position control, there is no risk of the axis stopping.

When approaching the target position, the velocity is adjusted according to the remaining distance. This adjustment happens continuously and thus compensates for inaccurate braking. Non-linearities are also compensated. However, they can appear as interfering irregularities in the acceleration. In this case, the behavior can be improved by a more precise linearization. The permanently active position controller, which is inevitable with the time-controlled principle, increases the tendency to oscillate and generates undesirable changes in the speeds. With electromechanical axes, this effect is less pronounced and can be tolerated.

Hydraulic axes are subjected to considerably more excitation sources, and they have lower frequency and are less attenuated. The effect is distinct and often rather troublesome. The accuracy at the target does not depend on the method used. In the time-controlled "vertical" principle, a deviation of the axis behavior from the ideal is compensated by an added controller output. With the displacement-based principle, the reaction takes place by "horizontal" stretching or compressing of the profile. With the time-based principle, two axes that are operated with the same parameters and started simultaneously with the same commands will move as if they were mechanically connected.

Both axes move at the right time in the right place and at the right velocity. The deviation is limited to the (typically small) lag errors and is not integrated. With the displacement-based principle, influences from the process or even manufacturing tolerances of the components are not compensated. Deviations are integrated within a movement. There is no definitive expectation of a link between two axes that are operated with the same parameters and started simultaneously with the same commands. They are positioned in the target with the achievable accuracy, but do not necessarily arrive there at exactly the same time.

Structure of the library In contrast to the NC, the library functions work entirely in the PLC runtime. This has several consequences, which are listed below. Internal function blocks are usually also visible. This makes the online view less transparent. On the other hand, local variables can be used for an analysis. All parameters and even runtime variables are visible and accessible. This creates opportunities for specific manipulations. It should be obvious why this should be done with the utmost care. Nothing is done without a corresponding function block being called directly or indirectly. In contrast to the NC, the internal operation of the Motion Control is very transparent.

This is particularly true for: ◦Loading and saving of parameters. ◦Recording of actual values. ◦Setpoint generator. ◦Regulation. ◦Output adjustment. In contrast to NC, there are no "finished" axes. This increases the initial effort, but also offers opportunities for realizing adapted properties. Since the axis is configured in the PLC application, it is easily possible that unexpected and difficult to comprehend effects are created by an incorrect sequence or combination of the called function blocks. It is highly advisable to follow the examples. Since the function blocks are called by the PLC, the Motion Control also works with the cycle time of the PLC task.

A task with a typical NC cycle time of considerably less than 10 ms should be used. In order to make the projects more transparent, the most important function blocks are implemented according to the PLCopen standards. Among other things, this standard specifies that the function blocks are linked to an axis via a reference named AxisRef. Since there is no hidden task level in the library, all data PLC Library Hydraulics 11 Version: 1.4