'Codesys basic proportional output control
I am new to programming on Codesys and am having trouble writing a basic program using a analog input (potentiometer) to proportionally control a pwm output (solenoid) does anyone have any basic examples to give me some guidance. Thankyou.
Solution 1:[1]
You can try the oscat basic library that has PWM related functions such as CTRL_PWM, PWM_DC and PWM_PW (documentation). There's a video with an example, but it's in Spanish.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Guiorgy |