First of all, the TOUCH command gets the touch information in the order of STTM (Time the touch screen has been continuously touched), TX and TY (The coordinates of the touch itself). So you'd want your TOUCH command to look like TOUCH ST,X,Y.