Hello Guest it is March 29, 2024, 04:56:57 AM

Author Topic: Brain Jog XY  (Read 5210 times)

0 Members and 1 Guest are viewing this topic.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Brain Jog XY
« 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
« Last Edit: November 19, 2007, 12:15:07 AM by afn09556 »

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: Brain Jog XY
« 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
« Last Edit: November 19, 2007, 01:33:35 PM by afn09556 »