TwinCAT PLC Library Hydraulics - Version 1.4 — 5.4.4 FB_Regler

Knowledge Base The filter function blocks must be called after the encoder. The variable to be filtered must be passed to the filter function block at the input, and the corresponding variable of this axis reference can be written at the output of the filter function block. This causes the old noisy value to be overwritten by a new, stabilized value. NOTE! If a heavily filtered actual value is used for control purposes, the dynamics can be affected due to the filter jump response. Additional function blocks are available for reading in pressure and force values. The function block to be used depends on the variable to be measured.

In contrast to position determination, for force and pressure determination the mapping interface and terminal monitoring must be provided by the application. 5.4.3 FB_Runtime The setpoint generator is integrated in function block FB_Runtime [ } 167] . It calculates the corresponding set position, set velocity and, if applicable, also the set pressure for each cycle. In addition to generating set values, the runtime function block also deals with position control. The following setpoint generators are provided: iTcMc_ProfileCtrlBased: The profile generation takes place via an acceleration phase, a constant velocity phase and a brake phase.

iTcMc_ProfilJerkBasiert The profile generation takes place via a jerk phase, an acceleration phase, a jerk phase, a constant velocity phase, a jerk phase, a brake phase and a jerk phase. ProfilBufferedJerk The profile generation takes place in buffered form via up to 12 velocity profiles, which must be known when the axis is started. The individual velocity profiles are structured as in "iTcMc_ProfileJerkBased". In addition to the various set value profiles, it is possible to operate the axis as a time-based axis or a displacement-based axis via the parameter timebased.

If the setpoint generator is to follow a curve not determined by itself, the function block MC_AxRtSetExtGenValues_BkPlcMc [ } 180] must be called and the set position must be passed here. The set value can then come from the NCI's setpoint generator, for example. The position controller is integrated in the setpoint generator. 5.4.4 FB_Regler If a force or pressure regulator is required in the application, it must be called up after the setpoint generator and before the linearization function block. PLC Library Hydraulics 248 Version: 1.4