Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

post properties of inspect surface

post properties of inspect surface

Anonymous
Not applicable
2,687 Views
21 Replies
Message 1 of 22

post properties of inspect surface

Anonymous
Not applicable

using the Fanuc inspection post process control, some of the figures are blank e.g. X eccentricity, Y eccentricity and calibrated radius. how do i find out these figures? my machine is a Doosan DNM 4500.

thankyou.

 

peterKBLWU_1-1621943005320.png

 

0 Likes
2,688 Views
21 Replies
Replies (21)
Message 2 of 22

Richard.stubley
Autodesk
Autodesk

Hi @Anonymous,

These are left blank as we do not know them and it could be dangerous for us to guess. 

Can you take a photo of macro variables 500-520 and 550-570

I'll hopefully be able to work it out from there.



Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes
Message 3 of 22

Anonymous
Not applicable

I don't know much about macro variables but I think these pictures are what you are after? all of them are 0 so unsure if they are correct. thank you for helping and if these are wrong please let me know and I'll try again.

p.jpgp.jpgp1.jpgp1.jpgp2.jpgp2.jpgp3.jpgp3.jpg

0 Likes
Message 4 of 22

Richard.stubley
Autodesk
Autodesk

Hmm those pictures are what I was after but the values in them are not. 

500 and 550 are where they normally are.

If you could page through the macro variables and see when you hit some values and take photos there. 

It should only go upto 999 just take photos whenever you see values that are not 0.




Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes
Message 5 of 22

Anonymous
Not applicable

these are all of the macro variables with values that aren't 0

p1.jpgp1.jpgp2.jpgp2.jpgp3.jpgp3.jpgp4.jpgp4.jpg

thank you

0 Likes
Message 6 of 22

Richard.stubley
Autodesk
Autodesk

Hi @Anonymous 

Right those are prefect:

Calibrated Radi: 600
Eccentricity X: 602
Eccentricity Y: 603

You need to also check if your machine had Geometry only or geometry and wear. Just look in your tool table and see if you have both geometry and wear. This is the post property tool offset type. 


Also you could do with knowing where your output path is, this is parameter 21.
Depending on what parameter 21 is you can tell where the results file is going to be output to. 0 serial connection, 5 data server, 4 memory card, 9 FTP, 15 Ethernet, 17 USB.






Richard Stubley
Product Manager - Fusion Mechanical Design
Message 7 of 22

Anonymous
Not applicable

thank you.

this is what comes up when using post process is this usual?

peterKBLWU_0-1622019170508.pngpeterKBLWU_0-1622019170508.png

the only tool in the tool table with wear is the probe of -0.1

parameter 21; out channel F/G is at 0

 

0 Likes
Message 8 of 22

Richard.stubley
Autodesk
Autodesk

Yes that NC code is correct. 

For a bit of information DPRNT is the function used to get the output out of the machine. There is also a post property called "inspection commissioning mode" this will pause the cycle at set points for you to check everything is working properly. For example it will stop when the probe should have activated. Depending on your control it may show the error message on the screen you are running or you might need to go to the messages screen to see the message. Just don't be worried if the program keeps pausing and needing you to press cycle start again to get it going.  

Do you have a serial connection to the machine with a terminal listening for receiving the data?

If not it might be worth changing to another option or else you wont be able to get the results file and import it back into Fusion for the results. 

To change parameter 21 you need to turn on parameter write enable. This is found by pressing the offset key untill you see Parameter write enable = 0
You need to turn this to a 1 
You will now get an error on the machine
Change parameter 21
Go and turn parameter write enable back to a 0
Hit reset and the error should be cleared. 



Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes
Message 9 of 22

Anonymous
Not applicable

we currently just use a memory card, we save the program on to the memory card and the CNC reads the program straight off the memory card. is there no way that the machine could put the output data into the memory card? to then transfer back into fusion? or do we need to set up direct link.

0 Likes
Message 10 of 22

Richard.stubley
Autodesk
Autodesk

That's fine you just need to set parameter 21 to 4 to use the memory card. 

You may need to copy the inspection program off the memory card and onto the CNC memory. 
I don't think your control will allow you to read and write to the memory card at the same time. 




Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes
Message 11 of 22

Anonymous
Not applicable

I've done everything you've said to do and we've got further down the program then before. but now im getting this error message. I'm unsure what it means?p5.jpgp5.jpg

thankyou.

 

0 Likes
Message 12 of 22

Richard.stubley
Autodesk
Autodesk

Ahh you have a Doosan, the Doosan machines have a safety check in them to stop the machine doing a G1 move when the spindle is not turning. As you imagine this is bad news with milling, however we need it for probing. 

M184 is the command to turn this off.

We have this in the post already, if you edit your post processor, goto line 3422 and take the 2 forward slashes out of that line. Save this modified post processor and give it another go. You should now see M184 just before it turns the probe on. 

doosan.jpgdoosan.jpg



Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes
Message 13 of 22

Anonymous
Not applicable

unfortunately mine doesn't look like yours

peterKBLWU_0-1622029286138.pngpeterKBLWU_0-1622029286138.png

 

0 Likes
Message 14 of 22

Anonymous
Not applicable

I've managed to find that part in the post process to change it. But now unfortunately I have this error now?

peterKBLWU_0-1622032522269.pngpeterKBLWU_0-1622032522269.png

 

0 Likes
Message 15 of 22

Richard.stubley
Autodesk
Autodesk

This is the internal calculation saying that the position we asked it to go to is different than the distance it is at.

However tool length can be causing the issue here. 
Did you check what tool offset type you have and then change the post property accordingly?
tool offset type.jpgtool offset type.jpg

If this still gives you an error run it until it errors, do not press reset and take a photo of macro variables 1-20. Then you can press reset. 

If you could then give me the photo and also the NC code you ran. 



Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes
Message 16 of 22

Anonymous
Not applicable

when I change it to geometry and wear, the post process doesn't even want to make a program this is the message:

peterKBLWU_0-1622035662151.pngpeterKBLWU_0-1622035662151.png

 

so I've changed it back to just geometry, the error still comes up. this is a pic of the macro variables 1-20

and a copy of the whole .nc code. 

peterKBLWU_1-1622035752739.pngpeterKBLWU_1-1622035752739.png

 

 

 

%
O1001
N10 #3006=1(INSPECTION COMMISSIONING MODE IS ACTIVE, WHEN THE MACHINE IS MEASURING CORRECTLY PLEASE DISABLE THIS IN THE POST PROPERTIES)
(T30 D=6. CR=3. - ZMIN=5. - PROBE)
N15 G90 G94 G17 G49 G40 G80
N20 G21
N25 G28 G91 Z0.
N30 G90

(INSPECT3)
N35 T30 M06
N40 G54
N45 G00 X-7.5 Y-13.126
N50 G43 Z15. H30
N55 PCLOS
N60 POPEN
DPRNT[START]
DPRNT[RESULTSFILE*Setup1-4-RESULTS]
DPRNT[DOCUMENTID*716672bc-5442-4e36-bb26-64e7734445c0]
DPRNT[MODELVERSION*bca0565e-4c91-4769-a24b-e07591aca8ac]
DPRNT[TOOLPATHID*44]
DPRNT[TOOLPATH*Inspect3]
DPRNT[G331*N1*A0.*B0.*C90.*X-41.046*Y6.548*Z-0.5]
DPRNT[G330*N1*A0.*B0.*C0.*X0*Y0*Z0*I0*R0]
(GEOMETRY ONLY)
N65 #8=#[2000 + #4111]
N70 #1=[[#600 + #601]/2]
DPRNT[CALIBRATED*RADIUS*#1[53]]
DPRNT[ECCENTRICITY*X****#602[53]]
DPRNT[ECCENTRICITY*Y****#603[53]]
N75 IF [#1 NE #0] GOTO85
N80 #3000 = 1(PROBE NOT CALIBRATED OR PROPERTY CALIBRATED RADIUS INCORRECT)
N85 IF [#1 NE 0] GOTO95
N90 #3000 = 1(PROBE NOT CALIBRATED OR PROPERTY CALIBRATED RADIUS INCORRECT)
N95 IF [#1 LT 3.] GOTO105
N100 #3000 = 1(PROBE NOT CALIBRATED OR PROPERTY CALIBRATED RADIUS INCORRECT)
N105 IF [ABS[#602] LT 0.2] GOTO115
N110 #3000 = 1(PROBE NOT CALIBRATED OR PROPERTY ECCENTRICITY X INCORRECT)
N115 IF [ABS[#603] LT 0.2] GOTO125
N120 #3000 = 1(PROBE NOT CALIBRATED OR PROPERTY ECCENTRICITY Y INCORRECT)
N125 IF [#602 NE #0] GOTO135
N130 #3000 = 1(PROBE NOT CALIBRATED OR PROPERTY ECCENTRICITY X INCORRECT)
N135 IF [#603 NE #0] GOTO145
N140 #3000 = 1(PROBE NOT CALIBRATED OR PROPERTY ECCENTRICITY Y INCORRECT)
N145 #9=PRM[6014,4]
N150 IF [#9 EQ 0] GOTO160
N155 #8 = 0
N160
N165 M19
N170 M184
N175 M74
N180 G04 P2000
N185 #3006=1(ENSURE PROBE IS ACTIVE)
N190 G01 Z5. F3000.
(CALCULATE TARGET ENDPOINT)
N195 #2=-7.5-#602
N200 #3=-13.126-#603
N205 #4=-13.464+[3.-#1]
(APPROACH MOVE)
N210 G31 X#2 Y#3 Z#4 F1000.
N215 #9=#2-#5061
N220 #10=#3-#5062
N225 #11=#4-#5063+#8
N230 #12=[#9*#9]+[#10*#10]+[#11*#11]
N235 IF [#12 LT 0.01] GOTO245
N240 #3000 = 1 (PATH OBSTRUCTED)
N245
DPRNT[G800*N1*X0.*Y-13.126*Z-10.464*I-1.*J0.*K0.*O0.*U0.1*L-0.1]
(CALCULATE TARGET ENDPOINT)
N250 #2=7.-#602
N255 #3=-13.126-#603
N260 #4=-13.464+[3.-#1]
(MEASURE MOVE)
N265 #3006=1(PROBE IS ABOUT TO CONTACT PART. AXES SHOULD STOP ON CONTACT)
N270 G31 X#2 Y#3 Z#4 F30.
N275 #9=#2-#5061
N280 #10=#3-#5062
N285 #11=#4-#5063+#8
N290 #12=[#9*#9]+[#10*#10]+[#11*#11]
N295 IF [#12 GT 0.01] GOTO305
N300 #3000 = 1 (NO POINT TAKEN)
N305
(CORRECT MEASUREMENTS)
N310 #5=#5061+#602
N315 #6=#5062+#603
N320 #7=#5063-#8+#1
DPRNT[G801*N1*X#5[53]*Y#6[53]*Z#7[53]*R#1[53]]
(CALCULATE TARGET ENDPOINT)
N325 #2=-7.5-#602
N330 #3=-13.126-#603
N335 #4=-13.464+[3.-#1]
(RETRACT MOVE)
N340 G01 X#2 Y#3 Z#4 F3000.
N345 G80
N350 X-7.5 Y-13.126 Z5.
N355 X6.119 Y-29.
(CALCULATE TARGET ENDPOINT)
N360 #2=6.119-#602
N365 #3=-29.-#603
N370 #4=-14.158+[3.-#1]
(APPROACH MOVE)
N375 G31 X#2 Y#3 Z#4 F1000.
N380 #9=#2-#5061
N385 #10=#3-#5062
N390 #11=#4-#5063+#8
N395 #12=[#9*#9]+[#10*#10]+[#11*#11]
N400 IF [#12 LT 0.01] GOTO410
N405 #3000 = 1 (PATH OBSTRUCTED)
N410
DPRNT[G800*N2*X6.119*Y-21.5*Z-11.158*I0.*J-1.*K0.*O0.*U0.1*L-0.1]
(CALCULATE TARGET ENDPOINT)
N415 #2=6.119-#602
N420 #3=-14.5-#603
N425 #4=-14.158+[3.-#1]
(MEASURE MOVE)
N430 G31 X#2 Y#3 Z#4 F30.
N435 #9=#2-#5061
N440 #10=#3-#5062
N445 #11=#4-#5063+#8
N450 #12=[#9*#9]+[#10*#10]+[#11*#11]
N455 IF [#12 GT 0.01] GOTO465
N460 #3000 = 1 (NO POINT TAKEN)
N465
(CORRECT MEASUREMENTS)
N470 #5=#5061+#602
N475 #6=#5062+#603
N480 #7=#5063-#8+#1
DPRNT[G801*N2*X#5[53]*Y#6[53]*Z#7[53]*R#1[53]]
(CALCULATE TARGET ENDPOINT)
N485 #2=6.119-#602
N490 #3=-29.-#603
N495 #4=-14.158+[3.-#1]
(RETRACT MOVE)
N500 G01 X#2 Y#3 Z#4 F3000.
N505 X6.119 Y-29. Z5.
N510 X34.197
(CALCULATE TARGET ENDPOINT)
N515 #2=34.197-#602
N520 #3=-29.-#603
N525 #4=-14.91+[3.-#1]
(APPROACH MOVE)
N530 G31 X#2 Y#3 Z#4 F1000.
N535 #9=#2-#5061
N540 #10=#3-#5062
N545 #11=#4-#5063+#8
N550 #12=[#9*#9]+[#10*#10]+[#11*#11]
N555 IF [#12 LT 0.01] GOTO565
N560 #3000 = 1 (PATH OBSTRUCTED)
N565
DPRNT[G800*N3*X34.197*Y-21.5*Z-11.91*I0.*J-1.*K0.*O0.*U0.1*L-0.1]
(CALCULATE TARGET ENDPOINT)
N570 #2=34.197-#602
N575 #3=-14.5-#603
N580 #4=-14.91+[3.-#1]
(MEASURE MOVE)
N585 G31 X#2 Y#3 Z#4 F30.
N590 #9=#2-#5061
N595 #10=#3-#5062
N600 #11=#4-#5063+#8
N605 #12=[#9*#9]+[#10*#10]+[#11*#11]
N610 IF [#12 GT 0.01] GOTO620
N615 #3000 = 1 (NO POINT TAKEN)
N620
(CORRECT MEASUREMENTS)
N625 #5=#5061+#602
N630 #6=#5062+#603
N635 #7=#5063-#8+#1
DPRNT[G801*N3*X#5[53]*Y#6[53]*Z#7[53]*R#1[53]]
(CALCULATE TARGET ENDPOINT)
N640 #2=34.197-#602
N645 #3=-29.-#603
N650 #4=-14.91+[3.-#1]
(RETRACT MOVE)
N655 G01 X#2 Y#3 Z#4 F3000.
N660 X34.197 Y-29. Z5.
N665 X47.55 Y-10.489
(CALCULATE TARGET ENDPOINT)
N670 #2=47.55-#602
N675 #3=-10.489-#603
N680 #4=-12.373+[3.-#1]
(APPROACH MOVE)
N685 G31 X#2 Y#3 Z#4 F1000.
N690 #9=#2-#5061
N695 #10=#3-#5062
N700 #11=#4-#5063+#8
N705 #12=[#9*#9]+[#10*#10]+[#11*#11]
N710 IF [#12 LT 0.01] GOTO720
N715 #3000 = 1 (PATH OBSTRUCTED)
N720
DPRNT[G800*N4*X40.05*Y-10.489*Z-9.373*I1.*J0.*K0.*O0.*U0.1*L-0.1]
(CALCULATE TARGET ENDPOINT)
N725 #2=33.05-#602
N730 #3=-10.489-#603
N735 #4=-12.373+[3.-#1]
(MEASURE MOVE)
N740 G31 X#2 Y#3 Z#4 F30.
N745 #9=#2-#5061
N750 #10=#3-#5062
N755 #11=#4-#5063+#8
N760 #12=[#9*#9]+[#10*#10]+[#11*#11]
N765 IF [#12 GT 0.01] GOTO775
N770 #3000 = 1 (NO POINT TAKEN)
N775
(CORRECT MEASUREMENTS)
N780 #5=#5061+#602
N785 #6=#5062+#603
N790 #7=#5063-#8+#1
DPRNT[G801*N4*X#5[53]*Y#6[53]*Z#7[53]*R#1[53]]
(CALCULATE TARGET ENDPOINT)
N795 #2=47.55-#602
N800 #3=-10.489-#603
N805 #4=-12.373+[3.-#1]
(RETRACT MOVE)
N810 G01 X#2 Y#3 Z#4 F3000.
N815 X47.55 Y-10.489 Z5.
N820 X20.973 Y7.5
(CALCULATE TARGET ENDPOINT)
N825 #2=20.973-#602
N830 #3=7.5-#603
N835 #4=-9.632+[3.-#1]
(APPROACH MOVE)
N840 G31 X#2 Y#3 Z#4 F1000.
N845 #9=#2-#5061
N850 #10=#3-#5062
N855 #11=#4-#5063+#8
N860 #12=[#9*#9]+[#10*#10]+[#11*#11]
N865 IF [#12 LT 0.01] GOTO875
N870 #3000 = 1 (PATH OBSTRUCTED)
N875
DPRNT[G800*N5*X20.973*Y0.*Z-6.632*I0.*J1.*K0.*O0.*U0.1*L-0.1]
(CALCULATE TARGET ENDPOINT)
N880 #2=20.973-#602
N885 #3=-7.-#603
N890 #4=-9.632+[3.-#1]
(MEASURE MOVE)
N895 G31 X#2 Y#3 Z#4 F30.
N900 #9=#2-#5061
N905 #10=#3-#5062
N910 #11=#4-#5063+#8
N915 #12=[#9*#9]+[#10*#10]+[#11*#11]
N920 IF [#12 GT 0.01] GOTO930
N925 #3000 = 1 (NO POINT TAKEN)
N930
(CORRECT MEASUREMENTS)
N935 #5=#5061+#602
N940 #6=#5062+#603
N945 #7=#5063-#8+#1
DPRNT[G801*N5*X#5[53]*Y#6[53]*Z#7[53]*R#1[53]]
(CALCULATE TARGET ENDPOINT)
N950 #2=20.973-#602
N955 #3=7.5-#603
N960 #4=-9.632+[3.-#1]
(RETRACT MOVE)
N965 G01 X#2 Y#3 Z#4 F3000.
N970 X20.973 Y7.5 Z5.
N975 X19.398 Y-7.614
(CALCULATE TARGET ENDPOINT)
N980 #2=19.398-#602
N985 #3=-7.614-#603
N990 #4=4.5+[3.-#1]
(APPROACH MOVE)
N995 G31 X#2 Y#3 Z#4 F1000.
N1000 #9=#2-#5061
N1005 #10=#3-#5062
N1010 #11=#4-#5063+#8
N1015 #12=[#9*#9]+[#10*#10]+[#11*#11]
N1020 IF [#12 LT 0.01] GOTO1030
N1025 #3000 = 1 (PATH OBSTRUCTED)
N1030
DPRNT[G800*N6*X19.398*Y-7.614*Z0.*I0.*J0.*K1.*O0.*U0.1*L-0.1]
(CALCULATE TARGET ENDPOINT)
N1035 #2=19.398-#602
N1040 #3=-7.614-#603
N1045 #4=-10.+[3.-#1]
(MEASURE MOVE)
N1050 G31 X#2 Y#3 Z#4 F30.
N1055 #9=#2-#5061
N1060 #10=#3-#5062
N1065 #11=#4-#5063+#8
N1070 #12=[#9*#9]+[#10*#10]+[#11*#11]
N1075 IF [#12 GT 0.01] GOTO1085
N1080 #3000 = 1 (NO POINT TAKEN)
N1085
(CORRECT MEASUREMENTS)
N1090 #5=#5061+#602
N1095 #6=#5062+#603
N1100 #7=#5063-#8+#1
DPRNT[G801*N6*X#5[53]*Y#6[53]*Z#7[53]*R#1[53]]
(CALCULATE TARGET ENDPOINT)
N1105 #2=19.398-#602
N1110 #3=-7.614-#603
N1115 #4=4.5+[3.-#1]
(RETRACT MOVE)
N1120 G01 X#2 Y#3 Z#4 F3000.
N1125 X19.398 Y-7.614 Z5.
N1130 Z15.
N1135 M73
N1140 G04 P2000
N1145 #3006=1(ENSURE PROBE HAS DEACTIVATED)
DPRNT[END]
N1150 PCLOS
N1155 #9=PRM[6019,3]
N1160 IF [#9 NE 0] GOTO1170
N1165 #3006 = 1 (MRESULTS FILENAME IS PRNTXXXX.DAT)
N1170 IF [#9 NE 1] GOTO1180
N1175 #3006 = 1 (MRESULTS FILENAME IS MCR_PRNT.TXT)
N1180 #1 = [PRM[20] + 1190]
N1185 GOTO #1
N1190
#3006=1(A RESULTS FILE HAS BEEN OUTPUT TO - SERIAL)
GOTO 1210
N1194
#3006=1(A RESULTS FILE HAS BEEN OUTPUT TO - MEMORY CARD)
GOTO 1210
N1195
#3006=1(A RESULTS FILE HAS BEEN OUTPUT TO - DATA SERVER)
GOTO 1210
N1199
#3006=1(A RESULTS FILE HAS BEEN OUTPUT TO - FTP)
GOTO 1210
N1205
#3006=1(A RESULTS FILE HAS BEEN OUTPUT TO - ETHERNET)
GOTO 1210
N1207
#3006=1(A RESULTS FILE HAS BEEN OUTPUT TO - USB)
N1210
N1215 M00

N1220 G28 G91 Z0.
N1225 G90
N1230 G49
N1235 G28 G91 X0. Y0.
N1240 G90
N1245 M30
%

0 Likes
Message 17 of 22

Richard.stubley
Autodesk
Autodesk

Ok, I think you need to be using geometry and wear. The standard library post works fine for me If I use Geometry and wear.

Can you try using the latest post from the library. And can you attach the post you are using here so I can take a look and see where its falling over. 

If you cant get the latest post to work just change this in the NC code for now to try and get us past this line.

Near the top you have
(GEOMETRY ONLY)
N65 #8=#[2000 + #4111]


Change it to this

(GEOMETRY AND WEAR)
#8=#[2200 + #4111] + #[2000 + #4111]

Again re run the program, if it errors take another photo of macro variables 1-20


Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes
Message 18 of 22

Anonymous
Not applicable

That has worked thankyou Richard, I have sent you a private message. with some other issues.

 

0 Likes
Message 19 of 22

DominikRek
Contributor
Contributor

Hi, I trying do the same but probing stopping at N60 POPEN, and machine display V-DEVICE DRIVER ERROR (OPEN), do you know how to get it working?

0 Likes
Message 20 of 22

Richard.stubley
Autodesk
Autodesk
Hi What machine do you have?

What are the values in parameter 20 and 21? These set the location of the output port.


Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes