Skip to main content

Drive Control 'Drive_PosControl'

With the Drive_PosControl drive control, you can let the position control of an axis of CODESYS continue to run. The requirement is a device that is controlled by the set velocity and returns its current position. For example, this can be a velocity-controlled device (frequency converter) with position feedback.

Adding a drive control

Requirement: A SoftMotion controller is inserted into the project.

  1. In the device tree, select SoftMotion General Axis Pool.

  2. In the context menu, click Add Device.

  3. In the Add Device dialog, select the SoftMotion drives → position controlled drives → SMC_Drive_PosControl device.

  4. Click the Add Device button.

    The device is added to the device tree.

    _sm_img_drive_poscontrol.png

    Double-clicking the device opens the corresponding device editor.

For more information, see: Tab: General