Class WsMotionProfileControl


public class WsMotionProfileControl extends DigitalInput
Reads a motion profile.
  • Constructor Details

    • WsMotionProfileControl

      public WsMotionProfileControl(String p_name)
      Constructs the motion profile.
      Parameters:
      p_name - Descriptive name ofthe motion profile.
  • Method Details

    • readRawValue

      protected boolean readRawValue()
      Motion profile does not return raw values.
      Specified by:
      readRawValue in class DigitalInput
      Returns:
      False.
    • readDataFromInput

      public void readDataFromInput()
      Motion profile does not read any data.
      Overrides:
      readDataFromInput in class DigitalInput
    • setProfileEnabled

      public void setProfileEnabled(boolean p_newValue)
      Enables the motion profile.
      Parameters:
      p_newValue - True to enable profile.
    • setResetKinematics

      public void setResetKinematics(boolean p_newValue)
      Sets to kinematics to reset.
      Parameters:
      p_newValue - True if kinematics should reset.
    • getProfileEnabled

      public boolean getProfileEnabled()
      Returns true if the motion profile is enabled.
      Returns:
      True if the motion profile is enabled.
    • getResetKinematics

      public boolean getResetKinematics()
      Returns true if the kinematics is set to reset.
      Returns:
      True if the kinematics is set to reset.