Surface Inspection DEPRINT Error on Haas NGC

Surface Inspection DEPRINT Error on Haas NGC

42droid42
Participant Participant
2,896 Views
10 Replies
Message 1 of 11

Surface Inspection DEPRINT Error on Haas NGC

42droid42
Participant
Participant

I'm getting an error on the machine when trying to run a surface inspection. Any suggestions are helpful.

 

I've downloaded the surface inspection post processor the HAAS.
Created the probing cycle in Fusion and posted.
Loaded the file in the NGC after setting up setting 262 and 261 in the controller. I get an error when the controller

I've followed the instructions on the FUSION video: fusion 360 inspect surface

Errors at N80:

N80 DPRNT[RESULTSFILE*op_one_gen2_probing__RESULTS]

The controller says ERROR 536 "command found on DEPRINT line"
I tried putting DEPRINT[START] first just to see what would happen and got the same error.

Attached is the full code up until the error:

%
O01013 (Gen2 op1 probing and finishing )
(Using G0 which travels along dogleg path.)
(T31 D=6. CR=3. - probe)
N10 G90 G94 G17
N15 G21
N20 G53 G0 Z0.

(Inspect1)
N25 T31 M6
N30 G59
N35 M11
N40 G0 A90.
N45 M10
N50 G187 P3
N55 G0 X-57.5 Y8.912
N60 G43 Z117.189 H31
N65 G103 P1 (LOOKAHEAD OFF)
N70 PCLOS
N75 POPEN
N80 DPRNT[RESULTSFILE*op_one_gen2_probing__RESULTS]
N85 DPRNT[START]

 

My post processor settings are the same except:
Rotary A axes is on
DWO no
TCPC programming no
Use G0 yes
Use G187 yes
Block number only on tool change yes
Inspection Commissioning Mode no

Other information:
2020 FV4SS with rotary
OMP40


 

0 Likes
Accepted solutions (2)
2,897 Views
10 Replies
Replies (10)
Message 2 of 11

42droid42
Participant
Participant

Also using the surface inspection post:
Revision: 42810 39afb1e4d8f7371c0efa5f1c4f7eb0747c34dc16

Date: 2020-06-04 09:41:29

0 Likes
Message 3 of 11

Richard.stubley
Autodesk
Autodesk

Hi @42droid42,

 

Thanks for giving inspect surface a go and watching my video. I think what is causing this is the underscores. I've had a few reports of this recently so think its one or 2 software versions don't like them. 

could you hand remove the underscores from the NC code try this, If it works then I will send you over a post that does this automatically. 

 



Richard Stubley
Product Manager - Fusion Mechanical Design
Message 4 of 11

42droid42
Participant
Participant

@Richard.stubley  Like this?
DPRNT[RESULTSFILE*op_one_gen2_probing__RESULTS]
To this

DPRNT[RESULTSFILE*op one gen2 probing  RESULTS]?

 

I'll give it a shot.

 

0 Likes
Message 5 of 11

Richard.stubley
Autodesk
Autodesk
Accepted solution

Hi @42droid42 ,

You can either take the underscores out all together replace them with an * which then converts to a space when the results file is created.

 

DPRNT[RESULTSFILE*oponegen2probing RESULTS]

Or

DPRNT[RESULTSFILE*op*one*gen2*probing*RESULTS]

 

 

 



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

42droid42
Participant
Participant

@Richard.stubley Ah, ok.
Awesome, got past the errors. The program runs and deprints a file, but it has 0kb and errors when imported into fusion.
I checked for the Start, G800 and G801 as the error message suggested. They seem to be there, but it looks like the file is empty.

0 Likes
Message 7 of 11

Richard.stubley
Autodesk
Autodesk
Accepted solution

@42droid42 I've sometimes had issues copying the file onto USB before. I would delete the file from the controller, re run and see the file that gets created. Check it on the machine. Copy it, then check again on the pc.



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

42droid42
Participant
Participant

@Richard.stubley 
Works now. It prints properly when the program is loaded on the controller and the output is on the thumb drive.

Thanks for the help.

0 Likes
Message 9 of 11

Richard.stubley
Autodesk
Autodesk

@42droid42 perfect, I will get you the post that does the underscores automatically. 



Richard Stubley
Product Manager - Fusion Mechanical Design
Message 10 of 11

42droid42
Participant
Participant

@Richard.stubley Ran into another thing during testing of a few parts

 

I've searched around a little bit and haven't found anything about renaming each .out file.

I can probably write my own code to have it do this, but is there any settings so it doesn't dump reports into one file?
The current thing I'm trying to do is serialize a part and connect an inspection report to it. For example part SN1002 is connected with 1002.OUT, part SN1003 is connected to 1003.OUT. 

0 Likes
Message 11 of 11

Richard.stubley
Autodesk
Autodesk

Hi @42droid42,

 

Unfortunately I don't know of any way to do this, I know how to on Heidenhain and Siemens. But on Fanuc based controllers I've never seen a way of how to do it. Also on the HAAS I believe you can not separate the files out. 

Of course this doesn't mean there is not a potential solution. You could store the counting serial number in a macro variable and then DPRNT this in the header, unfortunately Fusion wont be able to rename the measure this but at least you will have a record of what S/N is associated to that part.

Let me know if you want some help with getting this to work on the post and on the machine.


Oh and I haven't forgot the post with the underscores I'm just trying to get it to work properly so if there are underscores put in Fusion then it replaces them with a *.



Richard Stubley
Product Manager - Fusion Mechanical Design
0 Likes