1995 Haas VF2 -- how-do-i-remove-g94-call-showing-up-on-my-post

1995 Haas VF2 -- how-do-i-remove-g94-call-showing-up-on-my-post

ANDERSONRODANDCHOPPER
Advocate Advocate
2,543 Views
10 Replies
Message 1 of 11

1995 Haas VF2 -- how-do-i-remove-g94-call-showing-up-on-my-post

ANDERSONRODANDCHOPPER
Advocate
Advocate

Hello,  

My old Haas alarms when it gets to the G94 line in my program.    If I manually delete the G94 it runs great.     So I searced the interweb and found this post  on autodesk HSM forum:

https://forums.autodesk.com/t5/hsm-post-processor-forum/how-do-i-remove-g94-call-showing-up-on-my-po...

 

I followed the suggestion to edit my processor and but it still puts g94 in my post.    On line 17 I have to delete G94... leave the rest of the line.    

 

 

Capture.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In my Haas generic pre gnc config on the post processor I have this:

 

Capture1.PNG

 

 

thank you,

Josh

 

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

zwelsh91
Advocate
Advocate

Here is the Post file that I use on an early VF-1 (looks like a Lunar Lander) and it outputs good code. Please Test the code Carefully on the first run and make sure it outputs everything you want.

Zak Welsh
Zakary Welsh Machine LLC
Message 3 of 11

ANDERSONRODANDCHOPPER
Advocate
Advocate

Zak,

Thank you, Im working on it...   I downloaded and saved it into my post processor file with all the rest of the types of files but its not showing up in the drop down...... Working my way through it,    Check back in soon.

 

Josh

0 Likes
Message 4 of 11

zwelsh91
Advocate
Advocate
Accepted solution

I find it best to create my own personal post file folder and map Fusion to it. Something similar to this:

C:\User\POSTS\TESTING

Then I put only the post files I want to use in it. To do so create your file, open the post menu, select the little box to the right of the file path under configuration folder and select your folder then click open. Below the file path click on the the drop down next to the open config button and select the post you desire to use. set the options in the dialog at the bottom right corner of the window and post a file.

Zak Welsh
Zakary Welsh Machine LLC
0 Likes
Message 5 of 11

ANDERSONRODANDCHOPPER
Advocate
Advocate
Accepted solution

@zwelsh91 wrote:

I find it best to create my own personal post file folder and map Fusion to it. Something similar to this:

C:\User\POSTS\TESTING

Then I put only the post files I want to use in it. To do so create your file, open the post menu, select the little box to the right of the file path under configuration folder and select your folder then click open. Below the file path click on the the drop down next to the open config button and select the post you desire to use. set the options in the dialog at the bottom right corner of the window and post a file.


 

 

Zak,

It Worked!!!!   I followed your instructions above and was able to create a new post without G94.    Unfortunately now I cannot get RS-232 communication to the HAAS...... Uggg was working so well this morning.    That is a different thread tho... so I will mark this as the solution and update this thread on how your post version runs on my machine when I get there.    Thank you and stay tuned.

 

Josh

Message 6 of 11

zwelsh91
Advocate
Advocate

I have in the past had an occurrence where we were trying to configure a coms program and ended up with a late 90's HAAS VF-4 that didn't want to communicate via RS232. I think we had been trying to send programs too quickly with the wrong settings too many times and halted the serial port software. In the end we had to power the machine all the way off (shut the switch off on the back of the cabinet for a couple minutes) then restart it, once fired back up everything worked fine. You may want to give it a try.

Zak Welsh
Zakary Welsh Machine LLC
0 Likes
Message 7 of 11

wiekuss
Explorer
Explorer

Good day, I am using a 3 axes router with the generic post in Fusion 360 "Grbl / grbl" I would like get the G94 removed and also some lines in the end of the post. If someone can help please.

 

Wiekus

0 Likes
Message 8 of 11

seth.madore
Community Manager
Community Manager

@wiekuss those edits are quite easy to implement. First off, you want to save the post processor to a local or Cloud storage, otherwise it will be overwritten at your next update.

Edit #1: At line 290, change this line:

writeBlock(gAbsIncModal.format(90), gFeedModeModal.format(94));

To this:

writeBlock(gAbsIncModal.format(90));

Edit #2: at line 905 and 907, place a "//" in front of these to lines, as shown in the code below:

  //writeRetract(Z);

  //writeRetract(X, Y);

 


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 9 of 11

wiekuss
Explorer
Explorer
[image: image.png]
Hi Seth.
Are you sure it is line 290? for the Edit #1
0 Likes
Message 10 of 11

seth.madore
Community Manager
Community Manager

Well, assuming you're using the generic grbl post from the HSM website, and it's the most current version, yes, that should be the proper line.

However, it would be best if you were to download Visual Studio Code and the HSM add-in, this will allow you to visualize the code output in realtime. If you're still stumped, share the .cps file here and we can take a look at it


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 11 of 11

ANDERSONRODANDCHOPPER
Advocate
Advocate
Accepted solution

All,

Regarding my initial post from a couple years ago....  all suggestions above are accurate and good.   @seth.madore   was referring to a different machine in a reply to another user.  

 

But looking specifically at an older Haas Pre-new gen control with or without the a-axis.... Simple answer for me was to:

1:  Export the Haas Pre-NGC post from fusion and save to a file in your computer.  

2. Open it up in notepad and use the "find shortcut" (ctl+F) Windows** and search for 94.  Hit enter a couple times until you get to line 850 - 851.  Should look like this:

 

// absolute coordinates and feed per min
writeBlock(gAbsIncModal.format(90), gfeedModal.format(94), gPlaneModal.format(17));

 

 

delete the g94  portion on line 851 and make it look like this:

 

// absolute coordinates and feed per min
writeBlock(gAbsIncModal.format(90), gPlaneModal.format(17));

 

3. Save the file and make sure it remains a .cps type file.

4. Go back to fusion in your post processor library and import the file to your cloud.

5. Select that post and let er rip.  You may want to configure some of the post properties like rapids and stuff.   My machine will alarm if rapids are over 200ipm in the post.

 

Hope that helps.

 

Josh

 

 

 

0 Likes