What's new
What's new

Custom dprint output

Patburden

Plastic
Joined
Mar 29, 2015
Good morning guys,

Im using our Renishaw omp-40 probe on our Haas vm-4ss to inspect our parts.
the DRPINT.OUT file is ok, but it overwrites the last file unless I change the names and I always get a generic component No. and feature No.
example

%
O00004()

-------------------------------------------------------------------
COMPONENT NO 3 FEATURE NO 155
-------------------------------------------------------------------
SIZE D.7995 ACTUAL .7991 DEV -.0004
POSN X.0000 ACTUAL .0000 DEV .0000
POSN Y1.0940 ACTUAL 1.0941 DEV .0001

Is there any way I can set custom component numbers, and feature numbers?

example

%
O00004()

-------------------------------------------------------------------
COMPONENT NO S30276-4R FEATURE NO FAI #54
-------------------------------------------------------------------
SIZE D.7995 ACTUAL .7991 DEV -.0004
POSN X.0000 ACTUAL .0000 DEV .0000
POSN Y1.0940 ACTUAL 1.0941 DEV .0001


THANK YOU
 
This would require a bit of work in terms of changing the component no and feature no... There isn't too much documentation on using the W input to output your formatted data. However, the problem arises from where would you like to pull the component number/ feature number? Keep in mind that the macro variables that you use only allow numeric inputs, so if you wanted letters in this output, you would have to have a variable for each CHARACTER...

Some creative ways to go about this would be to use a specific format for writing programs that your dprnt macro could pull from. However, this means that whomever is writing your programs needs to follow a specific format in how they write gcodes, as well as isolate a set group of variables for feature names/ numbers, as well as make sure all programming personnel get trained on this.

Let me know if you want to tackle this... I have a few ideas on how to go about this but it would definitely take some time and I would definitely need quite a bit more information.
 
feature reset and increment W2. & W1.

Good morning guys,

Im using our Renishaw omp-40 probe on our Haas vm-4ss to inspect our parts.
the DRPINT.OUT file is ok, but it overwrites the last file unless I change the names and I always get a generic component No. and feature No.
example

%
O00004()

-------------------------------------------------------------------
COMPONENT NO 3 FEATURE NO 155
-------------------------------------------------------------------
SIZE D.7995 ACTUAL .7991 DEV -.0004
POSN X.0000 ACTUAL .0000 DEV .0000
POSN Y1.0940 ACTUAL 1.0941 DEV .0001

Is there any way I can set custom component numbers, and feature numbers?

example

%
O00004()

-------------------------------------------------------------------
COMPONENT NO S30276-4R FEATURE NO FAI #54
-------------------------------------------------------------------
SIZE D.7995 ACTUAL .7991 DEV -.0004
POSN X.0000 ACTUAL .0000 DEV .0000
POSN Y1.0940 ACTUAL 1.0941 DEV .0001


THANK YOU



Hi,

I`m using probing to measure my parts also on TM-2 .

I use BobCadCam to generate full post for multiple features on part, with machine counter and time and date.{{{ note}}}

Measurements are collected through rs232 port on machine with predator, you can use hiperterminal also.

Here is example of my post:

%
O00410 ( PROBING)
( JOBSETUP[O00410.mwjs]JOBSETUP )
( Haas TM-2)
( DATE - SAT. 09/11/2021 )
( TIME - 12:25PM )
(T15 2 MM RUBY -M4-50 MM)

G103 P1

DPRNT[---]

DPRNT[MACH PART COUNT#3901[11]] {{{print machine counter number}}}

DPRNT[---]

DPRNT[DATE YYMMDD#3011[11]] {{{ print time and date}}}

DPRNT[---]

DPRNT[TIME HHMMSS#3012[11]]

DPRNT[---]


DPRNT[---]

DPRNT[THIC MEAS HAAS]

DPRNT[---]

DPRNT[HAAS TM2]

DPRNT[---]

G103
M05
M01

G00 G17 G40 G49 G80 G20 G90 G94 G187
G103 P1

(MEASURE)
(FIRST OPERATION - FIRST TOOL SETTER PROB)
T15 M06 (2 MM RUBY -M4-50 MM)
G55 G90
G00 X-9.75 Y-3.
G43 H15 Z1.5
G65 P9832
G65 P9810 Z0.16 F25.
G65 P9814 D1. H0.01 W2. {{{note W2. resets the feature to 1 and subsequent measurements have W1. (to increment feature)}}}
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X-9.625 Y-2.3125
Z1.5
G65 P9832
G65 P9810 Z0.7
G65 P9811 Z0.25 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X-7.5 Y6.25
Z1.5
G65 P9832
G65 P9810 Z0.41
G65 P9814 D1. H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X-7.5 Y6.525
Z1.5
G65 P9832
G65 P9810 Z0.7
G65 P9811 Z0.25 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X-7.5 Y6.25
Z1.5
G65 P9832
G65 P9810 Z0.1875
G65 P9814 D0.3437 H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X7.5 Y6.25
Z1.5
G65 P9832
G65 P9810 Z0.42
G65 P9814 D1. H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X7.5 Y6.25
Z1.5
G65 P9832
G65 P9810 Z0.1875
G65 P9814 D0.3437 H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X0. Y-0.5
Z1.5
G65 P9832
G65 P9810 Z0.1875
G65 P9823 A30. B90. C150. D11.5 H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X-3. Y1.5
Z1.5
G65 P9832
G65 P9810 Z0.4125
G65 P9823 A90. B120. C150. D10. H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X0. Y6.75
Z1.5
G65 P9832
G65 P9810 Z0.7
G65 P9812 Y0.5 Z0.4125 H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X9.125 Y0.
Z1.5
G65 P9832
G65 P9810 Z0.7
G65 P9812 Y14. Z0.375 H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X0. Y0.
Z1.5
G65 P9832
G65 P9810 Z0.7
G65 P9812 X21. Z0.375 H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X-10. Y-6.5
Z1.5
G65 P9832
G65 P9810 Z0.7
G65 P9823 A180. B-150. C-120. D1. Z0.375 H0.01 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
M01
G103 P1

(MEASURE)
(NEXT OPERATION - SAME PROB)
G55 G90
G00 X-7.125 Y-5.
Z1.5
G65 P9832
G65 P9810 Z0.7
G65 P9811 Z0.25 W1.
G65 P9810 Z1.5
G65 P9833
G103
(END OF PROBE CYCLE)
M05
G53 Z0.
G53 Y0.
T15 M06
G103 P1

DPRNT[---]

DPRNT[MACH PART COUNT#3901[11]]

DPRNT[---]

DPRNT[DATE YYMMDD#3011[11]]

DPRNT[---]

DPRNT[TIME HHMMSS#3012[11]]

DPRNT[---]


DPRNT[---]

DPRNT[HAAS TM2]

DPRNT[---]

G103
M30
%
 








 
Back
Top