Change home position for axis.

Change home position for axis.

tomasz.phoenix
Explorer Explorer
859 Views
5 Replies
Message 1 of 6

Change home position for axis.

tomasz.phoenix
Explorer
Explorer

Hello.

I have a question.

We are using Robodrill CNC machine and robodrill post processor. Our workflow needs 4th axis to be positioned at 270deg. mark when not in use. Everytime the program is posted, it needs manual changes of every B0. to B270.

Setting home position of B axis for 270 does not change anything in post. Is there any other way to make B270 a default position of B axis in post processing?

Thank You.

0 Likes
Accepted solutions (3)
860 Views
5 Replies
Replies (5)
Message 2 of 6

wstoneandsons
Enthusiast
Enthusiast
Accepted solution

Hardcode it on in the OnClose section with a checkbox. No need to overthink it.

0 Likes
Message 3 of 6

tomasz.phoenix
Explorer
Explorer

"Hardcode it on in the OnClose section with a checkbox. "

 

Thank You for answering, but I have no idea what do You mean? Is that "OnClose" section in postprocessor code? Or somewhere in configuration.

Thanks!

0 Likes
Message 4 of 6

hyperbolicindustries
Advocate
Advocate
Accepted solution

Yes, its your post processor *.cps file. I believe you would want something like this, Be careful and test at your own risk.

On Close.jpg

0 Likes
Message 5 of 6

engineguy
Mentor
Mentor
Accepted solution

@tomasz.phoenix 

 

I think that you should be able to set that position in the CNC Control by manually moving the machine to the Home positions in X/Y/Z/A/B that you want the machine to Home to when X0/Y0/Z0/A0/B0 is posted, for example.

 

Jog the B axis to B270 on your CNC screen readout and then do a "Set Zero" for that Axis, jog the Axis away a short distance and if you then go to your MDI (Manual Data Input) screen and type in G1G90B0F20 your machine should move at the F speed set to the actual physical position that you set to B0 (Home).

Or, depending on what command is used in your control for Homing eg G28 or G53 etc you could type that in as G0G28 (or G53) and the machine should move at Rapid speed to your Home 5 axis Home position.

All the above with the exact instructions you should find in your CNC Control Manual, a little light reading 🙂

 

So, this should make your machine move to that actual physical position every time the CNC Control recieves a B0 command so if you have set your Machine Simulation in Fusion to the same positions then you will be able to see in Fusion the B0 moves but if your CNC COntrol is set up correctly then there should be no problem, test carefully and the usual Caveat applies, "at your own risk" 🙂 🙂

 

Tip, always start with your CNC Control User Manual 🙂 🙂 🙂

0 Likes
Message 6 of 6

tomasz.phoenix
Explorer
Explorer

Thank You all for answers. 

My problem is that I can not change machine zero to 270 deg. And I want to avoid changing movements manually in .nc file. Thankfully I was able to add proper code to my postprocessor.
Thank You all!

0 Likes