Heidenhain iTNC530
■ NCデータの概要2012.4.12

まずは、CAMが吐き出したハイデン言語を眺めてください
初期設定、座標系設定、キャンセルコード、工具退避位置などの出力位置や順番などは、
機械やポストプロセッサの味付けによって変わってくると思いますが
肝心な個所は、だいたい同じだと思います。



0 BEGIN PGM NC_16 MM
1 ;
2 BLK FORM 0.1 Z X-64 Y-105 Z-155
3 BLK FORM 0.2 X64 Y105 Z0
4 ;
5 ; --- TOOLLIST ---
6 ; T22 - L0 R8 - BALL_END_MILL
7 ;
8 * - OPERATION 16
9 ;BALL_END_MILL
10 M127 ; SHORTER PATH TRAVERSE OF ROTARY AXES OFF
11 M129 ; TCPM OFF
12 ; * START OF LABELS *
13 LBL 1
14 CYCL DEF 7.0 DATUM SHIFT
15 CYCL DEF 7.1 X0
16 CYCL DEF 7.2 Y0
17 CYCL DEF 7.3 Z0
18 PLANE RESET STAY
19 LBL 0
20 L Z550 R0 F MAX M91
21 L X0.0 Y0.0 R0 F MAX M91
22 ;
23 L A0 R0 F MAX
24 L Y800 R0 F MAX M91
25 TOOL CALL 22 Z S2590 DL-8
26 CYCL DEF 247 DATUM SETTING ~
  Q339=+10 ;DATUM NUMBER
27 ;
28 FN 0:Q2=1550 ; FEEDRATE XY
29 FN 0:Q3=1000 ; FEEDRATE Z
30 FN 0:Q4=500 ; REDUCED FEEDRATE
31 L Z550 R0 F MAX M91
32 L X0.0 Y0.0 R0 F MAX M91
33 L M126 ; SHORTER PATH TRAVERSE OF ROTARY AXES ON
34 L A-43 C0 R0 F MAX M13
35 CYCL DEF 7.0 DATUM SHIFT
36 CYCL DEF 7.1 X10.107
37 CYCL DEF 7.2 Y130.11
38 CYCL DEF 7.3 Z22.735
39 PLANE SPATIAL SPA-43 SPB0 SPC0 STAY SEQ- TABLE ROT
40 L X+0 Y+0 R0 F MAX
41 L Z+0 R0 F MAX
42 CALL LBL 1
43 M128 ; TCPM ON
44 L X10.107 Y130.11 Z22.735 R0 F MAX
45 CYCL DEF 32.0 TOLERANCE
46 CYCL DEF 32.1 T0.01
47 CYCL DEF 32.2 HSC-MODE:1 TA0.5
48 L Y111.876 Z3.182 R0 F MAX
49 L Y108.466 Z-0.475 FQ2
50 ;BALL_END_MILL
51 L Y105.056 Z-4.132 FQ3
52 L X10.933 Y104.788 Z-4.055 FQ2
53 L X11.772 Y104.562 Z-4.125
54 L X12.598 Y104.383 Z-4.338
55 L X13.386 Y104.257 Z-4.688
56 L X14.112 Y104.188 Z-5.165
57 L X14.755 Y104.178 Z-5.754
58 L X15.294 Y104.227 Z-6.437
59 L X15.713 Y104.334 Z-7.193




3471 L X-16.887 Y96.883 Z-40.05
3472 L X-16.458 Y96.947 Z-39.757
3473 L X-15.994 Y97.047 Z-39.539
3474 L X-15.507 Y97.181 Z-39.404
3475 L X-15.012 Y97.343 Z-39.354
3476 L X-14.525 Y97.529 Z-39.392
3477 L Y100.257 Z-36.467 R0 F MAX
3478 L Y143.671 Z10.089 R0 F MAX
3479 ;
3480 ;Amin:-43 Amax:-43
3481 CYCL DEF 32.0 TOLERANCE
3482 CYCL DEF 32.1
3483 L M09
3484 L M05
3485 M127 ; SHORTER PATH TRAVERSE OF ROTARY AXES OFF
3486 M129 ; TCPM OFF
3487 L Z550 R0 F MAX M91
3488 L X0.0 Y0.0 R0 F MAX M91
3489 L A0 C0 R0 F MAX ; REWIND A-AXIS AND C-AXIS
3490 L Y800 R0 F MAX M91
3491 TOOL CALL S1000
3492 END PGM NC_16 MM



CGI-design