The first function is the definition function used to control DC Motor. By controlling DC Motor's motion in clockwise and counterclockwise, the actuator device can drive the Mesh Knot Component to move up and down . The second function is the statement function. the statement function has two tasks, the first one is to read the specific data in matrix dataset. the second one is to use specific data to stop DC Motor's motion. Additionally, research uses Ultrasonic Sensor(HC-SR04) to measure the distance between Mesh Knot Component and origin point. Through the application of Ultrasonic Sensor, the statement function can compare the distance values returned by Ultrasonic Sensor and the specific in the condition field in real time. When the distance is greater than, equal to, or less than the specific value in the condition field,