The invention discloses a physical
programming method and applications of the method in a
robot field. The method comprises steps: (1) a running object with a main control board is built; (2) physical
programming building blocks are used for building
program logic; (3) a physical
programming module is connected with the main control board; (4) a program is loaded to a memory of the main control board; (5) the program is analyzed and whether the
program logic is correct is detected; (6) if the
program logic is correct, the program is executed, and whether the program is correctly executed is verified, and if the program logic is incorrect, error block information is fed back, the corresponding program is corrected, the third step is returned for continuing until the program logic is correct; and (7) if the running object runs correctly, termination is carried out, or otherwise, the program is corrected, and the third step is continued until correct running. Through visually reflecting the program spliced by the physical instruction model to running of the running object, kids and green hands can understand the program more specifically, and the program can be designed and corrected.