Motion Algorithm for CX5036