TwinCAT PLC Library Hydraulics - Version 1.4 — 5.4.5 FB_Finish

Knowledge Base When the controller is active, it overwrites the output of the setpoint generator. Care must be taken that the input variable to be controlled is selected at the ReadingMode input. Controller parameters such as Tn, Kp etc. are not automatically supplied via the parameter structure, but must be transferred from the application to the function block. In order to save these parameters together with all other axis parameters, it is possible to store them in stAxParams.fCustomerData. Up to 20 application-specific data can be stored here. If the input FirstAuxParamIdx >0 is entered, the next four fCustomerData values are labeled as appropriate for the controller.

The function block uses GVL.AxisRef.pStAxAuxLabels for labeling. Of course, the labels can also be adapted via the application. NOTE! Careful consideration must be given to how the controller should behave so that no jumps occur during activation and deactivation. As a rule, the pressure regulator is activated as soon as a small but significant pressure/force increase is detected. 5.4.5 FB_Finish The function block deals with the output linearization. For this purpose, it summarizes and standardizes the set velocity and the position controller output. The result can be found in stRtData.fOutput. There are various options available for linearization: Section by section:

The overlap, velocity ratio and reference velocity are used here. The output from zero to creep velocity V Creep is ramped linearly from zero to the overlap compensation Ovl. From creep velocity to reference velocity V Ref , the overlap compensation interpolates linearly up to 100% valve opening. Bend compensation: This should only be used for zero overlap valves, which have two sections with different slopes. Characteristic curve: Table-based characteristic curve with up to 99 points. PLC Library Hydraulics 249 Version: 1.4