Beckhoff EL37x2 XFC oversampling analog input

The EL37x2 family of input slaves are oversampling slaves capable of sampling an analog input faster than the model's sample time. Supported slaves are: The channels are presented as a vector for further processing.

Apart from the common slave options, the following options configure the slave:

1 Ch. only

Only use first input channel (reduces EtherCAT frame size)

Oversampling configuration

Oversampling is configured by the ratio of CycleTimeSync1 to CycleTimeSync0, where CycleTimeSync1 is an integer multiple (= oversampling factor) of CycleTimeSync0. Moreover, CycleTimeSync1 is the block's sample time.

This is automatically taken care of when choosing one of the predefined oversampling modes. By choosing Custom, the values can be set by the user, taking meticulous care not to choose any incorrect modes.

Specifically, the overampling factor is set by the (negative) value of CycleTimeSync0:Factor, while keeping CycleTimeSync0, CycleTimeSync1 and ShiftTimeSync1 at zero and CycleTimeSync1:Factor at -1.

The user should only try his luck on ShiftTimeSync0 and ShiftTimeSync0:Factor