Did you declare the variable CYCLE? Did you give a value to such a variable?

If not then PWM command will not work.

Cheers

Al.