Hello Guest it is March 08, 2021, 04:15:32 AM

Author Topic: Activating macros with more than one oem triggers  (Read 14471 times)

0 Members and 1 Guest are viewing this topic.

Re: Activating macros with more than one oem triggers
« Reply #30 on: November 12, 2008, 07:50:20 PM »
I have it slightly different,
as when you first start mach ,and even when you load the brain
it fires of the Z zero macro (without a button push)

Thats why I thick these coloured boxes have the answer
That is ,this trigger is somehow active.

I have tried a different input  I will  now try another trigger,
which by the way how do you edit a brain?

Regards
Whatda?

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #31 on: November 12, 2008, 07:56:17 PM »
Open it up in "Brain Editor"

Five minuets playing around with that and you will know more than I do about it.  ;D

Greg
Re: Activating macros with more than one oem triggers
« Reply #32 on: November 12, 2008, 08:02:26 PM »
Yes I found the editor
and tried a different trigger,
still the same,
I will try the same input pin and trigger thats on the xy
see if I can fault find that way.
 thanks
Regards
Whatda

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #33 on: November 12, 2008, 08:06:43 PM »
Make sure with you trying different things that you don't get something wrong in "Ports and Pins"

Don't want two inputs on one pin or something like that.

Greg
Re: Activating macros with more than one oem triggers
« Reply #34 on: November 12, 2008, 08:18:31 PM »
I reversed the triggers around ,just in  the brain same results only with the other macro.

Is there any chance you could write a brain without the timer function and I`ll will check it out.


Thanks
Regards
Whatda?
Re: Activating macros with more than one oem triggers
« Reply #35 on: November 12, 2008, 08:30:49 PM »
I made up a simple brain IE trigger ------- Userled .

and its working find and not firing of the macro when
I start mach.
Not sure how I go about implementing the and or functions
with axis movement and the spindle on.

Will look into it and come up with some trial and ERROR stuff.,

Thanks
Regards
Whatda?

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #36 on: November 12, 2008, 08:32:13 PM »
OK here it is.  You could write it in a couple of minutes.  It would be a good exercise to do.  :)

I repeat though there is no point having a brain at all if not wanting the timer.

It will all be simpler to do in the macropump with the exception of the switch delay.

Greg
Re: Activating macros with more than one oem triggers
« Reply #37 on: November 12, 2008, 08:46:50 PM »
Thanks For that Greg,
What I am trying to do is isolate the problem.
This will probably do for now though.

Thanks for all your help.

Is there any manuals on Brain,somewhere,
I can study up on,
I just had abit of ago then,but couldnt find
where you found/inputed ( and . and input.)
The rest  seems all straight forward ,,,sort of.

Thanks
Regards
Whatda?

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #38 on: November 12, 2008, 08:56:45 PM »
There are a couple of videos.  Have a look at them.

Mostly you are going to learn more by poking around with it.

Greg
Re: Activating macros with more than one oem triggers
« Reply #39 on: November 12, 2008, 09:01:02 PM »
I think I found the problem,But Iam not sure how to fix it?
With that last brain you sent ,the z zero routine activates after
any  axis has been moved.
And every time you move a axis.

So somewhere in the and ,and input its getting into trouble.

Will keep trying.

Must go and have some Lunch.

Regards
Whatda?