1
Technical support / Re: PWM issues
« on: July 06, 2024, 09:41:56 PM »
Is your custom function that run the first PWM running in a loop until the action is completed? If so that is the reason why the second PWM does not run until the program exits the first custom function.
You have to structure your program such that if you need to run two SETPWM on two separate PWM channels they should be run consecutively. They could be in different custom function but your program must allow the custom function to exit and then return back on another scan.
You have to structure your program such that if you need to run two SETPWM on two separate PWM channels they should be run consecutively. They could be in different custom function but your program must allow the custom function to exit and then return back on another scan.