Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: tantan on December 08, 2012, 08:55:43 AM

Title: pokeys 56u analog FeedRate Override issues
Post by: tantan on December 08, 2012, 08:55:43 AM
hi,

i use the latest mach and pokeys software.
if i map encoder 1 directly to FRO (DRO:821) it works great, but it would be perfect if i press reset FRO that the encodervalue would be reset too to a value of 100.
if i use analog input on input 41-47 and if i map this to DRO:821, feedrate override does not respond correctly, or not respond at all.

tnx TanTan
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: NeoTO on December 10, 2012, 02:12:35 PM
Hi, TanTan

Regarding the reset - we will take a look whether we can find a proper solution to this.

Regarding the analog mapping - did you have both the encoder and analog inputs mapped to the same DRO?

Regards,
Matevž
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: tantan on December 11, 2012, 02:25:23 AM
Hi,

Tnx for looking to reset the encodervalue with the mach reset fro button.

No i did not use the dro twice, first i tested it with the analog on port 41 and then on port 43, no result. I can see the analog values change in the pokeys plugin but the mapping from the pokeysvalue to the mach dro does not work.

The same results for speed override

Thanks

Tantan
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on February 08, 2013, 12:03:15 AM
This has been my issue of late... mapping a potentiometer on one of the analog inputs of the Pokeys 56U to control FRO and spindle in MACH3.
MPG (on encoder #1 ins) moves the FRO (not very well...12 bit not 10 bit like the 55 so the numbers/ratios are all wrong) but not the analogs.

On the 55 there are comments all over this board regarding mapping to the G100 modbuss 124-127

But on the Pokeys 56U there are more analog out ports... starting at a lower pin number.

So...WHAT is the proper mapping of the analog outs of the 56U to the ports as compared to the G100 124-127 registers comments and brains examples here.??
What is MACH3 looking at to see the analog ports of the Pokeys 56U??   

The analog outs are all visible (and functionally changing) with the plugin config screens.
But the mapping is simply not controlling the FRO or spindle controls in MACH3

Can someone layout in one place, the complete info to do this mapping with the latest Pokeys 56U (and its latest plugin) and the latest version of MACH3
thanks to all of you, for all the help thus far and the fantastic resources supporting this software platform.

Paul Tegler
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: tantan on February 08, 2013, 09:20:35 AM
hi, i think this is the way to use feedrate and speed override (see movie). not with resitors but with encoders.

http://www.youtube.com/watch?v=4QKVMtbvAC8&list=UUlJ5PqKDAvxW8vGTMCioMtw&index=2 (http://www.youtube.com/watch?v=4QKVMtbvAC8&list=UUlJ5PqKDAvxW8vGTMCioMtw&index=2)
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on February 08, 2013, 08:58:35 PM
...have seen that video before.... doesn't tell me anything in response to the Q I posted above.
resistors?  I'm trying to use a potentiometer control spindle speed and Feed rate override.
The MPG works just fine for jogging on the pokey 56u.
The analog changes are being seen by the pokeys Mach3 plugin configuration screen, but not MACH3 itself

I need info on what the mapping should actually be to get the analog signals to be recognized past the plugin by mach itself.

HELP!
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: tantan on February 09, 2013, 02:25:08 AM
that is just what i try to tell you with my video, don't use potentiometers to control feed and speed override: use encoders (mpg). i used low cost encoders (4 $) for feed and speed override. for the rest is follow the manual.
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: poppabear on February 11, 2013, 08:01:19 AM
I think I will step in here, since a user or two has messaged me about this.
Understand that Matt is the lead bull on this, but what your seeing at least on your
"Mach not seeing the spindle speed OVR", is a MACH3 issue that you have to change one of its parameters.

When you want to do and "External" Spindle speed override that comes in across the "Mod Bus" registers.
then you have to put the following code in your "Init" Script so it runs at start up.

SetParam( "RPMOverRide" , 1 ) ' allows external override of dro 39 then you can use a brain to terminate to DRO #39

Feed Speed OVR should be working IF, Matt is still mapping the analog values to the "Old Style" serial Modbus registers listed in the above threads.

NOTE: Matt does NOT have to use those registers, he could map them just as easily to the newer Plugin supported serial, or even TCP modbus registers.
Or for that matter, to a user definable UDRO, that the user picks from one of his config screens.

Brains: The main purpose of Brains was so that users could map, the I/O to/from all of the Modbus types: Serial, Serial plugin, TCP, and test.
PLEASE see "Brians Users Guide" that I wrote in the member doc section for more details on this.

Understand also, that you do not actually connect to the PoKeys via the "Modbus" sub-ap, UNLESS you are using the Pokeys native Modbus calls.
The Analogs can (or used to be when I was doing the plugin), mapped to the old school modbus registers that where the second input row on the old style
modbus config page.  Your not necessarily using "Modbus", even though you can see the results in the modbus test dialog, since it is just reading the registers,
under discussion, since that is where that info is mapped to. 

Scott









Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on February 11, 2013, 04:51:08 PM
thanks much Scott... makes a bit more sense.
I'll let you know how it goes.

ptegler
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on March 09, 2013, 09:37:32 PM
Scott, tantan....
    I swapped to digital encoders by your suggestion Tantan.....
I can get the FRO to change no problem. My small encoders have a pushbutton under the knob...so I wired and programmed the push of the knob to do the reset function.
After almost being happy....no brain.....  I went to run gcode and noticed my steppers would not move at all?
????  what the ..,,,,,?
I just happened to touch my FRO knob and a motor moved very slowly. man oh man.... turning up my encoder...the motors start moving .
Seems the encoder mapping I config'ed in was totally taking over feed rate irrespective of any gcode command.
So that  attempt is dead.

What I'm having issues with is trying to figure out a brain that reads the encoders properly on the pokeys 56. I really need someone to define what MACh3 is expecting to see to read the encoders ???
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: NeoTO on March 12, 2013, 01:13:12 AM
If all goes to plan, there will be a new version of the plugin at the end of this month. We will address this issue in the new version.
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on March 12, 2013, 06:14:32 AM
using analog or digital encoders?
using a digital encoder (small mpg like that on a car volume control these days) makes more sense as pulses would just increase/decrease the feed rate with a reset setting it back to the gcode value.
An analog set up would require switching out the analog control to reset, while the digital would not be holding an set value in the control
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: NeoTO on March 13, 2013, 03:39:28 AM
Encoders are preferred for this operation due to reasons, you mentioned.
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on March 13, 2013, 06:17:45 AM
Fantastic!  Personally..... I'd like to see the FRO and the Slow Jog Speed be contollable. Many like Spindle speed, but I find myself using the slow job speed as well and joy sticks to run my mill 'manually'.  Rather than full gcode, I often end up doing small tasks or finish passes 'by hand' so changing the slow jog speed with one of my mpg knobs allows me to  adjust chip throw.
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on March 26, 2013, 06:32:18 PM
...been holding of modifying my control panal any further...waiitng to see how/if  a 'new' pluging may resolve my control issues.

Any word on the new plugin???

....trying to wait patiently....  :)

tia

ptegler
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: NeoTO on April 15, 2013, 03:36:14 AM
The work on the plugin (bug fixes, minor improvements) will resume shortly.
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on April 15, 2013, 06:20:33 AM
waiting   ???
anticipation   :)
when it works   ;D
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: NeoTO on April 15, 2013, 06:37:36 AM
In the meantime, you can try out our new beta software named PoBlocks. It enables a small PLC inside the PoKeys with many functions (when programmed, PoBlocks then runs without the host computer).
Title: Re: pokeys 56u analog FeedRate Override issues
Post by: ptegler on July 12, 2013, 08:26:27 PM
Any new info on the plugin that addresses encoders, reset and etc using the pokeys ...supposed new plugin work from back in April?
I've tried all forms of mapping an encoder to the 821 DRO in MACH3, but the pokeys takes over, interfering with the MACH2 software.
I even tried un-mapping the pokeys keyboard to no avail.
Another large thread on this issue is at   http://www.machsupport.com/forum/index.php/topic,24809.0.html
some say it works but I do not believe they have full control or have tested all aspects yet.
An encoder (or mpg) directly mapped works, but takes over and interferes with Mach 3 standard actions.
...bummed and waiting here      :-)