Hello Guest it is March 28, 2024, 06:20:45 AM

Author Topic: OEM codes for buttons, DRO's and LED's  (Read 195888 times)

0 Members and 2 Guests are viewing this topic.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: OEM codes for buttons, DRO's and LED's
« Reply #80 on: December 12, 2018, 02:53:16 AM »
still not sure, but maybe you are looking for something like this


IF GetOEMLed(806) then
  ActivateSignal(OUTPUT6)
Else
  DeactivateSignal(OUTPUT6)
End If
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: OEM codes for buttons, DRO's and LED's
« Reply #81 on: December 12, 2018, 05:56:10 PM »
Thanks very much..i Will try it... thanks
Re: OEM codes for buttons, DRO's and LED's
« Reply #82 on: December 12, 2018, 06:00:26 PM »
This signal...i want to make external unit (change tools) by plc.
Combine plc and board...thanks
Re: OEM codes for buttons, DRO's and LED's
« Reply #83 on: February 28, 2019, 11:53:12 AM »
Hey guys.

Does anyone know why my MACH3 brain does not have some of the DROs?

I looked into the list posted by Hood and another one by Brett and a few other lists that I could find online. All of them includes these:

For example:
75 - Stock Size DRO
836 - Current Tool length DRO

I know there was a couple more that are missing, but I can't remember them.

I use MACH3 R3.043.066

Did later versions of MACH removed some of the DRO's ?

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: OEM codes for buttons, DRO's and LED's
« Reply #84 on: February 28, 2019, 12:50:14 PM »
just type in the number, not all of them are in the pull down list.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: OEM codes for buttons, DRO's and LED's
« Reply #85 on: February 28, 2019, 02:40:46 PM »
Thank you for the reply,

I tried, with no success. "old codes" and "new codes". Tried to set it in the pull-down field and "Use DRO Number" field. Still can't pull out Tool length DRO...

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: OEM codes for buttons, DRO's and LED's
« Reply #86 on: March 01, 2019, 01:42:21 AM »
see attachment
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: OEM codes for buttons, DRO's and LED's
« Reply #87 on: March 01, 2019, 06:50:18 AM »
Yes, that's how I did. I can create a rung 836, but the output is always 0.0000 while tool length is set as 7.250 (or any other value).
I tried as well "OEM 180 Machine Z coord - Z Work Offset - Tool length" with the same result.

In the end, I managed to get Tool Length by using OEM 42 (Tool Z Offset). It works like a charm!
And I got stock size by calculating values from other DROs.

I already used some other DROs that are not in pull/down list, and they work fine i.e 124, 126.
Re: OEM codes for buttons, DRO's and LED's
« Reply #88 on: September 03, 2019, 09:18:08 PM »
I was trying to find the codes for enslaving/freeing the B axis but the list is incomplete; doOemButton(367) will free the B axis but no code to enslave it.
Is there a definitive list of these codes? I've been trying to find a work-around for squaring the gantry of a router until I get a chance to add a second home switch for the B axis.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: OEM codes for buttons, DRO's and LED's
« Reply #89 on: September 07, 2019, 03:35:57 AM »
could also not find a buttoncode for entslaving. maybe

Button 254 DoOemButton Disable movement on axis B 254

can help?
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.