Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:19:57 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Third party software and hardware support forums.
| |-+  PoKeys (Moderator: NeoTO)
| | |-+  Art has posted new plugin
Pages: « 1 2 3   Go Down
Print
Author Topic: Art has posted new plugin  (Read 6582 times)
0 Members and 2 Guests are viewing this topic.
Hood
Active Member

Online Online

Posts: 17,370


Carnoustie, Scotland


View Profile
« Reply #20 on: November 23, 2008, 06:24:58 PM »

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 Smiley

Anyway the new plugin is attached.

Hood

* PoKeys.m3p (200 KB - downloaded 126 times.)
Logged
Hood
Active Member

Online Online

Posts: 17,370


Carnoustie, Scotland


View Profile
« Reply #21 on: November 23, 2008, 06:26:25 PM »

Darek, thanks will try that as well but I was typing while you posted and I have found a workaround Smiley
Will let you know if your way works also, away to test .
Hood
Logged
Hood
Active Member

Online Online

Posts: 17,370


Carnoustie, Scotland


View Profile
« Reply #22 on: November 23, 2008, 06:30:26 PM »

Darek, yes your formula works perfectly Smiley

Thanks

Hood
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
*
Offline Offline

Posts: 1,994



View Profile
« Reply #23 on: November 24, 2008, 05:40:34 PM »

What is and how are these "formulas" used?

Thanks,
Dave
Logged

----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    Wink
Hood
Active Member

Online Online

Posts: 17,370


Carnoustie, Scotland


View Profile
« Reply #24 on: November 24, 2008, 05:47:44 PM »

The formulas are used in Brains, it lets you scale the analogue inputs to suit. I actually have (A/6.Cool+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
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
*
Offline Offline

Posts: 1,994



View Profile
« Reply #25 on: November 24, 2008, 05:51:18 PM »

Ah, I see, I still have yet to play with any brains yet, (insert simple joke here)  Tongue

Thanks for the explanation though, as I'm sure I'll understand it.... someday -

Dave
Logged

----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    Wink
Hood
Active Member

Online Online

Posts: 17,370


Carnoustie, Scotland


View Profile
« Reply #26 on: November 24, 2008, 06:01:02 PM »

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 Cheesy

Hood
Logged
HillBilly
Active Member

Offline Offline

Posts: 181


View Profile
« Reply #27 on: November 24, 2008, 07:01:09 PM »

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
Logged
Hood
Active Member

Online Online

Posts: 17,370


Carnoustie, Scotland


View Profile
« Reply #28 on: November 24, 2008, 07:05:41 PM »

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 Smiley

Hood
Logged
Pages: « 1 2 3   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!