Have Z and Feed post as modal for G92 threading cycle

Have Z and Feed post as modal for G92 threading cycle

Don.Cyr
Collaborator Collaborator
396 Views
4 Replies
Message 1 of 5

Have Z and Feed post as modal for G92 threading cycle

Don.Cyr
Collaborator
Collaborator

When posting a G92 threading cycle, it outputs the Z and feed on all of the pass lines where it doesn't need to. how can I set the post up to be output these as modal in the cycle. For reference, this is the Samsung Mill-turn post but I also loaded and tried the Doosan post and it is the same.. 

 

DonCyr_0-1707598094081.pngDonCyr_1-1707598158644.png

 

Please click "Accept Solution" if I helped with your question or issue.
0 Likes
Accepted solutions (1)
397 Views
4 Replies
Replies (4)
Message 2 of 5

serge.quiblier
Autodesk
Autodesk
Accepted solution

Hi @Don.Cyr 

 

normally xOutput and zOutput are modal.

But in the code there is a xOutput.reset() and zOutput.reset().

This is forcing the output even if the variable is defined as modal.

You can comment these two lines and reprocess to check the output.

One downside can be only one or no coordinate on the very first pass, depending on the previous location.

For the feedrate output, it depend on how the pitchFormat variable is defined, probably non modal.

It may be better to create a new format pitchModal with the appropriate parameterrs, and use this instead, in that location.

 

Regards.

 


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes
Message 3 of 5

Don.Cyr
Collaborator
Collaborator

@serge.quiblier Can you please show me how the pitch format would be defined as modal. it is currently

pitchOutput.format(cycle.pitch)
 

 

Please click "Accept Solution" if I helped with your question or issue.
0 Likes
Message 4 of 5

serge.quiblier
Autodesk
Autodesk

Hi @Don.Cyr 

 

Depending if your post is using the old fashion or the new one the answer can vary.

 

In the old defintion we will have something like

var pitchOutput = createVariable({prefix:"F", force:true}, pitchFormat);
 
The createVariable AND the force;true make it a non modal output.
A modal output will be done via this;
var pitchOutput = createModal({prefix:"F"}, pitchFormat);
 
If you are running Fusion, then recent version can be used instead:
var pitchOutput = createOutputVariable({prefix:"F", control:CONTROL_CHANGED}, pitchFormat);
 
Post processor training guide
5.1.10 Output Variable Definitions
 
 Regards.

 

______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes
Message 5 of 5

Don.Cyr
Collaborator
Collaborator

@serge.quiblier Thank you once again for the help. 

Please click "Accept Solution" if I helped with your question or issue.
0 Likes