Community
Fusion Support
Report issues, bugs, and or unexpected behaviors you’re seeing. Share Fusion (formerly Fusion 360) issues here and get support from the community as well as the Fusion team.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The postprocessor does not fulfill the fusio360 conditions (CYCLE800)

17 REPLIES 17
SOLVED
Reply
Message 1 of 18
kpekepc5
871 Views, 17 Replies

The postprocessor does not fulfill the fusio360 conditions (CYCLE800)

Good afternoon. There was a problem in the cycle 800 postprocessor. The post processor works correctly when using the "B" or "CB" axes together. The problem is that when the tool is oriented around the Z axis, the table in the program does not rotate. This is due to the absence of CYCLE800 in the generated code. Attached screenshots and the code generated by the postprocessor

; %_N_TEST_MPF
N10 ; T="D50" D=50 CR=0 - ZMIN=50 - face mill
N11 WORKPIECE(,,,"BOX",112,50,0,80,25,25,-25,-25)
N12 G90 G94
N13 G71
N14 G64
N15 G17
N16 G0 SUPA Z-0.2 D0

N17 ; 2D Contour1
N18 T="D50" D1
N19 M6
N20 CYCLE832(0.01, 112001)
N21 S6000 M3
N22 G54
N23 G0 X-65 Y-30
N24 G0 Z65
N25 M8
N26 G0 Z55
N27 G17
N28 G2 X-60 Z50 I5 K0 F2500
N29 G1 X-55 Y-30
N31 G3 X-50 Y-25 CR=5
N32 G1 Y25 Z50
N34 G3 X-55 Y30 CR=5
N35 G1 X-60 Z50
N37 G3 X-65 Z55 I0 K5
N38 G0 Y30 Z65

N40 ; 2D Contour1 (2)
N41 CYCLE832(0.01, 112001)
N42 G0 X-30 Y65
N43 G0 Z65
N44 G0 Z55
N46 G2 Y60 Z50 J-5 K0 F2500
N47 G1 X-30 Y55
N49 G3 X-25 Y50 CR=5
N50 G1 X25 Z50
N52 G3 X30 Y55 CR=5
N53 G1 Y60 Z50
N55 G3 Y65 Z55 J0 K5
N56 G0 X30 Z65

N58 G0 SUPA Z-0.2 D0
N59 G0 SUPA X-500 Y-0.2 D0
N60 M30

2023-05-23_15-58-57.png2023-05-23_15-57-43.png

17 REPLIES 17
Message 2 of 18

Hi @kpekepc5 

What post are using if you are using siemens 840d post then you should get expected output


Boopathi Sivakumar
Senior Technology Consultant

Message 3 of 18

I use the post 840D, but there could have been changes made before me. Currently I'm trying to figure out the problem, I can't find a function that is responsible for turning the axis under similar conditions.

Message 4 of 18

This is the function which is taking care of rotating around Z axis

boopathisivakumar_0-1684838172863.png

 


Boopathi Sivakumar
Senior Technology Consultant

Message 5 of 18

it looks different to me. 😥2023-05-23_17-40-47.png

Message 6 of 18

I would suggest to use the latest post. recently we had added improvements to the post.

 


Boopathi Sivakumar
Senior Technology Consultant

Message 7 of 18

The problem remains. I used the new postprocessor without changes, the result is the same. Cycle800 is missing from the generated program.
Message 8 of 18

there is an opinion that FUSION360 itself does not provide the necessary parameter for the reversal, it simply converts the orientation of the tool and executes the program without using axis rotation.

Message 9 of 18

Hi @kpekepc5 

you need to define the machine kinematics into the post either via machine configuration or hard coding the kinematics in the defineMachine() function in post.


Boopathi Sivakumar
Senior Technology Consultant

Message 10 of 18

The situation is the same. When the tool is oriented for the "B" axis, everything is fine, but the "C" axis does not lend itself to physical rotation.
Message 11 of 18

Hi,
I can able to get the expected results
boopathisivakumar_0-1684904049894.png

Where did you set the machine kinematics?
Are you defining it in the post? or using machine configuration?

 


Boopathi Sivakumar
Senior Technology Consultant

Message 12 of 18

2023-05-24_12-07-35.png

Message 13 of 18

I feel still you are using the older post. Kindly share the older post and newer post you are using


Boopathi Sivakumar
Senior Technology Consultant

Message 14 of 18

Right. Sorry, my head is too overloaded.

 

function defineMachine() {
  var useTCP = true;
  if (false) { // note: setup your machine here
    var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-10, 120], preference:1, tcp:useTCP});
    var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360, 360], preference:0, tcp:useTCP});
    machineConfiguration = new MachineConfiguration(bAxis, cAxis);

    setMachineConfiguration(machineConfiguration);
    if (receivedMachineConfiguration) {
      warning(localize("The provided CAM machine configuration is overwritten by the postprocessor."));
      receivedMachineConfiguration = false; // CAM provided machine configuration is overwritten
    }
  }
I checked, the result has not changed.
Message 15 of 18

instead of false you have to set this as true as shown below

 if (true) { // note: setup your machine here


Boopathi Sivakumar
Senior Technology Consultant

Message 16 of 18

Ouch.... good! it worked!
Message 17 of 18

Ouch.... good! it worked! Thank you very much! I apologize for my ignorance.
Message 18 of 18
kpekepc5
in reply to: kpekepc5

Added a block for convenience, so that you can disable and enable the function.

cycle800Rotation: {
    title      : "CYCLE800 On/Off",
    description: "On or Off CYCLE800.",
    group      : "multiAxis",
    type       : "boolean",
    value      : false,
    scope      : "post"
  },
.................................
function defineMachine() {
  var useTCP = true;
  if (getProperty("cycle800Rotation")) { // note: setup your machine here
    var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-10, 120], preference:1, tcp:useTCP});
    var cAxis = createAxis({coordinate:2, table:true, axis:[0, 0, 1], range:[-360, 360], preference:0, tcp:useTCP});
    machineConfiguration = new MachineConfiguration(bAxis, cAxis);
2023-05-25_12-46-53.png
 

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

Post to forums  

Autodesk Design & Make Report