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

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Brain Jog XY
Pages: 1   Go Down
Print
Author Topic: Brain Jog XY  (Read 1955 times)
0 Members and 2 Guests are viewing this topic.
Chip
Global Moderator
*
Offline Offline

Posts: 2,057

Gainesville Florida USA



View Profile
« on: November 18, 2007, 10:45:29 PM »

Hi, All

Just fooling around with Brain's a little. Using output 6 to start and stop Jog X+ Y+ axises, Works Pretty Darn Good.
First it changes to Cont Jog then Jog's XY together, Then another Click turns them Off, Really Nice !!!

Thank you  Art and All responsible for these Features.

Note's:

Cont. & Inc. Jog's are backwards in Brain"s.
Cont. Jog will Jog both axis's.

Inc. Jog's one axis at a time ?.
But on MDI line both will jog inc. at the same time ?.

Would be nice if Brain's would allow for Input User-Button's, A code in Edit Button Script to allow brain's to see/use them.
Maybe some User-Led's , User-Button's, User-Output's in Output"s Also, Just thinking down the road a little.
   
Thanks, Chip


* Jog_xy.JPG (45.74 KB, 883x434 - viewed 515 times.)
* JogXY.zip (0.59 KB - downloaded 124 times.)
« Last Edit: November 19, 2007, 12:15:07 AM by afn09556 » Logged
Chip
Global Moderator
*
Offline Offline

Posts: 2,057

Gainesville Florida USA



View Profile
« Reply #1 on: November 19, 2007, 02:45:54 AM »

Hi, All

Just playing around some-more, 45's 4 corner XY.

Put this in 4 Buttons, Press to start, Press to stop

If IsOutputActive( OUTPUT17 ) Then
   DeActivateSignal( OUTPUT17 )
Else
   ActivateSignal( OUTPUT17 )
End If   

Change the 17-20 to as shone in Pic., I no theres a better way in VB to press buttons and have it stop on release of button, I just don't no the VB code for it.

In Config, Ports & Pins, Outputs, Check mark 17-20 ON, Doesn't appear you need a Port or Pin assignment for it to work.

Haven-Fun, Chip


* 45_Buttons_Jog.JPG (71.42 KB, 961x447 - viewed 488 times.)

* 45_Buttons.JPG (49.97 KB, 731x434 - viewed 480 times.)
* OutXY45S.zip (1.24 KB - downloaded 91 times.)
« Last Edit: November 19, 2007, 01:33:35 PM by afn09556 » Logged
Pages: 1   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!