Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: matos67 on April 27, 2011, 09:51:21 AM

Title: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 27, 2011, 09:51:21 AM
Hi,

I'm using pockey to connect a control panel on a retrofitted mill to mach3.
I use pots for feedrate override, spindle speed,push buttons for manual spindle cw ccw, and so on.
Everything works fine BUT very slowly. It takes 2 or 3 seconds to read a digital input also for analog. Another problem is mach will read the inputs only if the pokey software is running.
I run a pc that is only dedicaded to mach3, with smoothstepper , shuttlepro and pokeys as plugins.
Neddless to say i use latest versions of plugins and softwares.
Would be very nice if somebody could help.
Thank you

Mat.
Title: Re: Mach only see's inputs when pockey software is running.
Post by: thosj on April 27, 2011, 10:45:34 AM
What Mach version? If dev rev 035, try lockdown 022. On your pots for feedrate override, does it go to zero when it gets to 100%? Mine does with 035, fine with any older version.
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 27, 2011, 05:52:05 PM
Hi thosj,
I tried several versions of mach and had always the same issues. The more reliable at the moment is 035, it gives me good results with the analog inputs. With 022 i had problems with FRO, it was erratic in following the analog signal.Concerning your problem i'm quite sure you are using a brain to round the FRO to 100% when it gets between 98% and 102%. This brain can be found in this forum and is called FRO100.brn. It works with Mach 022 but no 035. Seems the way mach reads brains have been modified in some way.So i wrote a new brain that  works with mach 035. In this new version the fro reset is done AFTER the analog switch has gone to 0. Go in mach3/brains and replace FRO100.brn or equivalent with newFRO100.brn. Then launch mach 035 go in "operator">"brain control" then click "reload all brains" , select newFRO100 and tic enable. Brain is attached to the mail. Hope it helps you.

Mat
Title: Re: Mach only see's inputs when pockey software is running.
Post by: thosj on April 27, 2011, 06:51:56 PM
Thanks Mat,

The brain fixed the 100% thing. I had to rewrite it as my pot is on ModIO 126, and I prefer 150% max instead of 200%, but no problem, it works now and doesn't go to zero. Now the problem is the pot doesn't seem to control rapid, just feed. Even with Lock Rapid DRO to Feed DRO checked in General Config. I wonder if there's a way to have the brain control rapid at the same time as feed? Even though it's supposed to lock to feed if the box is checked, but doesn't!!
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 28, 2011, 06:10:23 AM
Hi thosj,
Try the attached brain it should work for you.

Mat
Title: Re: Mach only see's inputs when pockey software is running.
Post by: thosj on April 28, 2011, 07:45:40 AM
Thanks again, Mat.

I'll have to edit it for the first Mod 126 in to be around 680 greater than or less than, but I need to know what the last line is in the brain. What's the 223 terminator, a string? What does it do? I'll need to re-do it so I need to know what it is.

I also see you put the Reset FRO back before the Feed Ovrd. Wasn't that the original intent of this new brain to work with Mach 035, to have the Reset at the end?

Wish I knew more about these brains!!

Tom
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 28, 2011, 08:35:56 AM
Sorry Tom i made changes in the wrong file. And did no try it on my machine cause i use two separate pots.
The terminator 223 stands for OEM DRO code 223- rapid override. You can find these codes under this link:

http://www.machsupport.com/MachCustomizeWiki/index.php?title=OEM_DROs

By the way i rewrote the brain. Tell me if works.

Mat
Title: Re: Mach only see's inputs when pockey software is running.
Post by: thosj on April 28, 2011, 11:04:08 AM
Wow, thanks for doing that, Mat! I'm not home to try it right now, but will in a few hours.

Just out of curiosity, and to learn(!), what did you pick to terminate the Mod:126-IN/Formula a/6.827 block? Did  you pick Send String and just type 223? It doesn't seem picking DRO works as yours just has 223 in the termination box, not DRO 223 or USERDRO 223 or anything.

Thanks again,

Tom
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 28, 2011, 01:36:12 PM
Hi tom
When you choose a terminator, click on DRO's then type 223 in the box called "select mach3 DRO value to use". code 223 is NOT in the present choice list. There are several other OEM DRO codes you can find in the wiki but not in the choice list of the brain editor.
Mat
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 28, 2011, 06:36:36 PM
Seems my problem comes from a conflict between smoothstepper and pokeys.When i run mach3 without the smoothstepper plugin activated pokey works perfect. When smoothstepper pligun is activ pokeys only works with the pokeys software running in the background. And then it does in slow motion. Someone to give me a tip?
Thank you
Mat
Title: Re: Mach only see's inputs when pockey software is running.
Post by: thosj on April 28, 2011, 10:49:23 PM
I have Pokeys and Smoothstepper and it seems to run fine. I think I run Pokeys 10.4. I tried 10.6.4 once and it didn't work, so I quit upgrading Pokeys plugin and just use 10.4. I'm not sure what you mean by "pokeys software running in the background." It's a plugin, and once activated, it should just run. You don't mean the Pokeys software for programming the pokeys, do you? I don't see how that would relate to Mach3 running Pokeys. I guess I don't have much to offer for help. What SS plugin are you using? I'm currently using 17bd, but I've used others all along and Pokeys and SS worked fine together.

One time there was something about load order of plugins, so maybe remove all the plugin dlls from the plugins folder, put them back one at a time, start Mach, activate it, stop Mach, add another. Do you have any other plugins running that might be conflicting. Maybe by reinstalling them one at a time and trying things you can figure out a conflict.

On the FRO brain, I have to do the code 223 line by using Send String and entering 223. If I use DRO and hand enter 223, it shows as OEMDRO 223, not just 223 as yours shows. I tried it with OEMDRO 223 and it didn't work. I have it working fine now.

Thanks again.

Tom
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 30, 2011, 03:10:05 AM
Hi Tom,
I mean the Pokeys software for programming the pokey! I would like tro try the plugin 10.4 but can't find it to download.Do you have a copy of this file?
Thanks Mat.
Title: Re: Mach only see's inputs when pockey software is running.
Post by: thosj on April 30, 2011, 07:07:30 AM
I do. Also, have you read Scott's thing about upgrading PoKeys? Here?  http://www.machsupport.com/forum/index.php/topic,16920.0.html  That may have been my problem when I tried a newer version. My upgrade didn't work, so I copied a copy of the entire Mach3 directory back and have since forgotten about upgrading PoKeys, it just works and I don't need to change anything.

I'll attach the file, not sure if that's OK, but if some mod deletes it, or it's too big (3.4MB), send me your email and I'll email it to you.
 
I can't seem to attach it. Too big? Says 6MB and the file is 3.4MB, but it won't post if I attach the file. I'll need an email address to send it to.

Tom
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on April 30, 2011, 01:57:23 PM
Hi Tom,
Here is my email adress: fastmp@sfr.fr
Thanks a lot.

Mathieu
Title: Re: Mach only see's inputs when pockey software is running.
Post by: Crack123 on May 24, 2011, 12:22:21 PM
Hello!


I have the same problem like the Thread starter, Pokeys55 Signale comes only into Mach 3 when the Programming Software is running, and then its rly slow, only when the pokey windows is open with the digital  inputs it gets 100% faster but always not perfect,  how do u fix that problem now ?

i cant find Pokeys 10.4 version to download for an test :(
Title: Re: Mach only see's inputs when pockey software is running.
Post by: matos67 on May 24, 2011, 01:23:16 PM
Hi Crack123 ,
To solve my problems i installed Mach3 R3.043.022 + pokeys 10.4 plugin.Since it is working perfect!
Pokeys plugin attached to this message. Tell us if it works for you.
Mathieu
Title: Re: Mach only see's inputs when pockey software is running.
Post by: Crack123 on May 24, 2011, 02:31:16 PM
yipiii it works :D   Thank you very very very much!


i used Mach Version 3.042.020 with ur Version of the Plugin, first try it works!   amazing :D was sitting here and was screaming like wtf GO now :D