Rotary operations Gcode output is wrong need help

Rotary operations Gcode output is wrong need help

tolgaer97
Participant Participant
354 Views
1 Reply
Message 1 of 2

Rotary operations Gcode output is wrong need help

tolgaer97
Participant
Participant

Hello everyone, I used rotary command on this part, it using circular passes and I set angular limit 0 to 359 degress. When i simulate operation everything is fine, part is rotating between 0-359 degrees but, when  I take gcode output Rotary axis (A axis) going up to above 500 degrees. I tried several different post processors and I took same results. How can I solve this?

0 Likes
355 Views
1 Reply
Reply (1)
Message 2 of 2

boopathi.sivakumar
Autodesk
Autodesk

Hi @tolgaer97 

I am not sure what post processor you are using and how you have defined the machine kinematics.

You need to pass the range variable in the kinematic definition.

Let say for the fanuc with A axis post and if you edit the post and search for onOpen you should find code like below

  if (true) {
    var aAxis = createAxis({coordinate:0, table:true, axis:[(getProperty("makeAAxisOtherWay") ? -1 : 1) * -1, 0, 0], cyclic:true, preference:1});

add range:[0,360] as shown below

  if (true) {
    var aAxis = createAxis({coordinate:0, table:true, axis:[(getProperty("makeAAxisOtherWay") ? -1 : 1) * -1, 0, 0], cyclic:true, range:[0, 360], preference:1});

Now save the post and use this one for post processing now you should get the A values always in between 0 to 360

 


Boopathi Sivakumar
Senior Technology Consultant