cancel
Showing results for 
Search instead for 
Did you mean: 

POST CONFIGURATOR - HOLE MAKING

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hello everyone,

I'm trying to do postprocessor for 4-axis machine into the postconfigurator. Everything after setting looks good, but I deal with how to reduce unnecessary listing of the A-axis. If it is possible to use the solution as Postbuilder COMBINE_ROTARY or is there any other option?


Thanks Paul

 

 

 

 

8 REPLIES

Re: POST CONFIGURATOR - HOLE MAKING

Esteemed Contributor
Esteemed Contributor

What output do you expect?

The drilling cycle of the Heidenhain controller needs a working plane rotation to function properly, so I really doubt that there can be something omitted.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: POST CONFIGURATOR - HOLE MAKING

Phenom
Phenom

4axis machines no alwasy have plane rotation.

 

He expects (I think)

A..

A...

A..
A..

then drill.

->And for reducing of unnessesary "A" are combine_rotary procs.

Ive met 99 % machines works like this.

------------------------------------------------------

 

And his actual output is plane for every little line

- what is really funny that somebody program this template PP this way .

But, plane with TURN should works and turn axis but what with omitting, strange output for me.

 

If his machine has plane rotation,

Output should be:

(rather m128)

A..

A..

A..

plane rotation

drill

 (->here,  if there is m128 you cant omit A)

 

 

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: POST CONFIGURATOR - HOLE MAKING

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

I attach screens nc-codes. On the left side of Postconfigurator and on the right side of the code as well.

Re: POST CONFIGURATOR - HOLE MAKING

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Yes output should be without a plane. Even if it is unnecessarily generate itemized axis motion in several rows. If someone did not address this in postconfigurator.

 

BEGIN PGM INDEX_MILLING MM
10 BLK FORM 0.1 Z X-130 Y-30 Z-30
12 BLK FORM 0.2 X-0 Y30 Z30
14 * - DRILLING_COPY  NASTROJ: VRTAK-D6  D6. R0.
16 TOOL CALL 150 Z S0 DL0.
18 L X-85. Y0. A-90. R0 FMAX M8 M3
20 L Z50. FMAX
22 CYCL DEF 200 DRILLING ~
   Q200=2.5      ~
   Q201=-16.8026 ~
   Q206=250.      ~
   Q202=16.8026  ~
   Q210=0.        ~
   Q203=30.       ~
   Q204=20.       ~
   Q211=0.
24 L X-85. Y0. FMAX M99
26 L Z50. A-86.25 FMAX
28 L A-82.5 FMAX
30 L A-78.75 FMAX
32 L A-75. FMAX
34 L A-71.25 FMAX
36 L A-67.5 FMAX
38 L A-63.75 FMAX
40 L A-60. FMAX
42 L A-56.25 FMAX
44 L A-52.5 FMAX
46 L A-48.75 FMAX
48 L A-45. FMAX
50 L A-41.25 FMAX
52 L A-37.5 FMAX
54 L A-33.75 FMAX
56 L A-30. FMAX
58 CYCL DEF 200 DRILLING ~
   Q200=2.5      ~
   Q201=-16.8026 ~
   Q206=250.      ~
   Q202=16.8026  ~
   Q210=0.        ~
   Q203=30.       ~
   Q204=20.       ~
   Q211=0.
60 L X-85. Y0. FMAX M99
62 M9
64 M5
66 L Z-10. FMAX M91
68 L A0. FMAX
70 M30
END PGM INDEX_MILLING MM

 

Re: POST CONFIGURATOR - HOLE MAKING

Phenom
Phenom

So it is clear what you want and what you got.

Sorry I cant help you.

I do not use postconfigurator.

I dont even use PB advanced post templates.

I ve started long time ago with generic post template and programed in it what I want.

I recommend this because you have major control of your post.

And I am highly satisfied.

 

 

 

 

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: POST CONFIGURATOR - HOLE MAKING

Esteemed Contributor
Esteemed Contributor

Are you using NX 10.0.3 MP10, then you are a victim of a problem where more than the real drilling is output by NX. This is not a PC problem.

In NX 10.0.3 MP10 you may get two instead of one drilling position due to a NX bug.

In NX 10.0.3 MP11 and above you will only get the one you programmed, which out changing anything in PC or NX.

The above is a problem in MOM, so PB and PC are affected.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX12.0

How to Get the Most from Your Signature in the Community

Re: POST CONFIGURATOR - HOLE MAKING

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hello,

 

yes it's possible to use the existing solution written by Postbuilder or other tcl scripts. For that you can copy the existing commands into the service file or you create your own layer, e.g. if you plan to use functionality also in other posts later. So the Re-use of scripts should be easier in future.

 

But back to how to do the implementation for existing commands. In attachment you will find a small part file for hole making(drilling) and a post for Heidenhain. The post maybe not match your machine kinematics, so here is the list which propertys i have changed in the first step:

2017-01-30 15_05_19-Information.jpg

 

 

 

 

 

 

 

 

 

 

 

Then open the service layer or your own layer file and add the existing "pb_cmd_combine_rotary.tcl"-code from the postbuilder custom command folder. The trick is now to know how to trigger that command with your Post Configurator post. For that we have Entrypoints for each MOM-event. E.g. the "PB_CMD__combine_rotary_check" should be add to the MOM_before_motion. So in the service file add the "proc MOM_before_motion_ENTRY {pos....}" as the entry point and then call the existing command. Do that with the other commands also and you near the finish line Smiley Happy

 

For existing "old" scripts it's maybe needed that some functions or querys don't work anymore with Post Configurator. So now it's necessary to find out which things doens't work correctly and eliminate them or uncomment if it is not needed anymore. If you compare the script with the origin file you will see that i uncomment some lines, mostly logic from postbuilder from where the proc was called.

 

One additional point to the entry points. At the moment it's only possible to use them in one layer, means if it's defined in an other layer you have to copy that into your layer. This is a planned feature for the next version Smiley Happy

 

Hope this helps and if you have any questions feel free to contact me. Please find attached a sample post processor as reference.

 

Best regards

Thomas 

Re: POST CONFIGURATOR - HOLE MAKING

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi Thomas,

thank you very much. That's what I needed and it works. Good work.

 

With best regards Paul

Learn online





Solution Information