Ramp function

jeroen
2024-01-09
2024-01-10
  • jeroen - 2024-01-09

    Hi,
    Found a nice ramp function in the OSCAT lib (FT_RMP), but is there a nice way to 'set' the output to the current input as form of a reset.
    The reason for this, is that I want to set up a ramp for a pressure control input that should have x Bar/sec linear rise input.
    The only option (or code it by hand) I found is this OSCAT FB. Any other options? Just need to increase a value by x Bar/sec from let's say 250Bar (as start) to end 1500Bar. The Oscat ramp will always start at 0 when enable is off (FT_RMP.Rmp := FALSE)

     
  • dkugler - 2024-01-10

    The util.RAMP_INT and util.RAMP_REAL from Codesys have an input for the start value.
    What is the advantage of this OSCAT ramp instead of the Codesys util lib?

     
  • jeroen - 2024-01-10

    Hi, will check the CodeSys function blocks. Didn't know those and usually the OSCAT lib is a bit more advanced.
    Kind regards!!

     

Log in to post a comment.