Issue
Create a true PWM output from a Xenta programmable controller using a DOPU block in Menta.
Environment
Menta
Cause
Menta does not have a built in PWM functionality, so to control a PWM actuator, some additional programming is required to utilize a DOPO block as desired.
Resolution
- Click the image above to download the Menta Macro.
- Load the macro into the Menta file.
- The HFB takes a percent signal input and outputs the required values to control a DOPU block, which in turn will pulse the physical DO on the Xenta controller to control a PWM actuator.