Even easier than In Range and Coerce, the PID function has an "Output Limits" input. Create a constant for that input and set the limits to whatever you need.
What DAQ card are you using? If it has a built-in timer, you will get a better PWM signal by using that, and the code is simpler.