What the solution for this problem ...I turned on the cnc machine and then opened the ncstudio software, once i did that the X-Y-Z Axis started to move by them self.When they reached the limit switch's they still continued and started to make a grinding noise so i turn off the main power of the cnc machine.