Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Updating WCS with Renishaw probe while TWP is active


Recommended Posts

Hello Community,

According to the Inspection Plus manual, the WCS can be updated while TWP is active. The updates could be used, for example, to compensate positional errors of the feature coordinate system (FCS).

So does this mean that if the WCS was G54, and G68.2 was used to establish a TWP from an angled hole that was at a known location on the part, but the angle hole was out of position by .005 in the Y axis, the .005 error would be added to G54 WCS automatically?

According to the Inspection Plus documentation the magic occurs with the settings from macro O9744. Interestingly, for head/head machines, no settings are required for O9744. So on a head/head machine, if the FCS is an angled hole at a known location, and the probe is sent to that location while G68.2 was activated, the measure bore macro O9814 can measure the bore and automatically update the initial WCS G54? Nothing else would have to be done?

%
O1 (PROBE ANGLE HOLE EXAMPLE)
G90 G80 G40 G0
G69
T1 M6
G53 Z0.
G53 B0. C0.
G59
G90 G1 G43 Z400.
G68.2 X0. Y0. Z0. I0. J45. K0. (FEATURE COORDINATE SYSTEM (FCS) - AN ANGLED HOLE AT 45 DEG)
G53.1 (POSITION NORMAL TO FCS)
G65 P9810 Z100. F3000.
G65 P9810 X0. Y0. F3000.
G65 P9810 Z−6. F3000.
G65 P9814 D15. S6. (MEASURE BORE AND UPDATE WCS?)
G65 P9810 Z50. F3000.
G69
G53 Z0.
M30

 

Screenshot 2022-02-06 204016.png

Screenshot 2022-02-06 210503.png

Link to comment
Share on other sites
  • 2 weeks later...

@crazy^millman

Sorry for the delay. The WCS can indeed be updated per the deviations of the FCS. However it requires that 1) the FCS is a known position, 2) all 3 axes must be  probed, and 3) the S option is included in the last feature probed. The update occurs on that last feature according to the offset value that was entered.

For example:

(VERY ROUGH EXAMPLE IN MM)
G65 P9814 D15. (MEASURE BORE)
G65 P9810 Z F3000. (SOME SAFE Z MOVE)
G65 P9810 XY F3000. (SOME SAFE XY MOVE)
G65 P9811 Z0. S1. (SINGLE-POINT Z PROBE AND UPDATE G54)

 

In the above snip, XY would be covered in the O9814 bore routine, and Z would be covered in the O9811 single-point routine. The update would occur in G54 after O9811.

  • Like 1
Link to comment
Share on other sites
13 hours ago, tilikoom said:

@crazy^millman

Sorry for the delay. The WCS can indeed be updated per the deviations of the FCS. However it requires that 1) the FCS is a known position, 2) all 3 axes must be  probed, and 3) the S option is included in the last feature probed. The update occurs on that last feature according to the offset value that was entered.

For example:


(VERY ROUGH EXAMPLE IN MM)
G65 P9814 D15. (MEASURE BORE)
G65 P9810 Z F3000. (SOME SAFE Z MOVE)
G65 P9810 XY F3000. (SOME SAFE XY MOVE)
G65 P9811 Z0. S1. (SINGLE-POINT Z PROBE AND UPDATE G54)

 

In the above snip, XY would be covered in the O9814 bore routine, and Z would be covered in the O9811 single-point routine. The update would occur in G54 after O9811.

Good work where just good old fashioned trail and error always produces results.

Link to comment
Share on other sites

Rather than probing all three axes you can just upload a value into the correct variables. Here I am probing for Y position but need values in #150 and #151 for the calculations.

G65P9832(PROBE ON) 
(XXX CENTER IN Y XXX)
G65P9810X9.030Y.0047(*)F100. 
G65P9810Z0.0 
#151=0(X VALUE NEEDED FOR CALCULATION) 
#153=0(Z VALUE NEEDED FOR CALCULATION) 
G65P9812Y1.9685Z-2.0S3.(G56) 
G65P9810Z0.0 
G65P9833(PROBE OFF)

  • Like 1
Link to comment
Share on other sites
  • 11 months later...

Year-old thread isn't too old to dig up is it?

To add to what @joem333 said - and maybe this is common-to-everyone-but-me knowledge - the storage locations for the measured errors are different for different machines/controls.  In our case, Mazak/Variaxis/Smooth...the locations for XYZ errors are #140/#141/#142 etc and actually follow the Cycle Outputs table in the Inspection Plus manual (go figure).

I didn't realize this and was a bit of a head-scratcher for a minute.  The description for the Renishaw back-calculation routine isn't terribly in-depth and just says the errors are "stored".

Link to comment
Share on other sites

You need to edit the O9744(REN*FCS*TO*WCS)

From;

N30
(FCS*TO*WCS*CALC)
(ONLY SET WCS FOR TABLE TYPE ROTARY AXIS)
(ALL TOOL TYPE ROTARY AXIS = 0)
#1=0
#2=0
#3=0

TO; (Note = ysettings dependent on how your machine is set up A/B, A/C, B/C - Example below assumes A/C with A = Primary)

Use the system variable for current MACHINE coordinate/position tilt then rotary for table/table configuration.

N30
(FCS*TO*WCS*CALC)
(ONLY SET WCS FOR TABLE TYPE ROTARY AXIS)
(ALL TOOL TYPE ROTARY AXIS = 0)
#1=#5024
#2=0
#3=#5025

 

I probe with G54.4 and G68.2 Active all the time for inspection. To write standard work offsets no G54.4, just G68.2 active. All day long.

You need to set the following parameters;

#3106.6 =0

#5400.5 = 1

#11200.3=1

AND your probing software suite needs to support it as well.

 

HTH

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...