About Following Functions
(Original Document)
Activating the Following Function
You can activate the following function by calling the Link (WRITE_CMD) or FollowOn (implicit exchanges) functions. You can deactivate the following function by calling the UnLink (WRITE_CMD) or FollowOff (implicit exchanges) functions.
Following does not start as soon as it is activated: issuing a command to activate following starts a sequence of events, and following is not considered until all the events are complete. For the slave axis, the AXIS_IS_LINKED bit indicates when following actually starts.
Once following actually begins, the slave axes follow the master. If the master is under the control of the multi-axis movement controller, the application program commands the master axis to move to achieve the desired following motion.
Movement with Active Following
The master may be executing a move when following is activated.
The slave may be executing a move command when following is activated, under the following conditions:
Movement with Inactive Following
The master may be executing a move when following is deactivated.
The slave may be executing a move (in addition to following the master) when following is deactivated, under the following conditions:
Activating Following in Ratio and Cam Modes
In each of these modes, activating following causes the movement controller to calculate a new value for the SlaveBias. This new value is chosen to prevent the slave axis from moving, given the current master position and the SlaveRatio (for Ratio mode) or CamProfile (for Cam mode). You may adjust SlaveBias to any desired value after following is activated or by issuing an incremental movement command to the slave axis.
Note
In Ratio mode, the SlaveBias value changes with the SlaveRatio. Monitor the SlaveBias after the RAMPING bit of the slave axis is reset.
NOTE: SlaveBias: Position delta between master and slave.