Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 11:27:09 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  SetDro(0 ,GetDro(0)/2) in BrainControl
Pages: « 1 2   Go Down
Print
Author Topic: SetDro(0 ,GetDro(0)/2) in BrainControl  (Read 4233 times)
0 Members and 2 Guests are viewing this topic.
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #10 on: January 30, 2008, 06:21:27 PM »

that wont work since you need to start at zero, also as your first equation keeps adding up, only the value of 1, will give you a half value after that your dro value is climbing to no change at 2, and it continues to climb in multimple of the original value.......

scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
jimmybondi
Active Member

Offline Offline

Posts: 29



View Profile
« Reply #11 on: January 30, 2008, 06:45:39 PM »

sry - i don't understand what you mean

can you give a sample ?

Frank
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #12 on: January 30, 2008, 06:58:41 PM »

his original post, as I understand it, he wanted a singlular input that each time you push it, (and it starts at zero value).
Then when he pushes the button the first time, the X axis current value is divided by 2 and then reposted into the X position dro.
When he incremnts by pushig the button again the Y axis value is cut in half and then reposted to the Y dro.
next press (value is now 3), does the Z, at value higher it then resets everyting back to zero w3ith standard "true" axzis positions.
Since theser are temporary, I dont understand why scaling wont work for him since it would do exaclty that.

scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
jimmybondi
Active Member

Offline Offline

Posts: 29



View Profile
« Reply #13 on: January 30, 2008, 07:02:35 PM »

ah ok

i have taken his last words of the first post:
I only want to divide a Dro Value when some Input Signal comes in.

and thats what the brain do

Frank
Logged
Pages: « 1 2   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!