Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 08:40:49 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Tooltable in turn
Pages: 1   Go Down
Print
Author Topic: Tooltable in turn  (Read 203 times)
0 Members and 1 Guest are viewing this topic.
ftomazz
Active Member

Offline Offline

Posts: 193


View Profile
« on: October 16, 2011, 06:28:02 AM »

Hello to all.
It is possible to access the information of the current tool offset and display it on the screen? and do some math with it, for example with brains?

What I would like to do is for example: When calling T1250 (example), to be able to display on the mach screen the toolradius associated with the nš50 offset (present on the tooltable), and if possible do some calculations with it.

Thank you.
Logged
Hood
Active Member

Offline Offline

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #1 on: October 16, 2011, 09:43:18 AM »

OemDRO(107) is the tool nose rad DRO. It should already be on the screen if you are using the standard Turn screenset, if not easy enough to add with one of the editors.
Hood
Logged
Hood
Active Member

Offline Offline

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #2 on: October 16, 2011, 10:03:31 AM »

Just looked and it seems it is still looking at the tool number rather than the offset number so afraid that wont work. What you would need to do is put a user DRO on the screen and then in your M6start macro have it write the rad to the user DRO when you call offset 50.

SetUserDRO(*********x,GetToolParam(50,2))

Should work, *********x is the number you name your user DRO

Hood
Logged
ftomazz
Active Member

Offline Offline

Posts: 193


View Profile
« Reply #3 on: October 16, 2011, 04:45:36 PM »

thanks,

then the GetToolParam is what I was looking for!

Thank you Mr Hood.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!