Skip to main content

Logical Drive

You can add a logical drive to any kind of drive unit. The axis of the logical drive mirrors the motion of their master axis while it represents a standalone instance.

. This allows for the execution of the following instructions on it without affecting the master axis.
  • MC_SetPosition: Setting the position to a defined value (example: 0)

  • MC_TouchProbe: Saving the current axis position of a trigger signal

  • MC_AbortTrigger: Deactivating a sensor which was previously activated with MC_TouchProbe

One application would be a conveyor belt which runs through several processing stations. The position of the component is detected by means of an external signal (for example, a light barrier) and the axis is set to a defined position (touch probe function). The logical drive provides the capability of filtering the signal. Therefore, the logical drive can also be used with an encoder that delivers a noise signal.

Adding a logical drive

Requirement: A SoftMotion controller is inserted into the project.

  1. Select a drive unit in the device tree.

  2. In the context menu, click Add Device.

  3. In the Add Device dialog, select the SoftMotion drives → virtual drives → SM_Drive_Logical device.

  4. Click the Add Device button.

    The device is added to the device tree.

    _sm_img_logical_axis.png

    Double-clicking the device opens the corresponding device editor.