Category Archives: Siemens

Writing Siemens Work Offset From Your Program

Writing Siemens Work Offset From Your Program

Siemens Work Offset

On a Fanuc control it is quite common to use G10 to write your work offsets (G54 to G59) from your program. It has many advantages the main one being that no-one gets to mess with your precious work offset once its set.

 

If some prick comes along and changes it, you don’t have to give a flying monkey shit. Your Siemens Work Offset is safely locked away in your CNC Program.

Oh and you get to do shit like this

Well if you ever lie awake at night thinking “how is that done on a Siemens control” I’m going to give you the answer. I often had these thoughts so you are not alone.

But then one day, not long back, someone asked me outright “How’s it done” once I got over the initial embarrassment of being asked such a direct question I told em.

Well first let’s say there is no such thing as G10 on a Siemens control.

You use this $P_UIFR[1] to write your Siemens Work Offset. The 1 being G54 and 2 G55 you can take this right up to G599.

Beware you are in the adult section now, messing with system variables.

Let me say “I fuckin love Siemens controls” there you go I’ve said it.

But, and a massive but it is, you get the syntax wrong on this and all hell will break loose. Not only will your CNC Machine explode in your face but when you get home your partner will be shagging the window cleaner in the remains of your burnt down house. So beware before you press that button to write your Siemens Work Offset.

You need loads of commas just put em everywhere and you wont go wrong.

This is how it looks:

$P_UIFR[1]=CTRANS(X,100.,Y,200.,Z,300.)

This will set X100. Y100. and Z300.

Great I Can Read and Write

While we are on the subject, you can also read the work offset figures back into R values. You can then keep these and do what you want with them. Maybe sell them to a friend for profit, the choice is yours.

Siemens Work Offset

The 1 just after the square bracket is for G54 (2 would be G55) then give the axis in our case X Y and then Z

R1=$P_UIFR[1,X,TR]

R2=$P_UIFR[1,Y,TR]

R3=$P_UIFR[1,Z,TR]

The video below shows R1 R2 and R3 set to zero, after reading the program it extracts the offset figures G54 X-100. Y-200. and Z-300. and puts em in R1 R2 and R3 variables.

So there you have it setting you Siemens Work Offset.

Easy isn’t it.

You’re a big boy now playing with system variables but just remember “with great power comes great responsibility”

 

 

 


Save Offsets Siemens 828

Save Offsets Siemens 828, I often see my job as a trainer as the bloke who works out what those odd buttons do. You know, the one you see every day but never dared press it because it might cause your machine to implode and completely destroy itself.

As you know I offer on-site training on all types of controls.

Well I was messing with a customers machine today and found another, button that is.

Save Offsets Siemens 828

Save Offsets Siemens 828

This is the chappie his name is Archive but he does other things other than what it says on his tin so to speak.

If you dare to press him you have the luxury of being able to save all your offset and tools related to your program and you will be blessed with special powers, a bit like Spiderman but without all those sticky bits of thread.

“How cool is that”

What you Do to Save Offsets Siemens 828

First of all you will need to be in Program Manager.

You should then be able to see this screen.

Save Offsets Siemens 828

Now press the button.

You will now have the option to press

Save Offsets Siemens 828

So go ahead press it.

From the dropdown boxes you can chose what you want to save.

Save Offsets Siemens 828

Press OK and everything will be saved in a file which has the same name as your program flowed by TMZ. Not sure what that means but it contains all your shit.

So that’s good (Save Offsets Siemens 828)  isn’t it?

It has the extension INI.

My program was FACEMILL so it added FAEMILL_TMZ.INI

So now it’s easy. When you want to recall this information just open the file (much like you open a program) and there it is.

Save Offsets Siemens 828

 

Just click OK and your data is all reloaded.

Save this file with your program and everything you need is there. Don’t you just love that??

I know I do.

This is Storm, a friend of mine. He’s only a boy but when he grows up he’ll be a tiger.

Sorry but did I mention my 5 star reviews?

I really am far too shy to do this but the wife will kill me if I don’t.

Haas VF3

 

 

 





Careers in CNC

View all current vacancies in CNC

Click here

Call David: 07834 858 407