PID controller and low pass filter for analog input

punset
2021-11-28
2021-11-28
  • punset - 2021-11-28

    Dear friends,
    I'm starting in codesys programming, im using codesys 2.3 and an Hydac TTC-32 PLC.
    I need to filter an analog input signal from a sensor measurement. Is any library apart of OSCAT (which i can not use because my plc doesn`t use more than 256 POU's) that containt a low pass filter?
    And another question, The util.lib PID doesn't work properly, not because i didn't calibrate well. Is any other library apart of OSCAT and util which contains a PID controler?

    Thanks in advance.

     
  • i-campbell

    i-campbell - 2021-11-28

    open the oscat library in a second editor.
    copy only the POUs you need to your project.

     
  • punset - 2021-11-28

    Thanks you so much, that works. Do you know if oscat.lib has a low pass filter Funtion block, for filter the analog current 4-20mA input of a measurement sensor?

    Thanks in advance.

     

Log in to post a comment.