Witam. szanowne grono. Mam problem z 4 osia a dokładnie ze podczas wiertania obraca mi ja na A-90 a jak chce w tym samym otworze wyfrezować pogłębienie to oś obraca już na pozycje A-270. Ppróbowałem już różnych postpocesorów lipa.
N8 (TOOL 1 - DIA 4.)
N10 (TOOL 2 - DIA 6.)
N1 G90 G17 G40 G80 G00
N12 T1 M6()
N14 (D-wiercenie)
N16 S3500 M03
N18 G00 G54 G90 X10.691 Y31.234 A-270.
N20 G43 H1 Z79.281
N22 G98 G81 X10.691 Y31.234 Z52.281 R56.281 F300.
N24 X32.312 Y-21.26
N26 G80
N28 M05
N30 G00 G28 G91 Z0
N32 M01
N2
N34 T2 M6()
N36 (F-kontur)
N38 S3500 M03
N40 G00 G17 G54 G90 X32.312 Y-21.26 A-90.
N42 G43 H2 Z79.281
N44 Z56.281
problem z obrotem 4 osi
-
Autor tematu - Nowy użytkownik, używaj wyszukiwarki
- Posty w temacie: 3
- Posty: 6
- Rejestracja: 02 lip 2022, 08:51
Re: problem z obrotem 4 osi
Może komuś to pomoże.
w lini nR1poscpos = (-cpos) * iR1dir ; wstawiłem znak( - )
@usr_r1pos_calc
; Calculate Rotary 1 Position (Main Spindle)
; tmatrix + 4th Transform + cpos + 5xapos
; Note: Angular Feed Formula fc = f*(180/(pi*r))
; Note: fc=deg/min, f=linear feed
nR1postmatrix = (-rotate_angle_x) * iR1dir ;Rotary from CoordSys (tmatrix)
; if rot_axis_type ne axis4_none
; nR1postransform = (-angle) * iR1dir ;Rotary from 4x-Transform
; else
; nR1postransform = (angle) * iR1dir
; endif ;Rotary from 4x-Transform
nR1poscpos = (-cpos) * iR1dir ;Zmieniłem znak na (-cpos)
nR1pos5x = (apos) * iR1dir ;Rotary from 4/5x Simulatenous
nR1pos = nR1postmatrix + nR1postransform + nR1poscpos + nR1pos5x
if bLimit_3axis
change(nR1pos) = false
endif
if nPR1pos ne nR1pos
change(nR1pos) = TRUE
endif
nPR1pos = nR1pos
...
u mnie to rozwiązało problem. Pozdrawiam.
w lini nR1poscpos = (-cpos) * iR1dir ; wstawiłem znak( - )
@usr_r1pos_calc
; Calculate Rotary 1 Position (Main Spindle)
; tmatrix + 4th Transform + cpos + 5xapos
; Note: Angular Feed Formula fc = f*(180/(pi*r))
; Note: fc=deg/min, f=linear feed
nR1postmatrix = (-rotate_angle_x) * iR1dir ;Rotary from CoordSys (tmatrix)
; if rot_axis_type ne axis4_none
; nR1postransform = (-angle) * iR1dir ;Rotary from 4x-Transform
; else
; nR1postransform = (angle) * iR1dir
; endif ;Rotary from 4x-Transform
nR1poscpos = (-cpos) * iR1dir ;Zmieniłem znak na (-cpos)
nR1pos5x = (apos) * iR1dir ;Rotary from 4/5x Simulatenous
nR1pos = nR1postmatrix + nR1postransform + nR1poscpos + nR1pos5x
if bLimit_3axis
change(nR1pos) = false
endif
if nPR1pos ne nR1pos
change(nR1pos) = TRUE
endif
nPR1pos = nR1pos
...
u mnie to rozwiązało problem. Pozdrawiam.
-
- Specjalista poziom 1 (min. 100)
- Posty w temacie: 1
- Posty: 114
- Rejestracja: 18 cze 2021, 21:50
- Lokalizacja: Niemcy
- Kontakt:
Re: problem z obrotem 4 osi
Tak wybierasz kierunek - + , ale to możesz w programie Solidcam zmienić , nie musisz PP zmieniać