Chapter 1 Framework of an AH500 Series Motion Control Module In order to describe the program, the program is divided into 5 sections (section (1)~section (5)). 1-11 Motion subroutine Ox0 M 1 . . 0 . . . 0 0 Ca ll ing P 1 (1 ) C A L L P 1 Main program O100 . . S E 2 et n ti a ng bli t n he g Ox mo 0 ti on s u br o uti n e nu m b er O (2 x ) 0 M OV 1 6# 8 000 S R 10 52 1 6# 1 000 S R 10 30 P M OV M 1 . . . 0 . . 0 0 Ca ll ing C A L L P 2 Subroutine P1 . . . (3 ) Motion subroutine Ox3 ( 4) B R E T M 1 . . . 0 . . 0 0 D M O V K 0 SR1 0 32 Subroutine P2 . . . S E et n ti a ng bli t ng he m Ox o 3 ti on s u br ou ti n e n u m b er O ( x 5) 3 M OV 1 6# 8 003 S R1 05 2 M OV 1 6# 1 000 S R 10 30 . .