AH500 Motion Control Module Manual 9.1 Introduction of Multiaxial Interpolation AH500 series motion control modules support multiaxial interpolation. There are two types of interpolation. Users can write G-codes in the motion subroutines Ox0~Ox99 to execute simple CNC. Users can execute interpolation by means of the instruction TO. 9.2 Table of O Pointers/M-codes and Table of G-codes G-codes Additional remark: 05PM=AH05PM-5A; 10PM=AH10PM-5A; 15PM=AH15PM-5A; 20MC=AH20MC-5A 9.3 Composition of a G-code A G-code instruction is composed of an instruction name and operands. Users must type parameter marks.
9-2 Applicable model Instruction code Function Description 20MC 10PM 15PM 05PM O Program pointer Main program: O100 Motion subroutines: Ox0~Ox99 M M-code M0~M65535 M102: End of the main program O100 M2:
End of a motion subroutine Applicable model G-code Function 20MC 10PM 15PM 05PM 00 Rapid positioning (three axes) 01 Linear interpolation (two axes) 01 Linear interpolation (three axes) 02 Circular interpolation, clockwise (arc center) 02 Helical interpolation, clockwise (arc center) 02 Circular interpolation, clockwise (radius) 02 Helical interpolation, clockwise (radius) 03 Circular interpolation, counterclockwise (arc center) 03 Helical interpolation, counterclockwise (arc center) 03 Circular interpolation, counterclockwise (radius) 03 Helical interpolation, counterclockwise (radius) 04 Dwell 17 XY plane selection 18 ZX plane selection 19 YZ plane selection 90 Absolute programming 91 Incremental programming Instruction name Function which is executed Indication of a Parameter mark (X, Y, Z, I, J, K, R, F) function Operand Setting of a Value of a parameter parameter