Machsupport Forum
Third party software and hardware support forums. => PoKeys => Topic started by: Hood on October 13, 2008, 07:59:36 PM
-
Heres what Art has to say and also have attached the plugin.
Hi Guys:
New dev version PoKeys.m3p is in the files section for testing. It will accept
up to 7 encoders, but is untested in that regard. It uses new firmware that you
have to download from poKeys ( PoKeys55) ..
When turning on encoders, you must set them to port#10 in MAch3, and the
encoders used must be numbered from 1 - x in order in the plugin. In other words
if you turn on only #5 and #6 which are MPG encoders, then you need only
encoders 1 and 2 turned on in the pokeys. You dont need to turn on 6 of them and
then only use #5 and 6.
Again, untested except for basic IO. Analogue's .. up to 4 .. are read as well
if available and put in the same spot the G100IO uses ( registers 124 - 127 )
for use by brains. The analogue inputs are all 16 bit.
No analogue out has been added, Ill add that in future when the current encoder
tests and analogue input testing is complete.
Thanks,
Art
-
Hood, I'll probably have to ask Boris about this but do you know if there's a way to update the Pokeys Firmware without having to be connected to the internet? In other words, a separate downloadable file?
Thanks,
Dave
-
dont have a clue I am afraid.
Hood
-
Just spoke (emailed) with Boris, he said you can just download the software and that's it.
Dave
-
Good to know Dave, thanks.
I have been too busy soldering up circuit boards the last few nights to set the pokeys up with an encoder but hope I can tomorrow evening. Have you tried it yet?
Hood
-
No sir, not as of yet.
I've just been swamped all of a sudden with my "side job" work to even setup the new software, let alone connect an encoder that doesn't even exist :D
Dave
-
LOL, oh well hopefully I will get a chance tomorrow evening or should I say this evening as its after midnight now
Hood
-
New, faster plugin for PoKeys55 is published on htttp://www.poscope.com
Thanks Art.
Z lepimi pozdravi / With best regards
Boris Zalokar
-
Just tried the one that Art posted on the Yahoo group and it doesnt work for analogue or MPG. I will try the one posted on your site and see if that helps.
Hood
-
It was released today.
-
Yes that is correct, Art posted on the Yahoo a few hours ago and it doesnt work for me, have also just downloaded from your site and again not working. I will check and see what the PoKeys software is reporting to see if it is something else wrong.
Hood
-
PoKeys software shows both MPG and Analogue working correctly but no response in Mach. If I revert to the previous plugin both are working again.
Hood
-
Upgraded to latest firmware and it is now again working. MPG response
is much faster although it is just on the desktop and not actually
controlling any motors but would think it to be fine.
Analogue still a bit funny, if I wind the pot down too fast then the FRO
DRO may end up at any number between the 146% and minimum, usually
between 30 and 6. Winding it slowly it works fine. Winding up the way to max at any speed always results in the 146% which is correct.
Hood
-
Analogue FRO does not seem to work now when actually running the code. Do a feedhold and the DRO will update and the analogue start working but start the code again and it again stops working.
Hood
-
Sorry to keep reporting things but the MPG doesnt seem to work in any mode other than velocity, step and multistep dont work.
Hood
-
hood..
Ill check it out. I take it all inputs work except during running of code as well?
Art
-
Just tried an Input and it is very slow to react when code is running but does eventually.
Hood
-
Hood,
What FORMULA are you using in the BRAIN for your analog input for the FRO.
Darek
-
Hood,
What FORMULA are you using in the BRAIN for your analog input for the FRO.
Darek
A/7
Hood
-
Try (A/7)+.1
-
Art has posted a new plugin and all seems to be working well in it. I still had problems with the Pot not setting the DRO to zero but by chance I was trying all different pots and found one that would work if wired backwards, ie turn CW to reduce. I found the reason it was working and it is because when its would fully clockwise it does not go to 0 Ohms but rather 30 or so. I have just soldered a 32Ohm resistor in line with the other pots 0V and it works perfectly as well so looks like the Brain has to catch up a bit and needs to see it just about at minimum but not quite :)
Anyway the new plugin is attached.
Hood
-
Darek, thanks will try that as well but I was typing while you posted and I have found a workaround :)
Will let you know if your way works also, away to test .
Hood
-
Darek, yes your formula works perfectly :)
Thanks
Hood
-
What is and how are these "formulas" used?
Thanks,
Dave
-
The formulas are used in Brains, it lets you scale the analogue inputs to suit. I actually have (A/6.8)+0.1 now as that means I have 0 to 150% for the FRO. Changing the denominator would alter the max % so for example having 5 would be 204%.
Hood
-
Ah, I see, I still have yet to play with any brains yet, (insert simple joke here) :P
Thanks for the explanation though, as I'm sure I'll understand it.... someday -
Dave
-
LOL you and me both. I am probably wrong but this is my understanding , the PoKeys analogue inputs are 10Bit (Binary Digit) so thats 10000000000 or in decimal thats 1024. The Pokeys seems to actually be 1020 so divide that by 6.8 and you get 150.
Make sense?
If yes then can you tell me what it means :D
Hood
-
I ran into this same problem using a Modbus analog input. It appears you can not send the FRO terminator in a brain a value of zero, thats where the +.1 comes in. When you do send it a zero it will remain the value it was before it saw the zero.
Darek
-
Seems to be the case Darek and that will also be why putting a resistor in the 0V line does the same as basically the resistance means you can never send a zero. Your way is better though as it means no extra hardware is required :)
Hood