(info: tests for values of [xyz]-rot-point) osub # = #1 (=-2.5) # = #2 (=-2.5) # = #3 (= 5) # = #4 (= 5) # = #5 (=60) # = #6 (=12) # = #7 (=1000 feed) # = 0 # = [360/#] o1 if [exists [#<_hal[xyzac-trt-kins.x-rot-point]>]] (debug,x-rot-point=#<_hal[xyzac-trt-kins.x-rot-point]>) (debug,y-rot-point=#<_hal[xyzac-trt-kins.y-rot-point]>) (debug,z-rot-point=#<_hal[xyzac-trt-kins.z-rot-point]>) o1 endif o2 if [exists [#<_hal[xyzbc-trt-kins.x-rot-point]>]] (debug,x-rot-point=#<_hal[xyzbc-trt-kins.x-rot-point]>) (debug,y-rot-point=#<_hal[xyzbc-trt-kins.y-rot-point]>) (debug,z-rot-point=#<_hal[xyzac-trt-kins.z-rot-point]>) o2 endif M429 ;Identity kinematics g0 x# y# z0 c0 M428 ;tcp g61 o10 while [# le 360] g1 f# # = [# + #] g0 c# g1 x[# + #] g1 y[# + #] g1 x[# + 0 ] g1 y[# + 0 ] o10 endwhile M429 ;Identity kinematics g0 x0 y0 z# c0 oendsub