Advertisement
Guest User

Untitled

a guest
May 30th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. 0 BEGIN PGM SW 10 zew MM
  2. 1 BLK FORM 0.1 Z X-15 Y-15 Z+0
  3. 2 BLK FORM 0.2 X+15 Y+15 Z+3
  4. 3 TOOL CALL 1 Z S3000 DL+0 DR-0.015 ;frez 6
  5. 4 L M3
  6. 5 L C+0 A+0 R0 FMAX M126
  7. 6 CYCL DEF 10.0 OBROT
  8. 7 CYCL DEF 10.1 ROT+0
  9. 8 FN 0: Q1 =+10 ; wymiar szesciokata
  10. 9 FN 0: Q7 =+4 ; dlugosc szesciokata
  11. 10 FN 0: Q9 =+1 ;przybieranie
  12. 11 ;obliczenia
  13. 12 FN 4: Q2 =+Q1 DIV +2
  14. 13 FN 0: Q3 =+0
  15. 14 FN 1: Q4 =+Q2 + +15 ; punkt startowy
  16. 15 FN 3: Q5 =+Q2 * +1.1547 ; 1,1547 to wartosc 1/cos30
  17. 16 FN 1: Q6 =+Q5 + +Q5
  18. 17 FN 1: Q8 =+Q7 + +0.01
  19. 18 CC X+0 Y+0
  20. 19 L X-Q4 Y+0 R0 FMAX
  21. 20 L Z+20 FMAX M7
  22. 21 L Z+15 F1000
  23. 22 LBL 1
  24. 23 LP PR+Q4 PA+180 R0 FMAX
  25. 24 L Z+Q3 F400
  26. 25 LP PR+Q5 PA+180 RL F1000
  27. 26 LP PA+120
  28. 27 LP PA+60
  29. 28 LP PA+0
  30. 29 LP PA-60
  31. 30 LP PA-120
  32. 31 LP PA+180
  33. 32 L X-Q4 Y+0 R0 FMAX
  34. 33 FN 2: Q3 =+Q3 - +Q9
  35. 34 FN 1: Q5 =+Q5 + +0
  36. 35 FN 11: IF +Q3 GT -Q8 GOTO LBL 1
  37. 36 L Z+10 R0 FMAX
  38. 37 L M9
  39. 38 L M140 MB MAX F99999
  40. 39 L X+0 Y+0 R0 FMAX M92
  41. 40 L M30
  42. 41 END PGM SW 10 zew MM
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement