I cant help you all the way with examples or validation but from reading the as help you create 1 instance of rtiPwm and configure the duty cycle in percent or fixed time based on bit nbr 2 in the mode UDINT input. The frequency can be adjusted with the Period input in increments of 10 ns.
You then connect the outputs from the rtiPWM instance to the inputs of rtiDoutTime.
From the description of rtiDoutTime:
“The function block is directly linked to the hardware, which means it can only be used once for each existing digital output. It can be connected directly to the pulse width modulation function block rtiPwm”
I hope that gets you started.
(press ctrl+g in the help and paste GUID, 79b0ae4f-075e-4c4a-89ad-6fe5a493a8c8, 79b0ae4f-075e-4c4a-89ad-6fe5a493a8c8)