Stepper motor control with (SM_Drive_RaspStepper_direct)

kalmeyer
2025-11-04
2025-11-11
  • kalmeyer - 2025-11-04

    Hi Helpers
    I'm trying to work with stepper motor on Rasp 5 for the first time. So I'm pretty new.πŸ˜₯here.
    I've used:
    https://forge.codesys.com/drv/sm3raspistepper/home/Home/
    but I get the following error when I insert.
    I also get 6 errors when I "rebuilder" after installering "SM_Drive_RaspStepper_direct" from the tree.
    Hope there is help for me.
    Thanks in advance
    /Klaus

     
  • kalmeyer - 2025-11-04

    HERE IS MY PLC_PRG
    /KLAUS

     
  • eschwellinger

    eschwellinger - 2025-11-06

    Which SoftMotion version is installed?

     

    Last edit: eschwellinger 2025-11-06
  • kalmeyer - 2025-11-09

    I have installed:
    SM_Drive_PosControl 4.18.0.0 and
    SM_Drive_RaspiStepper_Direct 0.0.0.7 and
    SM_Drive_RaspiStepper_PulsDir 0.0.0.7
    And when I "Generate Code" I immediately get 6 errors (see attached file)

    What can I do?????

     
  • eschwellinger

    eschwellinger - 2025-11-10

    ..the missing part is which Softmotion version is installed.
    Check it in the CODESYS Installer and update it to latest version.

     
  • kalmeyer - 2025-11-10

    I AM VERY GRATEFUL FOR YOUR HELP.
    I HAVE INSTALLED: CODESYS SOFTMOTION VER. 4.19.0.0 AS SEEN IN THE ATTACHED FILE.
    BUT IT DOESN'T CHANGE THE FACT THAT I GET 6 ERRORS WHEN I HAVE INSTALLED SM_Drive_RaspiStepper_Direct
    DO YOU HAVE ANY SUGGESTIONS ON WHAT I CAN DO NOW?
    /KLAUS

     
  • kalmeyer - 2025-11-10

    Is there perhaps a place where I can see examples of programming with different instructions?
    This would be a great help.
    Maybe there are some places where ready-made programs are posted that can be downloaded and tested?
    /Klaus

     
  • eschwellinger

    eschwellinger - 2025-11-11

    .. try to use this projectarchive for the Stepper.
    In case you search for SoftMotion Examples:
    "c:\Program Files\CODESYS 3.5.21.X\CODESYS\CODESYS SoftMotion\Examples\Tutorial\"

     

Log in to post a comment.