Thanks..
Here i haven't described whole plc0. In plc0 i am taking care of, it will execute once and other task will execute over and over again.
We are using same scenario in UMAC for Auto Mode in Antenna system for satellite tracking. Error will generate at continuous rate from integrated tracking receiver. I want to know what i missing in PPMAC. Why DAC is reaching at maxdac value? Till reaching at maxdac value of outer loop inner loop motor is following correctly. once outer loop dac output reach at maxdac value it will stop motion.