Hello Guest it is March 19, 2024, 03:19:53 AM

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

421
is this what you are looking for to invert sign:

Code: [Select]
Xdro = GetOEMDRO (800)  'Get X DRO current working offset
Ydro = GetOEMDRO (801)  'Get Y DRO current working offset
Zdro = GetOEMDRO (802)  'Get Z DRO current working offset
SetUserDRO (1100, Xdro * -1.0)
SetUserDRO (1101, Ydro * -1.0)
SetUserDRO (1102, Zdro * -1.0)

422
General Mach Discussion / Re: Mach 3 rapid clearance question
« on: April 03, 2021, 11:37:04 AM »
maybe THC is enabled?

423
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.

424
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.

425
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)


426
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

427
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.

428
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. :)

429
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.

430
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.