Hello Guest it is October 06, 2022, 07:55:42 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 - slow-poke

Pages: 1 2 3 4
I hope someone can help with this....

I have a sensor next to my spindle and the signal is connected to a Polkeys57E. The pin is configured as the Index input. I can see the signal pulsing in Pokeys when the spindle is running. However the spindle speed always shows 0 in mach3. So somehow the link for that particular signal is being ignored. I have many other signals that are being passed back and forth between Mach3 and PoBlocks and they are all working just fine.

I have tried issuing the M03 command, no difference, and in Mach3 config, the index signal is set 0, 0, 0 and emulated, and reverts back emulated even if I uncheck it, so it appears Pokeys is forcing it to emulated likely because it's smart enough to know that this value is linked to the 57E

Any ideas?

What is the correct DRO # for the displayed spindle speed?

Thanks in advance

Machscreen Screen Designer / Re: Custom button, Hotkey not working
« on: April 20, 2018, 05:50:57 AM »
FWIW, I changed the hotkey to Alt-B and it now works.

General Mach Discussion / No Feed Ovrd when using MDI
« on: April 18, 2018, 05:54:37 PM »
I'm just flushing out the last of the bugs in my custom control panel and found this one........

I have a quadrature encoder connected to a Pokeys 57E, this is configured as MPG0. I have a brain that redirects the output to Feed Ovrd (821)

This seems to work just fine when Mach is not moving anything, however if I enter say G01 X5 F2 into the MDI  so the table is moving and I then try to tweak the feedrate using the encoder, no change. Further if I open the brain the MP0 Velocity DRO displays 0 while I'm moving the encoder as if MPG0 is either locked out or being ignored while the G01 command is executing. As soon as the table stops the barin starts showing activity again and I can adjust as desired.

Using the GUI I can adjust the feed rate up and down with the +/- arrows above FRO, but attempting to enter a new FRO value from the keyboard is ignored.  

Is there possibly a configuration selection that enables/disables changing the FRO while in motion?

General Mach Discussion / Re: Keygrabber ---> Brain
« on: April 18, 2018, 09:09:10 AM »
I have solved this problem, thanks for the suggestions

This is what I did:

I'm using a Pokeys57 board as part of this system and it allows me to share data between it and Mach3. I already had some programmable logic in the Pokeys device that enabled the jog display whenever a hard button on the external control panel selected Con-SS or MPG.

So I used the keyGrabber to effectively block the Tab key from getting to Mach and instead send Alt-B, I added a custom button in Mach that gets pressed when ever it receives Alt-B. I then shared the data from that button with pokeys and OR'd the input to the existing logic that controls the Con-SS-MPG counter. So now the display stays in sync with the external button. Works like a charm, with the added benefit that pressing Tab repeatedly sequences through Con-SS-MPG mode and the 4th press disables jogging and closes the Jog display.

Machscreen Screen Designer / Custom button, Hotkey not working
« on: April 17, 2018, 02:07:42 PM »
Newbie to screen modifications......

Please see image below

I added a button JTO Ctrl-B and a LED.

If I click on the button using the mouse, the LED besides it turns green, so far so good. However if I Type Ctrl-B, the button does not get selected. What am I doing wrong?

General Mach Discussion / Re: Keygrabber ---> Brain
« on: April 16, 2018, 01:51:25 PM »
I think the number needs to be between 1000 and 2254.


If Getpage() = 50 then
SetUserLED(1500, 1)
SetUserLED(1500, 0)
End If

Well I managed to display the active page with Getpage(), and it correctly reports the various pages, 1, 2, 3 etc. if I change pages, however after selecting page 50 with tab, GetPage() still reports the page number of whatever main screen to the left of the jog tab was active prior to typing "Tab", so I don't think GetPage() is going to work.

It seems near impossible to detect if the Jog(Tab) screen is actually active (other than actually seeing it).  There must be a method???

General Mach Discussion / Re: Keygrabber ---> Brain
« on: April 16, 2018, 11:25:00 AM »
Put a User LED on the Jog Flyout page.
Use the macroloop to check the page number, and toggle the LED on if the page is current.
Use GetPage()

(If Getpage() = 50 then .....)

Have the Brain monitor the LED.

First time adding a LED, I used machScreen.exe and managed to add a LED to page 50, for the LED function, I could not find a user defined, so I selected the most benign sounding function OEM 851 Enable 6 LED, not sure if that's okay?

I also created  MacroPump.m1s

This is my first macropump, so I'm not sure on the correct syntax, is this even close to being correct?

If Getpage() = 50 Then
   SetOEMLED(851), true
  SetOEMLED(851), false

General Mach Discussion / Re: Keygrabber ---> Brain
« on: April 16, 2018, 09:04:26 AM »
What if you set up an input to "emulate', which uses a keystroke you can assign?
I think the emulate option is only available with the parallel port driver, though.

Hmmm.... that seems promising.

I tried as follows, I selected Input 4 on port 1, checked Emulated and then selected the HotKey cell, a SetHotKey pop-up occurs that states Press any key, so I press Tab (my desired key) and the HotKey cell changes to "9".

I was expecting Tab not 9, but I carry on and create a brain with the first cell being Input #4, save, enable and view the brain.
Press tab, and the jog display opens as expected, but the brain does not see the emulated input (I also tried "9" same thing nothing).

Did I do something wrong, or do I need to look for another approach?

Okay I tried changing the HotKey to something other than "Tab" (I used the letter "F") and this does trigger the brain. The problem is that I'm trying to notify some Pokeys logic when the Jog (Tab) is open so I think I have no other option than to use "Tab"

Other ideas?  that was a good one, just does not want to work with "Tab"

General Mach Discussion / Keygrabber ---> Brain
« on: April 16, 2018, 07:52:38 AM »
Is it possible to use KeyGrabber to trigger the first column of a brain?

I have no experience with KeyGrabber other than starting the application and  poking around a bit. In the translate column, I can select another key or choose a special key, not sure if the special key can trigger a brain?

Brains Development / Jog (Tab) display status
« on: April 15, 2018, 02:07:00 PM »
I have a brain that displays the jog tab, when ever I push a jog related button on my pendant. Unfortunately the display sometimes gets out of sync with the brain. How can I inform the brain of the present status of the jog (tab) display?

Pages: 1 2 3 4