Example: FreeEncoder as virtual axis

The configuration is carried out via a tab of the FreeEncoder in the following settings:

  • The resolution of the encoder [increments /revolution]

  • The total encoder resolution from the manufacturer's data sheet

  • The scaling of the increments

[4-4] Representation in the device tree

[4-5] Representation of the tab

The linkage with the real encoder must be inserted manually:

[4-6] Representation in the device tree

[4-7] Representation of the tab

The speed accuracy is directly connected with the resolution of the encoder revolution. Calculation of the encoder resolution can be seen in the following example:

Example showing the calculation of the encoder resolution

Given

Values

Resolution of an encoder revolution

128 inc / rev

Feed constant

360 unit / rev

PLC cycle time (t Cycle )

4 ms