Overview

The TwinCAT NC FIFO group provides the facility of supplying externally generated set values to a group of axes via the NC, and thus of driving them synchronously. The set values for the positions of the axes corresponding to a fixed, although selectable, time period (the FIFO cycle time) are present in the form of a FIFO which is kept topped up by the PLC. The FIFO allows the position of a group of axes to be handled synchronously with reference to time. The FIFO contains a fixed number of prescribed reference points, while the NC interpolates position between them and determines the speed. The FIFO's axis positions are

and continuously passed in each PLC cycle by a PLC program to the NC's FIFO.

Interfaces and Configuration

Interfaces and Configuration

The user can parameterise the FIFO group via the System Manager or the PLC, and can manipulate the functionality of the FIFO group by means of PLC blocks. He also has available (in the System Manager and through the PLC) a cyclic NC-PLC channel interface. This contains the channel process image, and permits access to a variety of channel variables. Finally, he also has available (in the System Manager and through the PLC) a cyclic NC-PLC axis interface. This contains the axis process image for each FIFO axis, and permits access to a variety of axis variables.

FIFO Parameters and the FIFO

FIFO Parameters and the FIFO

The FIFO group is parameterised by a number of data items. These must be set by the user:

The FIFO is a table, [Z][N]T, with N columns and Z lines. These lines are cyclically refilled after they have been used. At position T[T][A] the FIFO contains the set position value for axis A at time T × T_f (T_f FIFO cycle time).

Sequence and the Generation of Set Values

Sequence and the Generation of Set Values

  1. Preparation phase: Group FIFO and parameterise.
  2. Fill FIFO and run FIFO group.
  3. Prepare FIFO data and refill FIFO.
  4. Stop and reconfigure group.

The generation of set values includes the set position, set speed, set acceleration and the set direction.

Override

Override

The override is used to apply a synchronous online percentage change to the speeds of all the FIFO axes prescribed by the FIFO. There are two logical data channels: