Save and Restore Actual Position Offset

KINGSTAR Configuration Tool allows you to save a drive's last actual position before disconnecting and powering it off, and restore that position the next time you reconnect to EtherCAT.

To achieve this, KINGSTAR provides the Save and Restore Actual Position Offset feature. This feature saves the offset between KINGSTAR's last actual position and the drive's last actual position, and restores the offset when reconnecting to EtherCAT.

The actual position offset is affected by the Unit Conversion configuration. The following formulas illustrate how KINGSTAR calculates the offset with and without the unit conversion enabled:

NOTE:  Extra encoder is not supported.

NOTE:  The position offset is saved together with the current unit conversion settings. If these settings are changed before the next EtherCAT connection, the saved offset will become invalid. To prevent incorrect positioning, please clear the offset before reconnecting.

Using the Save and Restore the Actual Position Offset Feature

Follow the steps below to enable and use the Save and Restore the Actual Position Offset feature in KINGSTAR Configuration Tool:

  1. The feature is disabled by default, to enable it in KINGSTAR Configuration Tool:
    1. Open the KsTuning.exe.config configuration file, locate IsSaveAndRestorePositionOffsetEnabled and set its value to true. The configuration file is located at C:\Program Files\IntervalZero\KINGSTAR\bin\ksm64Tuning\KsTuning.exe.config

    2. Restart KINGSTAR Configuration Tool.
  2. To enable the feature in the project, open KINGSTAR Configure Tool, navigate to the Connection Settings page, and select Save and restore position offsets in the Axis Settings section. This action displays the activation buttons for saving and restoring the position offsets for the selected axes (see Step 4) and enables axis settings to specify whether the feature is applied to each axis (see Step 3).
  3. After selecting the Save and restore position offsets option in Step 2, you must apply the feature to the desired axes. Go to each axis's Configure page and select the Save and restore offsets option. This option is unselected by default. Only the selected axes' offsets can be saved or restored when activating this feature.
  4. Now you can use the activation buttons (see Step 2) to save or restore the position offsets for the selected axes:
  5. Activation buttons below the Save and restore position offsets option:

    Activation buttons at the top of the Connection Settings page: