Move manual NC post location.

Move manual NC post location.

ELAFING
Advocate Advocate
1,424 Views
7 Replies
Message 1 of 8

Move manual NC post location.

ELAFING
Advocate
Advocate

Capture.JPGIs it possible to have the manual nc operations post in the location marked by the arrow. I would like to use a program stop followed by a comment and have them post in the middle of operations instead of posting before the Z0 in the previous tool path. Does that make sense. 

 

 

 

0 Likes
Accepted solutions (1)
1,425 Views
7 Replies
Replies (7)
Message 2 of 8

johnswetz1982
Advisor
Advisor

Yes, *if* your post processor supports pass through statements. Which on are you using?

0 Likes
Message 3 of 8

ELAFING
Advocate
Advocate

Haas pre ngc post.

I have enabled pass through in the post.

My issue is the location of the pass through code, I want it after the Z0 from the previous op.

Currently posting like this,

...

N130 M9
N135 g0 g90 g28 y0        this is the pass through code location
N140 m00                                  so it this
N145 M5
N150 G53 G0 Z0.                          

I want the manual nc selections to post here.

In between the operations and after the G53 G0 Z0 line

 

(2D Adaptive3)

(Rough pocket +.020 radial & Axial)
N155 M1
N160 T15 M6
N165 S5000 M3

 

 

0 Likes
Message 4 of 8

Anonymous
Not applicable

If you are talking about placing manual NC command or comment in particular place .....

When you define your manual NC command or message, it ends up on the end of all operations in column.

You then click on it and while holding down mouse button, you drag it in above operation of you choice, when green line appears between desired operations, you let go of the mouse button, when you post, action or message contained in manual NC should appear where you intended.

0 Likes
Message 5 of 8

daniel_lyall
Mentor
Mentor

Do you want it to be permanent you can add that into the post at the location where the G53 is?


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 6 of 8

ifuASTJY
Advocate
Advocate

Hi, I am interested in that too for my Sinumerik 840 D pp.

Normally you would want a program STOP after Z retract so you can check/ or measure part.

Thanks!

0 Likes
Message 7 of 8

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

@ELAFING 

Search for this line 

if (hasParameter("operation-comment")) {
and paste the COMMAND_PASS_THROUGH;
command above
like this
    if (forceResetWorkPlane && newWorkPlane) {
      forceWorkPlane();
      setWorkPlane(new Vector(0, 0, 0)); // reset working plane
    }
  }
 COMMAND_PASS_THROUGH;
 if (hasParameter("operation-comment")) {
    var comment = getParameter("operation-comment");
And remove any other command_Pass_through if you use while copy the code
 
 

Boopathi Sivakumar
Principal Technology Consultant

0 Likes
Message 8 of 8

ifuASTJY
Advocate
Advocate

@boopathi.sivakumar  it will post as last line in the operation if I don't have a tool change next.

If I have a tool change it is still before writeRetract.

Thanks

M0 PASSTROUGH.JPG