cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

generic Hurco 5-Axis post

generic Hurco 5-Axis post

We are working on a generic Hurco 5-Axis post processor and we would be happy to get some feedback from you before we put it into the library.

This post is only to test the 3+2 and 5 axis. It will be implemented in the generic Hurco post if its done.

 

Update:

  • add properties for the safe tool change position in X and Y

Please feel free to download and test it:

 

24 Comments
MJK_Performance
Advocate

YES! I will try this out today. I have a few sample programs from hurco for 3+2 and 5 axis for reference if you need them.

 

 

jerry426
Participant

FYI - I downloaded and tried this and looks like my problems mentioned in another thread may be fixed. I will more carefully review the generated code ASAP and maybe even run it on my machine. 

 

jerry426
Participant

After more time with this beta (and breaking a 1/8 ball mill because I missed an error in the generated code before I pushed the pretty green button) I have this problem:

 

I have a Parallel operation which should happen at the indexed position of A-30 C135. The HSM UI clearly shows me that A-30 C135 is the orientation it will use, which is exactly what I expected to happen, however the generated code is A-30 C225 (see code snippet below).  

 

Is there something in the CPS file I should change to fix this? or something in the HSM GUI? 

 

 

(Side Rail Undercut)
N7 T3 M6
N8 S11000 M3
N9 G54
N10 M33
N11 M13
N12 G0 M140
N13 G69
N14 G0 A-30. C225.
N15 G68.2 X0. Y0. Z0. A-30. C225.
N16 G8.2 X-0.2925 Y0.2981 Z0.7675
N17 M32
N18 M12
N19 M8
N20 G0 X-0.2925 Y0.2981 Z0.7675
N21 Z-0.2711
N22 G1 Z-0.4321 F50.
N23 Y0.2983 Z-0.4345
N24 X-0.2924 Y0.299 Z-0.4368

 

@KerimY can you look at @jerry426 problem?

jerry426
Participant

I can also confirm this happens on a Pencil operation which should be indexed to A-90 C150 but the posted code output is A-90 C210:

 

(Tip Corner Cleanup)
N7 T7 M6
N8 S11000 M3
N9 G54
N10 M33
N11 M13
N12 G0 M140
N13 G69
N14 G0 A-90. C210.
N15 G68.2 X0. Y0. Z0. A-90. C210.
N16 G8.2 X-0.3226 Y0.071 Z1.075
N17 M32
N18 M12
N19 M8
N20 G0 X-0.3226 Y0.071 Z1.075
N21 Z0.138
N22 G1 Z0.0565 F12.
N23 X-0.3224 Y0.0712 Z0.0551
N24 X-0.3218 Y0.0716 Z0.0539

It is weird because the output but then negative would be correct.

So I'm not sure why that is wrong.

 

AchimN
Community Manager

@jerry426 could you please share your programmed part so that we can take a look?

jerry426
Participant

@AchimN My part assembly along with the part model and the stock model and my slightly modified "hurco beta.cps" file are here: 

 

https://www.dropbox.com/sh/bp3s8kz7lbfi9bp/AAA1M_k5g_likU_tKgTqfs85a?dl=0

 

The operations in question are the last 2:

 

  • "Side Rail Undercut"
  • "Tip Corner Cleanup"

 

I am running HSMWorks 2016 R3.40968

 

 

MJK_Performance
Advocate

I ran this last night and have a couple of things, 

 

for the trunnion style hurcos it would be nice to have a safe tool change position:

 

 

N33 G0 M140
(2D Adaptive1)
N34 M9
N35 M1
N36 G53 X0. Y0. (<---- safe tool change position)
N37 T6 M6
N38 S12000 M3
N39 G54

and it need to unlock the "A" and "C" axis before doing 5 axis simultaneous tool paths;

 

 

 

N22 G98 G84 X-0.7338 Y0.54 Z0.125 R1.075 P0. F41.14
N23 X0.1662
N24 X1.0662
N25 G80
N26 Z1.85
N27 M5
N28 G0 M140
(Swarf1)
N29 M9
N30 M1
N31 G53 X0. Y0.
N32 T14 M6
N33 S12000 M3
N34 G54
N35 M8
    M33 (UNLOCK A) M13 (UNLOCK C) ( this could be placed anywhere before G8.2)
N36 G69
N37 M128
N38 G0 G8.2 X1.8298 Y0.1225 Z0.6 I-0.005649 J-0.015426 K0.999865
N39 G43.4
N40 M200 P2
N41 G1 X1.8298 Y0.1225 Z0.6 I-0.005649 J-0.015426 K0.999865 F100.
N42 X1.8298 Y0.1225 Z0.1228 I-0.005649 J-0.015426 K0.999865
N43 X1.8307 Y0.1252 Z-0.05 I-0.005649 J-0.015426 K0.999865 F40.

 

KerimY
Alumni

@jerry426

Hello Jerry,


You activate the machine angles in the post which is deactivated by default.

You use the Machine Configuration in HSM to see the angles in the simulation, you have to adjust your Machine Configuration in HSM to your parameters in the postprocessor otherwise the angles in the simulation are wrong.

Please update all parameters in the page "Rotary Axes" in 4th and 5th axis with the same parameter as in the postprocessor.

grafik.pnggrafik.png.


Please update your postprocessor with the correct parameters in the MachineConfiguration.

grafik.png

 

@MJK_Performance

Hi Phil,

 

i updated the postprocessor in my first post and add 2 properties for the safe Tool Change position in X and Y.

Unlock axis works only with machineConfiguration because the postprocessor dont know which axis your machine has.

It is possible or an error if i unlock all axis (M33 M35 M13)?

 

Thank you all for feedback.

jerry426
Participant

@KerimY 

I made the adjustments you suggested and it now looks like I have good usable code being generated - THANKS! I will test it on my machine later this evening and hopefully report back here with confirmation that it works correctly. I also updated all my files related to this in my dropbox folder if anyone was curious to have a look at it - https://www.dropbox.com/sh/bp3s8kz7lbfi9bp/AAA1M_k5g_likU_tKgTqfs85a?dl=0

jerry426
Participant

I am happy to report that my latest attempt, based on the suggestions posted in this idea, has produced running code which I am now using to make parts (all 3+2 stuff). I added a few more personal preferences to the CPS file such as forcing the home position to be where I want it and other very minor things.

 

I hope to have time soon to check out the full 5-axis features.

 

Thanks to everyone that helped!

KerimY
Alumni

sounds good.

 

Can you guys test the post without machineConfiguration, with Vector output?

You must deactivate the machineConfiguration in post and delete your Machine in HSM so it works.

MJK_Performance
Advocate

Ill try that as soon as i can

MJK_Performance
Advocate

I have vector output running smoothly on the machine

 @MJK_Performance awesome that you tested this.

I have nothing the do with the development or need for the post.

Just wanted to say thank you for that.

KerimY
Alumni

@MJK_Performance a big thanks from me too.

I implemented this in the generic hurco post and update it in the post library soon.

I need to add a setting in the post to lock/unlock axis if you use vector output.

 

@Laurens-3DTechDraw thank you.

MJK_Performance
Advocate

Just noticed a thing. If you are using multiple work offsets on different faces (like on a tombstone) it will only call up a G68 and G8.2 for the original work offset and not for the second one, which causes an error.

 

(Face13 2)
N9 G53 X0. Y0.
N10 T2 M6
N11 T33
N12 S1329 M3
N13 G54
N14 G0 M140
N15 G69
N16 G68.2 X0. Y0. Z0. I1. J0. K0. U0. V1. W0.
N17 G0 G8.2 X3.375 Y0. Z0.6 I0. J0. K1.
N18 M9
N19 G0 X3.375 Y0.
N20 G43 Z0.6 H2
N21 Z0.2109
N22 G18 G3 X3.125 Z-0.0391 I-0.25 K0. F30.
N23 G1 X2.25
N24 X-2.25
N25 X-3.
N26 G3 X-3.25 Z0.2109 I0. K0.25
N27 G0 Z0.6
N28 G17
(Face13 2)
N29 M9
N30 G0 X3.375 Y-2.87
N31 G1 Z0.6 F800.
N32 G0 Z0.2109
N33 G18 G3 X3.125 Z-0.0391 I-0.25 K0. F30.
N34 G1 X2.25
N35 X-2.25
N36 X-3.
N37 G3 X-3.25 Z0.2109 I0. K0.25
N38 G0 Z0.6
N39 G17
N40 G0 M140
(Face13 3)
N41 G55 <---------- (needs a G69, G68, and G8.2 for the second offset)
N42 M9
N43 G0 X3.375 Y0.
N44 G43 Z0.6 H2
N45 Z0.2109
N46 G18 G3 X3.125 Z-0.0391 I-0.25 K0. F30.
N47 G1 X2.25
N48 X-2.25
KerimY
Alumni

Hello @MJK_Performance,

 

can you send me your CAD files please.

al.whatmough
Alumni
Moving to "under review" in advance of separating out the post ideas from the general software requests. This was a batch process. So, this particular idea may still be archived.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea