Knowledge Base The different ways of stopping an axis are compared here. The example can be started by setting the variable bStart to TRUE. MC_Stop_BkPlcMc [ } 66] : Executes a stop with preset deceleration parameters. The axis reports ready when the calculated target including target tolerances (in PosRange, in TargetRange for target filter time and in BrakeDistance) has been reached. MC_EmergencyStop_BkPlcMc [ } 50] : Brakes with preset ramp to standstill. MC_ImediateStop_BkPlcMc [ } 59] : Sets the set value to zero without ramp. Example 12: Buffering and blending For TC2: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/zip/1599875211.zip For TC3:
https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/ zip/9007204192357771.zip The basic procedure for buffered movements is explained in FAQ 20 [ } 231] . To start the example, the variable bStart must become TRUE. The Scope View shows that there are six movements, which are processed in coupled mode. Example 13: Filter For TC2: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/zip/1599877387.zip For TC3: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/ zip/9007204192360331.zip The example shows the behavior of several filter types and what to consider when using filters.
If all signals with the name "Noisy" are switched off in Scope View, the original signal and the filtered signals can be seen with corresponding offsets. The shape of the signal is retained. The more a signal is filtered, the stronger the phase shift between the original and filtered signal. This phase shift has a direct influence on the controllability of axes and other sections. If the noisy signals are made visible in the Scope, it can be seen that the noise portion in the signal is considerably lower both through a MC_AxUtiSlidingAverage_BkPlcMc [ } 191] and after a MC_AxUtiPT1_BkPlcMc [ } 189] . Example 14: Function generator For TC2:
https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/zip/1599879563.zip For TC3: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/ zip/9007204192362891.zip In some applications, a setpoint generator is required to generate sinusoidal, trapezoidal or sawtooth signals. For example, the signals generated with MC_FunctionGeneratorTB_BkPlcMc [ } 161] and MC_FunctionGeneratorFD_BkPlcMc [ } 159] can be transferred to an axis via MC_AxRtSetExtGenValues_BkPlcMc [ } 180] . Example 15: Pressure regulator For TC2: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/zip/1599881739.zip For TC3:
https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/ zip/9007204192365451.zip The example shows the reading and scaling of an actual pressure value in the application. A pressure control for an axis with MC_AxCtrlPressure_BkPlcMc [ } 115] is demonstrated. The application first moves to a position at which a pressure increase is expected via a fast movement. The movement continues at a slower velocity and the controller is activated when the set pressure has been reached. Example 16: Distributed axis references For TC2: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/zip/1599883915.zip PLC Library Hydraulics 258 Version: 1.4