Hello Guest it is April 24, 2024, 10:14:31 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 - AlexRu

Pages: 1
1
PoKeys / Re: Pokeys57CNC with AMB 1050 FME-1 DI
« on: September 20, 2022, 04:26:37 PM »
You were faster then I :-)

here is the schematic for pokeys and the AMB.
https://im.ge/i/1DhY1C

You need 2 dedicated power supplies. One for pokeys (6-28V) and one for AMB (24V). You have to be sure, that GND/0V is NOT interconnected between the two power supplies.

For mach3 set things, like in this post: https://www.machsupport.com/forum/index.php?topic=33174.msg230383#msg230383

Map PWM to DRO 817 in %, set Multiplier to 0.00417
https://im.ge/i/1DhV7r

For mach4 I have no info. Still use mach3.

Greetings

Alex

2
PoKeys / Re: Pokeys57CNC with AMB 1050 FME-1 DI
« on: September 24, 2019, 06:12:40 AM »
Solution  was, to add a dedicated power supply for the AMB with no connection to the machine electric. Then it works with the isolated 0-10V output.

Now all is working fine.

3
PoKeys / Re: Pokeys57CNC with AMB 1050 FME-1 DI
« on: August 11, 2019, 03:03:59 PM »
I tried to set PIN 20 to PWM and give OemDRO 817 (Spindle Speed) as PWM out, but I only get 3,3 V and no PWM signal from mach3. When I use the Pokeys application, then I can set PWM and I can see the PWM signal with my oscilloscope.

Is there a problem within the mach3 plugin, so that PWM out is not working?

I build a small circuit with a LM358 to generate the 10V, but when PWM is not working, this is not possible.

4
PoKeys / Pokeys57CNC with AMB 1050 FME-1 DI
« on: August 03, 2019, 11:20:55 AM »
Hello,

has somebody running Pokeys57CNC with an AMB (Kress) 1050 FME-1 DI (digital interface) with the 0-10V Output?

The AMB needs +24V, 0V and 0-10V. There is no dedicated GNDi for the 0-10V. 24V and 0-10V uses the same GND. Pokeys57CNC only offers isolated GNDi for the 0-10V. How can I connect the AMB to Pokeys57CNC?

I tried to connect GNDi to machine GND, but then I always get arround 5,6V, even when analog out is not activated.

Do I have to connect it to another PWM out with a small circuit to generate the 0-10V with the same GND?

Thanks

Alex

5
Hi,
this is set since beginning. I don't have a problem with the rotary and the function of MPG. I have the problem with macros. No single macro will run, when I have used the rotary to move an axis. Beeing it X,Y or Z, 1 step or multiple steps. I have to go back to keyboard movement to be able to run macros again. Seems like when the rotary is used, it blocks macro execution in mach3.

As I have used my parallel-port cable for the Pendant, I cannot recheck the MPG function with a standard parallel-port bob, if it is the MPG function in mach3 itself (or maybe the screenset, but standard functions of mach3 are used), or if it is the PoKeys-plugin.

Greets

Alex

6
Hi,

i have posted the problem in the Pokeys forum, so if somebody has the same problem or an idea, please post there. http://www.machsupport.com/forum/index.php/topic,36629.msg251117.html#msg251117

Greets

Alex

7
PoKeys / Pokeys57CNC, Pendant, rotary encoder and macro problems in mach3
« on: February 18, 2018, 04:13:17 AM »
Hello,

I have built a custom pendant with wiring like in the documentation and connected to the pendant connector. I also have added a matrix-keyboard. With the matrix-keyboard I call OEMButtons and on some I call OEMTrig over OEMButton 301.

Everything is working fine, until I use the rotary encoder to move an axis. As soon as the rotary encoder is used, macro execution in mach3 stops working. I can't execute macros. Beeing mapped to buttons in the screenset or over the matrix-keyboard. No macro runs. Only direct calls to OEMButtons work. In screenset and at matrix-keyboard.

When switching to keyboard Jog Mode, macros will run again.

PoKeys57CNC V1.1, Firmware and Software 4.3.8, mach3 plugin from 31.12.17.

Is this behaviour maybe a problem of the firmware, the plugin or a problem of mach3?

Greets

Alex

8
Hello again,

after watching a youtube video, in which a user of pokyes has shown lag when using IOs to switch OEMTrig in the mapping, I switched over to calling OEMButton 301 and setting OEMLeds in the mappings, only to be sure to have no lag when pressing a button. Working so far.

But again I have got the problem, that sometimes no macro call is working in mach3. Beeing it over my matrix-keyboard or over the screenset itself. I figured out, that every time I use the MPG to move my axis, all macro calls are blocked. When disabling the MPG over the screenset, I can call macros again. Over the matrix-keyboard and the screenset.

Do somebody else have this problem or is it only me? Ist this a mach3 problem or could it be, that it's related to the used Pokeys57CNC?

Greets

Alex

9
Hello together,

after testing some more macro-code, I found the solution that works fine for me. Without the need of macropump which causes trouble on my setup under win7 and win10.

In PoKeys config for the matrix-keyboard, set the IOs to OEMTrigger#1 to OEMTrigger#15 (depends on how many keys you need)

In the HotKeys config, set all used OEMTriggers to OEMButton 301, in general config add as example m301 to the initilisation string.

m301-macro:
<code>
SetTriggerMacro 302   'macro called by OEMTriggers when set to OEMButton 301
</code>

Then in the macro which is used for OEMTriggers write the following:

m302-macro:
<code>
If IsActive(OEMTrig1) Then
  MsgBox("Button 1 pressed")
  Code("M1111")    'call Macro M1111
End If

If IsActive(OEMTrig2) Then
  MsgBox("Button 2 pressed")
  If xyz Then
      abc
  End If
End If

If IsActive(OEMTrig3) Then
  MsgBox("Button 3 pressed")
EndIf

and so on...
</code>

With this you are limited to 15 keys or less (if you use OEMTriggers for inputs). But I only need 9 of them and the rest is open for future usage.


I hope this helps somebody, when functions of a screenset or macros are needed on keypress or input activity.

Greets

AlexRu

P.S. Please post a little thanks if this is helpfull and you maybe can use this in future.

10
VB and the development of wizards / PoKeys57CNC, Matrix Keyboard and Macro
« on: February 13, 2018, 05:40:23 AM »
Hello all together,

I have built a MPG which includes a 4x5 matrix-keyboard. All connected to Pokeys57CNC. All buttons, which are calling OEMButtons working fine.

Now I want to call some functions of the used Schmidt-Screen with the keyboard. When I put the things in macropump, the keys are detected and the functions work. But sometimes when using macropump, some or most buttons of the screen will not work. Also the keys mapped to OEMButtons are not responding (as example: Set X to 0). Looks like mach3 hangs when using macropump tried on Win10 64bit and Win7 32bit).

Now I tried to use OEMTrig#1 to call a macro which contains the function calls. In PoKeys Input-Settings I defined as example OEMLed 1501 and OEMTrig#1 when a key is pressed. Everything is fine and when I test it in a macro, the key press is detected.

code:
If GetOEMLED(1501) =1 Then
 MsgBox("Button 1")
End If


But when I want more keys with different LEDs, only the last MsgBox appears. MsgBox Button 1 and Button 2 is not comming up.

OEMTrig-Macro:

If GetOEMLED(1501) =1 Then
 MsgBox("Button 1")
ElseIf GetOEMLED(1511) =1 Then
 MsgBox("Button 2")
ElseIf GetOEMLED(1512) =1 Then
 MsgBox("Button 3")
End If

alternative also not working:

If GetOEMLED(1501) =1 Then
 MsgBox("Button 1")
End If
If GetOEMLED(1511) =1 Then
 MsgBox("Button 2")
End If
If GetOEMLED(1512) =1 Then
 MsgBox("Button 3")
End If

What do I have to put in the macro, that it will work? Or is this not possible?

For reference the working macropump-code (PoKeys57CNC set to the virtual IOs "Mach3 IO #21-Mach3 IO#24):

If GetIODevInput(0,21) = 1 Then
 MsgBox("Button 1")
End If
If GetIODevInput(0,22) = 1 Then
 MsgBox("Button 2")
End If
If GetIODevInput(0,23) = 1 Then
 MsgBox("Button 3")
End If
If GetIODevInput(0,24) = 1 Then
 MsgBox("Button 4")
End If

Greetings

AlexRu

Pages: 1