How to format Q in a Drill Cycle G83

How to format Q in a Drill Cycle G83

sales
Enthusiast Enthusiast
547 Views
3 Replies
Message 1 of 4

How to format Q in a Drill Cycle G83

sales
Enthusiast
Enthusiast
Hello,
Standard Fanuc Lathe post

Trying to figure out this formatting issue.

Original post output: Drill cycle G83 z __ R__ Q.1 F__

Modification output:  Drill cycle G83 z __ R__ Q1000 F__

The default formatting is Q.1 we need it to be Q1000    ( Q.1 multiplied by 10000).

Thank you.
Mike 
0 Likes
548 Views
3 Replies
Replies (3)
Message 2 of 4

George-Roberts
Collaborator
Collaborator
Hello,

You could approach this two ways, you could create a new format for the q output and set the scaling to be correct. Alternatively, find the correct Q line in the post (search for (83) and you should see it):

"Q" + xFormat.format(cycle.incrementalDepth),


and simply change it to be

"Q" + xFormat.format(cycle.incrementalDepth*10000),


Thats really just a quick fix. It would probably be better practice to create the correct formatting, i just havent got my laptop so cant explain that way just yet!

Let me know if that does what your looking for 🙂
0 Likes
Message 3 of 4

scottmoyse
Mentor
Mentor
I just replied in your other thread Mike. Please can you try and focus your questions to one place so we don't double up our efforts.

Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature


RevOps Strategy Manager at Toolpath. New Zealand based.

Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project

0 Likes
Message 4 of 4

sales
Enthusiast
Enthusiast
Will do, it worked Thank you!
0 Likes