smoothing problem mori

smoothing problem mori

dave_
Advocate Advocate
630 Views
5 Replies
Message 1 of 6

smoothing problem mori

dave_
Advocate
Advocate

Hi I have a mori seike with a MSX-701 control (fanuc 31). My machine does not have a full 4th only a positional ( 1 degree) . the problem I have is with b axis and the Smoothing. The post does not turn off the smoothing (G5.1Q1)  when there is a B axis commanded because the B axis is thought of as a full axis and the look ahead would be reading it. But because I have a positional 4th it is not seen by the smoothing and skips over it. So in the program if there as a b axis commanded it does not rotate. Is it possible to get the post to see that the B is a full 4rth or not and the smoothing is turned of and on accordingly? 

 

(2D CONTOUR6)
T6 M06
M08
S3600 M03
G54
M11
G00 B0.
M10
G332 R4.
G5.1 Q1
G00 X-1.25 Y-0.625
G43 Z1. H06
..
..

G332 R3. (need to bee added when B-axis is continuous = false)
G5.1 Q0  (need to bee added when B-axis is continuous = false)
G30 G91 Z0.
G90

(2D CONTOUR6)
G55
M11
G00 B0.
M10

G332 R3. (need to bee added when B-axis is continuous = false)
G5.1 Q1  (need to bee added when B-axis is continuous = false)
G00 X-1.25 Y-0.625
G43 Z1. H06
..
..

M09
G30 G91 Z0.
G90
G49
G332 R3.
G5.1 Q0
G30 G91 X0. Y0.
G90
M30

 

Thanks

Dave

0 Likes
Accepted solutions (2)
631 Views
5 Replies
Replies (5)
Message 2 of 6

dave_
Advocate
Advocate

 sorry I am using DMG Mori NHX with CELOS control for the base post

0 Likes
Message 3 of 6

bob.schultz
Alumni
Alumni

Hello Dave,

 

You can modify the post to turn off smoothing when the B-axis changes in an operation.  Change the following line towards the top of onSection to disable smoothing when the work plane changes.

 

    // retract to safe plane
    writeRetract(Z);
    
    if (((insertToolCall || newWorkPlane) && !isFirstSection()) || forceSmoothing) { // <<< ADD the test for 'newWorkPlane' to this line
      disableLengthCompensation(false);
      setSmoothing(false);
    }
  }

 

We will update the library post so that this happens by default when the rotary axis is a positioning axis only.

 



Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 4 of 6

dave_
Advocate
Advocate

Hi Bob I have made the changes to the post and it partially works. It will only do the smoothing on and off if the B angle changes. So if I have a G54 B0. then a G55 B0. it will not turn the smoothing on and off but if I have G54 B0. then a G55 B15. It will force the Smoothing on and off. How can I force the smoothing? for repetitive B axis?

 

Thanks 

Dave

0 Likes
Message 5 of 6

KrupalVala
Autodesk
Autodesk
Accepted solution

Hi @dave_ ,

 

Please add the newWorkOffset to the to Bob's given solution.

    if (((insertToolCall || newWorkOffset || newWorkPlane) && !isFirstSection()) || forceSmoothing) {
      disableLengthCompensation(false);
      setSmoothing(false);
    }

Save the modification and test the code.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 6 of 6

dave_
Advocate
Advocate
Accepted solution

Thanks I have it sorted out now.

0 Likes