DOP processing funcion.
This function must be called cyclically. It runs the state-machine for each DOP object.