TwinCAT Slave Axes 1 st case: Switch to actual values when an axis has an error If an error occurs in a coupled axis when error reaction is delayed ( error reaction mode: DELAYED ), then this axis can be switched over by the NC from set values to actual values. Although this changeover does not have any effect on the faulty axis itself (which has already been halted in an error state), it remains possible to drive the subsidiary slave axes by means of the actual values for this axis. This property can result, in the case of an error, in better synchronicity between the axis with the fault and the subsidiary slave axes if the axis that has the error moves further due to its inertia.
2 nd case: Change to actual values when the main master axis has been deactivated The changeover to actual values even when no error is present is only available to the main master, i.e., the head of the coupling in a master/slave structure. A master/slave group without errors, in which the NC controller enable has set all the axes ready for operation (position control) is a precondition for this changeover. If the NC controller enable is now removed from the main master, the entire group is controlled according to the actual values of the main master.
In this way, for instance, the main master can be pushed manually, and all the other axes that are coupled to this master follow in accordance with their mathematical coupling specification (e.g. cam plates). Requirements: The extended NC error handling ( error reaction mode ) and the changeover to actual value coupling ( use actual value in deactivated state ) only applies to master/slave axes whose axis types are Continuous Axis (PTP axis) and Encoder Axis . 3.2 Linear Slave Axes A slave axis whose position setpoints are determined from the position setpoints of another axis by an affine transformation is called Linear slave axis . The following applies:
slave set position = coupling factor * master set position + offset, whereby the offset results from the coupling position and the coupling factor is determined during coupling. The coupling factor can be changed online. While the coupling of the slave to the master takes place offline (master and slave are stationary), the decoupling can take place online: the slave is thereby converted into a master, which continues to run as if it were still a slave, but which can also be stopped independently of the former master. Glossary Decoupling: offline: logical decoupling of the slave axis from the master axis while both axes are stationary. Decoupling: online:
conversion of a slave axis in motion into a pseudo master axis. Control axis: axis, from which a slave axis receives its control values (it can be a master axis, a slave axis, a pseudo master axis or a virtual axis). Basic dynamics: slave-dynamics without consideration of compensations. Compensation: additional positioning of an axis which is given additively (may be negative) to the positioning preset by the start. Master axis: axis with full functionality (start/ stop/ override/ new target position/ compensation). Masterslave: slave axis whose control axis is a master axis, virtual axis or pseudo master axis. Pseudo master axis:
axis with limited functionality (stop, [override],[compensation]), generated through the conversion of a slave axis into a master axis. Interfaces The interfaces [ } 29] consist of the System Manager, PLC blocks and the cyclic NC-PLC axis interface. TX1250 28 Version: 1.1