Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2008, 11:28:50 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 1382 times)
0 Members and 2 Guests are viewing this topic.
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 767


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

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
jimmybondi
Active Member

Offline Offline

Posts: 27



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
*
Online Online

Posts: 767


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

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
jimmybondi
Active Member

Offline Offline

Posts: 27



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.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!