I don't think you are understanding how a triac works. When connected to a MOC3083 or a MOC3043 the circuit works like a relay. When you pass current through the LED side of the opto-coupler, it waits until the next zero crossing point then makes the triac conduct. It stays conducting until the LED is off and the AC voltage falls to zero, in other words at the next zero crossing point. You can't turn the triac on and off at any time with the PWM signal you can only turn it on when the LED is conducting (PWM is high) and at the same time the AC crosses the zero point. When it is turned on, no matter what you do with the PWM, it will continue to conduct until at least the next zero crossing. Normally this kind of circuit is used like a power switch, it may turn on for anything from a few AC cycles to hours or days then turn off for a similar period. You can't use it to control the voltage leaving the circuit but you can use it to control how long the full output is turned on and off for in multiples of half AC cycles.
Brian.