Programmatically change Tappet on a cam

kevinm
2025-04-01
2025-04-02
  • kevinm - 2025-04-01

    I am considering using a SoftMotion cam and tappets to activate functions on a machine - for example, triggering a pneumatic valve. I need the ability to change the actuation point (tappet "X" location) from the HMI during machine commissioning. Is there a way to change the "X" value of a tappet programmatically?

     
  • imdatatas - 2025-04-02

    Yes, There is.
    As explained "Manual creation of CAM structure" on below section.
    Likewise tappet structure also can be create manual and value of the switching point can be change during IEC program running.
    https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_basic_cam_programmatic_creation.html

    Just create a cam table and define some tapped points as sample for your project.
    Then on project compile, the created cam tapped data is converted internally into a global variable list. By clicking "Display generated code" in the "cam editor", you can display the automatically created global variables for both cam & tappets.

    Regards,
    Imdat

     
  • kevinm - 2025-04-02

    Thanks so much. That gives me what I need.

     

Log in to post a comment.