Movement Slaved to Another TSX CAYx2 Axis
(Original Document)
At a Glance
This function is used to slave the position of an axis (called the slave axis) to the position of another axis from the same module (called the master axis).
The master axis is always the axis 0. A 2 axis module can have one master axis and one slave axis. A 4 axis module can have one master axis and up to 3 slave axes.
This position slave function is confirmed in the configuration screen. At programming level, the slave axis is slaved to the master axis when the SLAVE bit (%Qr.m.c.17) of this axis is set at 1. The IN_SLAVE bit (%Ir.m.c.36) indicates that the slave axis is operating in tracking mode.
Slaving
An axis is slaved either to the measured position or to the master axis position setpoint (choice defined in the configuration screen). A RATIO1 / RATIO2 ratio and an Offset are applied to obtain the final setpoint. These 3 parameters are defined in the adjustment screen.
The slave axis is related to the master axis in the following way:
SlavePositionSetpoint = MasterPosition x (Ratio1 / Ratio2) + SlaveOffset
In order to indicate that the slave axis is tracking the master axis correctly, the AT_PNT (%Ir.m.c.9) bit from the slave axis is set at 1 when the slave has caught up with the master and remains close to it (tracking error of the latter is lower than DMAX2) for more than TSTOP ms
Differences from the TSX CAY •1 Module
The tracking function of a TSX CAY•2 module differs from the TSX CAY •1 in the following ways:
The offset value can be modified from the application or from the P_Unit software in recalibration mode. The TSX CAY •2 module provides an alignment or locking device in order to avoid a ’surprise’ during the switch to slave mode.
The function calculates the offset as follows:
SlavePosition = MasterPosition X Ratio + Offset
The configuration parameter Automatic offset is used to select the operating mode. The signed ratio value advances from 0.01 and 100.
Parameters Associated with the Master Mode - Slave
The parameters of the master – slave mode are as follows:
Execution Condition
If the calculated setpoint overshoots the axis soft stops, the moving part stops and the command is refused.
SlavePositionSetpoint = MasterPosition (1) x Ratio1 / Ratio2 + Slave_Off (or InternalSlaveOffset)
(1) according to configuration.
For the DRIVE_OFF Mode
This mode is used to slave a slave axis to a master axis. In this case, the slave is declared a measurement follower.
Meaning of the AT_PNT Bit and DMAX2 Parameter
The DMAX2 parameter defines the precision threshold.
This value is particularly useful in the object tracking applications where the slave axis goes into a recovery phase before satisfying the condition:
(MasterPosition x Ratio + Offset) - DMAX2 < or = (SlavePosition) < or = MasterPosition x Ratio + Offset) + DMAX2
As soon as the condition is satisfied over a period at least equal to the value of the T_STOP parameter, the AT_PNT bit takes the value 1, to signify that the slave axis has caught up.
Important
Specifications
These applications are made up of: