Hello Guest it is October 20, 2021, 03:26:59 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TPS

121
General Mach Discussion / Re: Violentlt fast "to home movement".
« on: April 03, 2021, 11:27:58 AM »
i would suspect metric and imperial Units mixed up.

122
in the work Offset table are no  G52 values, only G54 ...

G52 values are only avaliable in Vars (5211 ...)

so what is the problem to have these offset's stored in UserDro's like you did?
and why are you trying to store G52 offset's in work offset table?
for the moment i can't catch the entire Problem.

123
this will read G52 (X/Y/Z) and write G54

Code: [Select]
X=GetVar(5211)
Y=GetVar(5212)
Z=GetVar(5213)

SetVar(5221,X)
SetVar(5222,Y)
SetVar(5223,Z)


124
for the moment i am sure what you realy try to do.

now you are talking of the tool table?

to store values in the tooltable in lathe mode the following will store X/Z

Code: [Select]

SetToolParam(ToolNo,3,XOffset) 'write X
SetToolParam(ToolNo,4,YOffset) 'write Y
DoOEMButton(316) 'save tooltable


but there is nothing for Y to store.

you can use one of the wear values

125
dont know a OEMButton to open fixture table, but:

Code: [Select]
  DoMenu(1, 9)

should do the same.

here: https://www.machsupport.com/forum/index.php?topic=19482.0
is an other list i use.

126
Looks great so far, let's see what the testing will bring up.

as mentioned earlier, if you put this code in M6 and a:

Code: [Select]
newtool = GetSelectedTool() ' get the newtool

at the begining a Standard postprocessor should be ok.

good luck for testing. :)

127
The best would be to have a Y offset page in the Turn Tool Table instead of only X and Z. I do not know how to do that. That's why I am using the work offset.

did something simular on my Tongil, because it can have SK40 and BT40 tool holder's and i had to know witch type it is for
ATC because Z Position is different. i made this by VB script and stored the Information in an extra text file. additional i stored
Information witch tool number is in witch ATC place so i do not have to remeasure Offsets because i have more Tools then
ATC places. simular to tool Offset handling in lathe mode but for mill.

128
would be great if you share your findins/experiences.

i am thinking to do the same on my Tongil Mill.
i whanted to use a customised M6 macro for the tool offset's, so every "Standard" turn postprocessor would work
to create the code.

129
here:

https://www.machsupport.com/forum/index.php?topic=25409.0

are some variables listed where Offsets are stored.

130
have you looked in 1024 screenset to diagnostic page, normaly all offsets are in there.