TwinCAT NC Master Axes 3. If the preset process velocity VP does not coincide with the amount of the real current local axis veloc- ity v , the following applies. If VP > v , the real compensated distance (absolute) will be less than the re- quired one. If VP , the real compensated distance will generally be equal the required one. This means that for stop or override 0.0 , the actual compensated distance (absolute) will be less than the required one. 4. The values AK+ and AK- are increases in path acceleration/path deceleration values, i.e. if D > 0.0, compensation starts with the acceleration increase AK+ , whilst, if D the deceleration increase AK-. 5.
If the compensation length L is greater than the remaining axis distance to be traveled, the remaining distance will be used instead of L . Compensation stop The function 'compensation stop' terminates axis compensation, if an axis is in compensation mode but not in the braking phase of compensation, by replacing the distance to be compensated D with the actually compensated distance at the end the compensation. If the axis is stopped by the user and compensation is active, compensation stop is automatically requested together with the stop of the basic dynamics.
2.6 External set value generation External setpoint generation (external setpoint specification) enables the implementation of individual setpoint generators within the PLC, or appropriate connection of existing internal and external generators, and their simple and transparent integration into the TwinCAT system. Axes can be positioned either with an external setpoint generator alone, or superposition (mixing) of existing internal generators and external setpoint sources is possible. These new characteristics and the fact that an axis can change its operating modes at runtime (e.g.
interpolating path axis (NCI), master PTP axis, slave axis, external setpoint generation) further enhance the flexibility of a TwinCAT axis. In general, the superimposition of internal and external setpoint sources enables a multitude of new applications and solutions. Examples of use: External setpoint specification can be used for implementing an individual new setpoint profile , which is not available in TwinCAT NC. This profile can be mathematically very simple or as complex as necessary. Since the externally generated setpoint profile can also be superimposed on the standard profile, corrective functions can thus also be supplemented.
In this way, a position-based setpoint profile can be implemented for systems that are difficult to control or non-linear, for example a position-based deceleration ramp for hydraulic axes. One application for the superposition (mixing) of two internal setpoint sources is the combination of interpolating path processing (NCI) and the 'flying saw' function (PTP slave). Multi-dimensional machining , e.g. a circle, on a moving workpiece is thus possible, which previously was only possible with stationary workpieces. This measure increases the efficiency of a machine.
External setpoint generation can also be used in order to enable a certain lead time (in the multi-digit second range) between the unit generating the setpoints (e.g. the execution of a DIN-NC program feeding virtual axes) and the real axes. Collision monitoring and strategies for collision avoidance can then be realized. Another important use case is coordinate transformations (restricted to regular and unique transformations without singularities). E.g. geometries like a 'two-bar linkage' or conversion between rotatory and translatory coordinates. This new function is available with the PLC function blocks MC_ExtSetPointGenEnable and MC_ExtSetPointGenDisable in the TcMc.lib library.
Furthermore, there is an example for an external setpoint generator (3-phase profile with acceleration rectangle), see section TwinCAT NC-PTP Examples [ } 40] . TX1250 23 Version: 1.1