Hello Guest it is January 29, 2020, 04:28:26 AM

Author Topic: Recent Mach3 Releases and OEMButton(1000)  (Read 2806 times)

0 Members and 1 Guest are viewing this topic.

Recent Mach3 Releases and OEMButton(1000)
« on: November 30, 2011, 12:06:49 PM »
I have a pendant, operated by a macropump driver.  One of the functions is CycleStart, which is actuated by OEMButton(1000).  Starting with v49 (I don't think this was a "public" release), and continuing through v53, each time I hit an M00 or toolchange, I have to send the OEMButton(1000) twice before execution proceeds.  Has anyone else seen this?

Regards,
Ray L.
Regards,
Ray L.

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: Recent Mach3 Releases and OEMButton(1000)
« Reply #1 on: November 30, 2011, 06:35:35 PM »
DO you have a while Ismoving()  statement after the  OemButton(1000) call?

Try    Button(0) instead ???

(;-) TP

Re: Recent Mach3 Releases and OEMButton(1000)
« Reply #2 on: November 30, 2011, 06:53:30 PM »
DO you have a while Ismoving()  statement after the  OemButton(1000) call?

Try    Button(0) instead ???

(;-) TP

Terry,

The while loop is unnecessary - this is a fire-and-forget function, activated by a manual button on the pendant, and it's worked perfecly for years, until these last few releases.  The same OEMButton is used for the on-screen CycleStart button (which, inexplicably, still works fine....).

Regards,
Ray L.

Regards,
Ray L.

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: Recent Mach3 Releases and OEMButton(1000)
« Reply #3 on: November 30, 2011, 09:58:50 PM »
RAY one of the BIG problems lately is the CB loosing control of the threads the later versions ARE the worse so far ESPECIALLY with button code and for some reason BUTTON code is the worst offender.

Macropump code is not imune to the problem either.

 BEFORE you say it is not needed TRY IT(;-) It has solved MANY eveils here. It forces MACH to pay attention when it really needs to. Otherwise it is known to ignore and skip things .

I have seen what you are seeing many times.

Just a thought, (;-) TP

« Last Edit: November 30, 2011, 10:13:40 PM by BR549 »
Re: Recent Mach3 Releases and OEMButton(1000)
« Reply #4 on: November 30, 2011, 10:43:30 PM »
Terry,

This issue was introduced about two months ago, in a test build Brian did to address one of my (many!) problems.  It only seems to affect OEMButton calls issued from within the macropump.  The change Brian made had to do with trying to block many/most button calls when a program is running, so my guess is he's not properly tracking the state, and blocking too much.  The macropump exits immediately after issuing the OEMButton call, so adding a while loop will do nothing to return control back to Mach any more than it already is.  Besides, it is a real bug, and NEEDS to be fixed, not just worked around.

Regards,
Ray L.
Regards,
Ray L.

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: Recent Mach3 Releases and OEMButton(1000)
« Reply #5 on: November 30, 2011, 10:51:11 PM »
Ray the double tap issue is NOT new (;-)

In plasma work I still see the ignore the M3 problem as well.

(;-) TP