求西门子840d系统铣椭圆的宏程序,,,谢谢

2024-12-05 04:43:31
推荐回答(1个)
回答1:

DEF INT AA

G54 G90 G0 X90 Y40

S600 M3

Z5

G1 Z-2 F200

G41 D1 G1 X50

Y0

FOR AA=1 TO 360

G1 X=50*COS(AA) Y=-30*SIN(AA)

ENDFOR

Y-40

G40 X90

G0 Z100 M5

M30