# Example 4: Slave tracks workpiece on rotary table

In the examples below, the PLC acts as master. Here, the start parameters are transferred by the NC program as described in the section “Hybrid implementation from PLC and NC program”. The section “Implementation by PLC” only describes working with the PLC.

The aim is to machine a workpiece on a rotary table while it is rotating. The rotary table is modelled here as a seventh axis (X1) in the system.

Machined workpiece (left) during a rotation; the trace view on the right
Kin_Base offset from the master’s perspective (rotary table)

## Additional information

- Hybrid implementation from PLC and NC program
- Implementation via PLC