|
|
发表于 2019-6-24 17:25:50
|
显示全部楼层
sm10 : "M10" #Clamp fourth axis7 i4 a9 C$ U( }# A9 E1 ]4 Y
sm11 : "M11" #Unclamp fourth axis
5 T, r- ^0 ]5 G, h
! f8 M- B+ U$ `" p$ i# --------------------------------------------------------------------------
6 @ ^3 j" R; m* S& ?/ C4 P# Clamp & Unclamp Fourth
; a3 f9 a8 h& k; d8 C# --------------------------------------------------------------------------
8 k, O: O' Q( m+ n5 cpunclamp #Unclamp 4 Axis 7 r- A: v1 X% o( q# O u
if clamp_flg = 0 & toolchng = one,
- E- `: C. |" Z) y% `- r9 Y+ _ [
X! i+ D9 s1 S I6 q6 W1 `0 T2 e pcan1, pbld, sm11, e$( ?1 Q4 R! R- j5 Z: c
if opcode$ > 16 & opcode$ < 19 | mill5$ = 1, clamp_flg = 00 A" y: [9 |7 {
else, clamp_flg = 1. J6 S* b; D9 A# G
]6 B- W& M& X, T) ~1 t3 G9 P/ ^4 v
4 ~6 ~8 l* F& d! |. k! d: F- h$ X; j
pclamp #Clamp 4 Axis
/ j2 m0 p; g% ~) P2 j* z* o1 S if clamp_flg = 1,0 h% E1 |! N6 j8 t' h- x
[ J: }, b9 i; @
pcan1, pbld, sm10, e$2 k6 [% D0 b" D s/ Z
clamp_flg = 0
" x( J; V/ c+ Z ] |
|