Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
372 Vistas, 4 Respuestas

Mazak turn mill post need to edit

Mazak turn -mill post need to alter because while nc code generate - C angle values going on large numeric values like c100000.

how to fix this issue .

 

thanks for advance 

brian_p1
en respuesta a: Anonymous

@Anonymous 

 

If you alter you c code to this it should keep the rotations between 0 and 360, <rot1-wind> might be different on your machine it depends how its been setup

 

C[<ROT1-WIND>%360]

Anonymous
en respuesta a: brian_p1

[# ]<IF>[polar_interp]<THEN>
[# ]<IF>[z_up]<THEN>
[# ]G13.1<EOB>
[# ][:polar_still_on=0]
[# ][:polar_interp=0]
[# ][:z_up=0]
[# ]<ELSE>
[# ][:polar_still_on=1]
[# ]<ENDIF>
[# ]<ENDIF>
[# ]<INCLUDE:CancelCoordConvert>
[# ]<IFNOT>[apxeq(<ROT2-WIND>,<$ROT2-WIND>)]<THEN>
[# ]<INCLUDE:TurretHome>// Send turret to safe position if B axis angle is going to change
[# ]<ENDIF>
[# ]<INCLUDE:CancelModals>
[# ](<OP-PASS> <SEGM-ID>)<EOB>
[# ]{<F-UNITS>}<EOB>
[# ]<IF><TURNING><THEN>
[# ]<IFNOT>[apxeq(<ROT2-WIND>,<$ROT2-WIND>)]<THEN>
[# ]<INCLUDE:Baxis>
[# ]<ENDIF>
[# ]<IF><CSS-ON><THEN>
[# ]{G92 S<SP-MAX> Q50 R1}<EOB>
[# ]{G96 S<CSS-SPEED>}<EOB>
[# ]<ELSE>
[# ]{G97 S<SPEED>}<EOB>
[# ]<ENDIF>
[# ]<MOTION> X<X-COORD> Z<Z-COORD> {<COOLANT>}<EOB>
[# ]<ELSE>
[# ]<IFNOT>[apxeq(<ROT2-WIND>,<$ROT2-WIND>)]<THEN>
[# ]<INCLUDE:Baxis>
[# ]<ENDIF>
[# ]{S<SPEED>}<EOB>
[# ]<INCLUDE:Milling>
[# ]<ENDIF>

 

 

edit post - Format - program - segamant start  this palce only  i will edit it is okay or any more place ?

 

please check ..

brian_p1
en respuesta a: Anonymous

There will probably be a few places where it needs changing, check program start, tool change, segment start, linear, rapid it all depends how your post has been written.

Anonymous
en respuesta a: brian_p1

thanks for your answer. i tried but our post is not support your format .

 

 

thanks for input ..