led32
On ESP32, the PLC’s analog output ultimately has to be generated in hardware using either DAC (on supported pins) or PWM (LEDC) + an external RC filter / analog stage. For many control use cases, PWM tends to behave more linearly/predictably than the ESP32 DAC, depending on the board and load.
Suggestion / feature request:
  • Add a configuration option so each PLC AO channel can be mapped to a physical output method:
    • DAC (current implementation)
    • PWM (LEDC) (alternative implementation)
  • Ideally keep both available and selectable (per channel if possible), so users can choose the best method for their hardware.
Reply 0 0
Reply