1.第四旋转轴在工作台(A:绕X轴旋转)
define format ( A ) decimal point = true decimal places = 3 end define word order = ( + A ) define keys
azimuth axis not used elevation axis = A end define
spindle elevation rotation = false ## Default elevation units = degrees elevation axis direction = positive azimuth axis parameters = ( 0. 0. 0. 0. 0. 0. ) elevation axis parameters = ( 0. 0. 0. 1. 0. 0. ) define block move rapid
N ; rapid ; G2 ; G3 ; G6 ; x coord ; y coord ; z coord ; elevation axis ; tool length ; M1 ; M2 end define
define block move linear
N ; linear ; G2 ; x coord ; y coord ; z coord ; elevation axis ; tool radius ; feedrate ; M1 ; M2 end define
2.第四旋转轴在工作台(B:绕Y轴旋转)
define format ( B ) decimal point = true decimal places = 3 end define word order = ( + B ) define keys
azimuth axis not used elevation axis = B end define
spindle elevation rotation = false ## Default elevation units = degrees elevation axis direction = positive azimuth axis parameters = ( 0. 0. 0. 0. 0. 0. ) elevation axis parameters = ( 0. 0. 0. 0. 1. 0. ) define block move rapid
N ; rapid ; G2 ; G3 ; G6 ; x coord ; y coord ; z coord ; elevation axis ; tool length ; M1 ; M2 end define
define block move linear
N ; linear ; G2 ; x coord ; y coord ; z coord ; elevation axis ; tool radius ; feedrate ; M1 ; M2 end define
3.第四旋转轴在主轴(A:绕X轴旋转)
define format ( A )
decimal point = true decimal places = 3 end define
word order = ( + A )