Anuncios

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

Canned Cycles post problem

rdbojan
Advocate

Canned Cycles post problem

rdbojan
Advocate
Advocate

Hello,

 

I need help to adjust post in XBuild for Cycles.

I need to get NC code like:

N9001
N25 G17 T1 M06
N30 G54
N35 G90
N40 S4000 M03
N45 G0 X-18.5 Y-24.0
N50 Z25.0 M08
N55 Z3.0  - This line should be removed! How to achieve this?
N60 G83 Z-13.502 I5.0 Y3.0 F300. B25.0 J0.5 K0 M08
N65 G79 Z0.0
N70 Z25.0
N75 M09
N80 G17 T2 M6
N85 G00 X-18.5 Y-24.0 M03
N90 Z25.0 M08
N95 Z3.0
N100 G84 Z-11.75 Y3.0 B25.0 J1.0
N105 G79 Z3.0
N110 Z25.0
N115 M09
N120 M06
N125 M30



And parts of my post look like this:

 

Z rapid:       {N<SEQ>} {<MOTION>} {Z<Z-COORD>  }<EOB>

 

Drill cycle: {N<SEQ>} <CYCLE> Z<ABS-DEPTH> Y<ZCLEAR> F<FEED> B<ZRAPID> M08<EOB>
                    {N<SEQ>} G79 {X<X-COORD> } {Y<Y-COORD> } Z<Z-COORD> <EOB>

 

 

0 Me gusta
Responder
Soluciones aceptadas (1)
752 Vistas
6 Respuestas
Respuestas (6)

Anonymous
No aplicable

Hi @rdbojan,

 

For which controller your post be used?

 

0 Me gusta

rdbojan
Advocate
Advocate

Hi @Anonymous, 

It's for Maho Phillips 432.

0 Me gusta

rdbojan
Advocate
Advocate

It works when I put this in Z rapid section:

 

<IFNOT><DRILLING><THEN>
{N<SEQ>}{ <MOTION>}{ Z<Z-COORD>}<EOB>
<ENDIF>

 

But only for drilling cycle. For other cycles (ex. tapping) line N55 Z3.0 is on.

 

I need this Z rapid only when is not cycle.

0 Me gusta

Anonymous
No aplicable
Solución aceptada

Hi @rdbojan,

 

Maybe this can help you.

 

<IFNOT>[or(<DRILLING>,<FLOAT-TAP>)]<THEN>
{N<SEQ>}{<MOTION>}{Z<Z-COORD>}<EOB>
<ENDIF>

 

0 Me gusta

rdbojan
Advocate
Advocate

Hi @Anonymous,

 

Thank you for this.

This is what I've been looking for.

I tried something like this, but without or on start.

Anonymous
No aplicable