Heidenhain, patterns in postprocessor

Heidenhain, patterns in postprocessor

sebek.p.m
Explorer Explorer
795 Views
1 Reply
Message 1 of 2

Heidenhain, patterns in postprocessor

sebek.p.m
Explorer
Explorer

Hello,
the patterns in my postprocessor in fusion 360 do not work for me. With the useSubroutinePatterns and useSubroutineCycles options enabled, I marked the code of interest to me, the code looks like this

 

990 TOOL CALL 3 Z S1500

991 ;Nawiertak

992 TOOL DEF 15

993 L M140 MB MAX

994 M3

995 L X-22.5 Y-22.5 R0 FMAX

996 L Z+16 R0 FMAX

997 M9

998 M8

999 CYCL DEF 200 DRILLING ~

  Q200=+1 ;SET-UP CLEARANCE ~

  Q201=-0.5 ;DEPTH ~

  Q206=50 ;FEED RATE FOR PLUNGING ~

  Q202=+0.5 ;INFEED DEPTH ~

  Q210=0 ;DWELL AT TOP ~

  Q203=+0 ;SURFACE COORDINATE ~

  Q204=+6 ;2ND SET-UP CLEARANCE ~

  Q211=0 ;DWELL AT BOTTOM

1000 L FMAX M99

1001 L X+17.5 FMAX M99

1002 L Y+27.5 FMAX M99

1003 L X-22.5 FMAX M99

1004 L Z+16 FMAX

1005 M9

1006 L M140 MB MAX

1007 * - Drill1 (2)

1008 M5

1009 M1

1010 TOOL CALL 15 Z S531

1011 ;Wiertlo fi 6

1012 TOOL DEF 21

1013 L M140 MB MAX

1014 M3

1015 L X-22.5 Y-22.5 R0 FMAX

1016 L Z+16 R0 FMAX

1017 M9

1018 M8

1019 CYCL DEF 203 UNIVERSAL DRILLING ~

  Q200=+1 ;SET-UP CLEARANCE ~

  Q201=-32.803 ;DEPTH ~

  Q206=32 ;FEED RATE FOR PLUNGING ~

  Q202=+2 ;INFEED DEPTH ~

  Q210=0 ;DWELL AT TOP ~

  Q203=+0 ;SURFACE COORDINATE ~

  Q204=+6 ;2ND SET-UP CLEARANCE ~

  Q212=+0 ;DECREMENT ~

  Q213=7 ;BREAKS ~

  Q205=+2 ;MIN. PLUNGING DEPTH ~

  Q211=0 ;DWELL TIME AT DEPTH ~

  Q208=MAX ;RETRACTION FEED RATE ~

  Q256=+0.12 ;DIST. FOR CHIP BRKNG

1020 L FMAX M99

1021 L X+17.5 FMAX M99

1022 L Y+27.5 FMAX M99

1023 L X-22.5 FMAX M99

1024 L Z+16 FMAX

1025 M9

1026 L M140 MB MAX

1028 M5

1029 M1

1082 * - Drill1 (3)

1083 TOOL CALL Z S700

1084 M3

1085 L X-22.5 Y-22.5 R0 FMAX

1086 L Z+16 R0 FMAX

1087 CYCL DEF 200 DRILLING ~

  Q200=+1 ;SET-UP CLEARANCE ~

  Q201=-3.2 ;DEPTH ~

  Q206=80 ;FEED RATE FOR PLUNGING ~

  Q202=+3.2 ;INFEED DEPTH ~

  Q210=0 ;DWELL AT TOP ~

  Q203=+0 ;SURFACE COORDINATE ~

  Q204=+6 ;2ND SET-UP CLEARANCE ~

  Q211=0 ;DWELL AT BOTTOM

1088 L FMAX M99

1089 L X+17.5 FMAX M99

1090 L Y+27.5 FMAX M99

1091 L X-22.5 FMAX M99

1092 L Z+16 FMAX

1093 M9

1094 M5

1095 L M140 MB MAX

1096 M30

1097 END PGM 1005 MM

 


And I would like it to generate something like that

 

990 TOOL CALL 3 Z S1500

991 ;Nawiertak

992 TOOL DEF 15

993 L M140 MB MAX

994 M3

995 L X-22.5 Y-22.5 R0 FMAX

996 L Z+16 R0 FMAX

997 M9

998 M8

999 CYCL DEF 200 DRILLING ~

  Q200=+1 ;SET-UP CLEARANCE ~

  Q201=-0.5 ;DEPTH ~

  Q206=50 ;FEED RATE FOR PLUNGING ~

  Q202=+0.5 ;INFEED DEPTH ~

  Q210=0 ;DWELL AT TOP ~

  Q203=+0 ;SURFACE COORDINATE ~

  Q204=+6 ;2ND SET-UP CLEARANCE ~

  Q211=0 ;DWELL AT BOTTOM

1000 CALL LBL 1

1005 M9

1006 L M140 MB MAX

1007 * - Drill1 (2)

1008 M5

1009 M1

1010 TOOL CALL 15 Z S531

1011 ;Wiertlo fi 6

1012 TOOL DEF 21

1013 L M140 MB MAX

1014 M3

1015 L X-22.5 Y-22.5 R0 FMAX

1016 L Z+16 R0 FMAX

1017 M9

1018 M8

1019 CYCL DEF 203 UNIVERSAL DRILLING ~

  Q200=+1 ;SET-UP CLEARANCE ~

  Q201=-32.803 ;DEPTH ~

  Q206=32 ;FEED RATE FOR PLUNGING ~

  Q202=+2 ;INFEED DEPTH ~

  Q210=0 ;DWELL AT TOP ~

  Q203=+0 ;SURFACE COORDINATE ~

  Q204=+6 ;2ND SET-UP CLEARANCE ~

  Q212=+0 ;DECREMENT ~

  Q213=7 ;BREAKS ~

  Q205=+2 ;MIN. PLUNGING DEPTH ~

  Q211=0 ;DWELL TIME AT DEPTH ~

  Q208=MAX ;RETRACTION FEED RATE ~

  Q256=+0.12 ;DIST. FOR CHIP BRKNG

1020 CALL LBL 1

1025 M9

1026 L M140 MB MAX

1028 M5

1029 M1

1082 * - Drill1 (3)

1083 TOOL CALL Z S700

1084 M3

1085 L X-22.5 Y-22.5 R0 FMAX

1086 L Z+16 R0 FMAX

1087 CYCL DEF 200 DRILLING ~

  Q200=+1 ;SET-UP CLEARANCE ~

  Q201=-3.2 ;DEPTH ~

  Q206=80 ;FEED RATE FOR PLUNGING ~

  Q202=+3.2 ;INFEED DEPTH ~

  Q210=0 ;DWELL AT TOP ~

  Q203=+0 ;SURFACE COORDINATE ~

  Q204=+6 ;2ND SET-UP CLEARANCE ~

  Q211=0 ;DWELL AT BOTTOM

1088 CALL LBL 1

1093 M9

1094 M5

1095 L M140 MB MAX

1096 M30

1097 LBL 1

1098 L X-22.5 Y-22.5 FMAX M99

1099 L X+17.5 FMAX M99

1100 L Y+27.5 FMAX M99

1101 L X-22.5 FMAX M99

1102 L Z+16 FMAX

1103 LBL

1104 END PGM 1005 MM

 

thank you for all the help

0 Likes
796 Views
1 Reply
Reply (1)
Message 2 of 2

AchimN
Community Manager
Community Manager

Please search for this setting into your post:

var minimumCyclePoints = 5; // minimum number of points in cycle operation to consider for subprogram

and set your desired minimum number of points, in your case you have to set it to 1:

var minimumCyclePoints = 1; // minimum number of points in cycle operation to consider for subprogram


Achim.N
Principal Technology Consultant