Postprocessor change - highspeed mode on Kitamura with Yasnac-Control

Postprocessor change - highspeed mode on Kitamura with Yasnac-Control

meXtec-marcus
Contributor Contributor
903 Views
2 Replies
Message 1 of 3

Postprocessor change - highspeed mode on Kitamura with Yasnac-Control

meXtec-marcus
Contributor
Contributor
Hi, 

 

my Kitamura MY-Center-1 with Yasnac i80 control supports a highspeed-mode, which is enabled by HON and disabled by HOF.

Special about it: 

The code between HON and HOF should not have feedrates in between. You have to tell the feed you want ahead of the HON and the control will do the job as fast and close to that feed as possible. Sounds senseless but it is really way faster and more accurate than standard mode!

I almost forgot about having this everywhere available because it might be difficult to edit in the post. But anyway I think it will be managable with contours, where I am using radius compensation. If all feeds are set on the same speed - the feed is only posted once at the beginning and not repeated. I am editing the code manually myself and this is working fine.

What I am looking for is a change in my postprocessor to add HON/HOF every time I use G41/G42.
It would be ideal to ignore all other feeds and just put the work feed in front of HON - but thats not the biggest topic - can do that manually in the menu if its too much work.

This is the standard code:

 

 

T03 M06
(SCHLICHT D10)
S4775 M03
M08
G00 G54 X-7.072 Y2.
G43 Z25.3 H03
G00 Z15.3
G01 Z11.3 F1500.
Z3.05

G41 X-14. Y-2. D23 F1200.
X-2. Y-22.785
Y-43.
X-7. Y-48.
X-18.
Y-2.
X-14.
X-2. Y-22.785
Y-43.
X-7. Y-48.
X-18.
Y-2.
X-14.
X-10.5 Y-8.062
G40 X-3.572 Y-4.062

G00 Z25.3
M09

 

 

but it should look like that:

 

T03 M06
(SCHLICHT D10)
S4775 M03
M08
G00 G54 X-7.072 Y2.
G43 Z25.3 H03
G00 Z15.3
G01 Z11.3 F1500.
Z3.05

F1200.
HON

G41 X-14. Y-2. D23 
X-2. Y-22.785
Y-43.
X-7. Y-48.
X-18.
Y-2.
X-14.
X-2. Y-22.785
Y-43.
X-7. Y-48.
X-18.
Y-2.
X-14.
X-10.5 Y-8.062
G40 X-3.572 Y-4.062

HOF

G00 Z25.3
M09

 


Can anyone change the post like that ? 

I will add the modified standard Yasnac-post to the thread. This should work pretty good if others bought a standard-machine with Yasnac.

Thanks in advance from germany

0 Likes
Accepted solutions (1)
904 Views
2 Replies
Replies (2)
Message 2 of 3

michael.gnad
Alumni
Alumni

Hi @meXtec-marcus,

 

you could add following code to your post.

Go to function onLinear and add:

  if (pendingRadiusCompensation == 1 || pendingRadiusCompensation == 2) {
    writeBlock(feedOutput.format(feed));
    writeBlock("HON");
    feedOutput.disable();
  }

michaelgnad_0-1632813911627.png

and

        writeBlock("HOF");
        feedOutput.enable();

michaelgnad_3-1632814088125.png

 

 

 



Michael G.
Sr. Technical Consultant
Message 3 of 3

meXtec-marcus
Contributor
Contributor
Accepted solution

quick 'n dirty: perfect!

Thank you for the support.

0 Likes