Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: Rick40ohio on November 14, 2010, 09:32:05 AM

Title: Pokey55 and MPG issues
Post by: Rick40ohio on November 14, 2010, 09:32:05 AM
Hi all,
 
    I recently purchased and installed the Pokeys55 and the MPG2 from CNC4PC and I'm experiencing the following issue. I see encoder counts in the encoder RAW values  and the e-stop works correctly but the remaining functions do not show any activity in the Digital I/O screen.  I have followed the instructions completely from the Pokeys site.

Latest version of Mach3
Smoothstepper
External 5VDC supply to M2 Motherboard
Latest pokeys plugin and Mach3 brains and pokeys config.

Appreciate any help I can get thank you,
Rick
Title: Re: Pokey55 and MPG issues
Post by: poppabear on November 14, 2010, 12:25:55 PM
you need the latest pokeys software update as well.
further you do not need brains, for the MPG, it is brought directly to for instance MPG1, if you mapped encoder 1 in pokeys to encoder 4 in mach3.
Title: Re: Pokey55 and MPG issues
Post by: Rick40ohio on November 14, 2010, 01:31:02 PM
Thanks for the reply, I have what I think is the latest pokeys version 2.1.17.  Disabling the brain did not help either?

I haven't been able to see the functions work in the pokeys config screens prior to running on Mach3.
Title: Re: Pokey55 and MPG issues
Post by: Rick40ohio on November 15, 2010, 08:20:14 PM
Update,
 
   In trouble shooting the issue I found that pin 14 on the M2 Rev 4 board has 5VDC on it, in the documentation from CNC4PC the guide calls for pins 2,6 and 14 to be a GND and pin 16 to have 5VDC but there is a trace between pins 14 and 16? 

Rick
Title: Re: Pokey55 and MPG issues
Post by: borisz on November 23, 2010, 07:25:17 AM
Please check also the verison of the plugin. You must be sure not "think" that you have the latest version.

regards

Boris
Title: Re: Pokey55 and MPG issues
Post by: zparker2000 on January 05, 2011, 04:28:32 PM
Did you get your problem resolved? I'm having the exact same problem. I have the M2 rev 4 motherboard and the 6 axis pendant.

Zack
Title: Re: Pokey55 and MPG issues
Post by: Rick40ohio on January 05, 2011, 08:41:06 PM
Zach,

    Yes and no, there was an issue with the DB25 connection on the M2 if you ring out the connections of the M2 to the pokeys pins you will find it does not match the schematics.  I spoke with Arturo of CNC4PC and he offered to replace the board if I sent it back.  After spending a considerable amount of time working on resolving the issues I abandoned it and purchased the iMach3 pendant plug and play.  I would suggest following the instructions and schematics from Scott (poppabear).  There appears to be some diferences between the CNC4PC  documents and the one from the Pokeys site.

I hope this helps

Rick
Title: Re: Pokey55 and MPG issues
Post by: arturod on January 05, 2011, 09:02:08 PM
Rick,

Did you fix this?

There are some problems with the documentation.  the instructions for setting up the MPG are for Rev 3.  Some pins changed on rev 4, I will have to update the information.  If you want to troubleshoot it yourself, you just need to look at the pinout on the DB25 connector on the M2.

Arturo Duncan
http://cnc4pc.com
Title: Re: Pokey55 and MPG issues
Post by: arturod on January 05, 2011, 09:13:16 PM
Rick / Zack,

The instructions currently given in the website are for rev 3, which uses the pinout on page 7 : http://cnc4pc.com/Tech_Docs/M2R3_User_Manual.pdf. The current pinout can be found on the manual for rev 4: http://cnc4pc.com/Tech_Docs/M2R3_User_Manual.pdf, page 7.

I will redo the documentation by the end of the week.

Arturo Duncan
http://cnc4pc.com


Title: Re: Pokey55 and MPG issues
Post by: Rick40ohio on January 05, 2011, 09:41:41 PM
Arturo,

   I did get the pendant, keypad and LCD working but the jog movements appeared to be slow to react to the MPG. I'm away from home a great deal of the time and could not spend the time to sort it out further.

I would like to add that you did respond to my requests for help in a very timely manner and it was appreciated.

Thank you,
Rick
Title: Re: Pokey55 and MPG issues
Post by: zparker2000 on January 06, 2011, 10:07:57 AM
Arturo,

I'm using the pinouts form "M2R4_User_Manual.pdf" which has x-axis selector on prokeys pin 46 and corresponds to db25 connector pin 7, grounded through the enable switch and db25 pin 14/prokeys gnd. But when I look at the m2r4 motherboard traces I see a trace between db25 pin 14 and 16, making db25 pin 14 +5v and not gnd. I have been able to see this by changing prokey pin 46 to an analog input and monitor the outputs (using the prokey program) and when I have the selector on axis x and push the enable button I see the voltage jump. The prokey documentation wants switches grounded and I have not found in the documentation how to handle powered switches. Still reading...

Also as a quick note, I've added answers to your question on your tech support system on your sight.

Zack
Title: Re: Pokey55 and MPG issues
Post by: poppabear on January 06, 2011, 12:24:50 PM
Yeap, the traces are buggy..........

scott
Title: Re: Pokey55 and MPG issues
Post by: arturod on January 08, 2011, 01:07:26 PM
Zack,

I finally updated most of the information.  Please check your configuration with the new instructions: http://cnc4pc.com/Tech_Docs/Guide_for_setting_up_a_Pendant_or_Panel.htm.

I appreciate your feedback.

Arturo Duncan
http://cnc4pc.com
Title: Re: Pokey55 and MPG issues
Post by: zparker2000 on January 09, 2011, 01:45:01 PM
Arturo,

The instruction are much more clear, except pk13, I think you meant pk54 (Axis 6 for output trigger 10). Also, is db25 pin14 supposed to be gnd or +5v, on my motherboard db25 pin14 is connected to db25 pin16. You my also note in the instruction to make sure that the ModIOMPG brain is not active.

I'm still unable to get the axis/speed selector switches to work. The MPG and E-Stop work great as long as only the "E-Stop_WO_AutoResetLPT2" Brains is activated. I think the problem is not with Mach3, but somewhere else. I watch the Brains control for "Axis_JogRes_SelectorLPT2" and nothing happens when I select an axis and hit the enable button. I watch the Brains control "E-Stop_WO_AutoResetLPT2" and see that the output trigger #8 turns green when hit the E-Stop button. I also watch the output in the pokey configuration program and see no output when I select and axis and hit the enable button. The only output I see form the pokey cnfig program is from the MPG and the E-Stop.

What should I check from here?

Zack
Title: Re: Pokey55 and MPG issues
Post by: arturod on January 11, 2011, 10:59:01 AM
Zack,

The mystery is solved.   You got a board that you should have not.  The board should say revision 4.2.  Just checked and there are like 10 other people who got a R4.1 which should had never been shipped.

I will get a new board out to you today.

Arturo Duncan
http://cnc4pc.com
Title: Re: Pokey55 and MPG issues
Post by: cncman172 on January 11, 2011, 03:43:21 PM
Jak,

When you get your updated board from Artuero can you post if it all works correctly now?  In particular I am interested in the lag mentioned by others.  The Pokey seems like a nice way to implement a pendant but if it lags and looses communciations I might have to go to TCP modbus implementation.  Thanks

CNCMAN172
 :D
Title: Re: Pokey55 and MPG issues
Post by: danilom on February 20, 2011, 05:36:45 PM
I am experiencing some issues using pokeys with mach 3.043.010, my pokeys has updated to latest firmware 2.1.18, sn 11983
using mach plugin version 10.6.4.

All features work so is the MPG when looking at the pokeys config software it has great response, I got FRO and SRO pots working with mach brain.
MPG also works but when looking at the number of ticks its not updated regulary, even when turning it slow it jumps trough values by increments
of 1 to 10 sometimes. Pokeys read raw encoder data updates values regulary.
Even stranger thing happens with mach and pokeys config read raw encoder data window is open, mach-s MPG value jumps from 0 to the steady value, in radnom short intervals, and comes back to true value indicated by pokeys .

My guess is that the pokeys and mpg are working correctly, and it must be something in the plugin or mach, I have disabled all other plugins and brains but the
problem remains.

Any help would be appreciated.

Here is the screenshot of the reseting mpg value:

(http://cnc.rs/images/mpgproblem.jpg)

(http://cnc.rs/images/mpgproblem2.jpg)
Title: Re: Pokey55 and MPG issues
Post by: arturod on February 21, 2011, 06:28:06 AM
This happens when there is difference between the configuration in plugin and the pokeys itself.  You may want by clearing the pokeys configuration and starting with a fresh plugin configuration, then configure and test one thing at a time.

Arturo Duncan
http://cnc4pc.com
Title: Re: Pokey55 and MPG issues
Post by: poppabear on February 21, 2011, 08:36:00 AM
Danilom,

    Here is the deal on the "Tick counter display", ignore the way it jumps........

Boris and his programmer of the PoKeys, told me to only update the call for the Tick counter at a minimum of 300ms intervals, I was updating the Tick counter display every 100ms, but that caused a lag in the True MPG following speed.....

    There is only so much band width you can put on the PoKeys USB connection. So I have to divide up into different intervals the calls made on the USB bus.

If I "Update" the Tick counter display, to "Normal" then the MPG performace suffers..........  the tick counter is not really that critical anyway, it is more for mach to see how much acceleration changes the MPG is experiencing per time slice.

scott