Hello Guest it is March 08, 2021, 04:14:46 AM

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

0 Members and 1 Guest are viewing this topic.

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #20 on: November 12, 2008, 05:46:58 AM »
OK try this brain.  This one I tested on my machine. Works consistently.  :D

Also that Tool Zero macro that you are using has a delay in it.  Be better if that was taken out.

Two delays built in to the one routine is confusing.

Change this line,  Code "G4 P2" ' two second delay

To this,  Code "G4 P0.1" ' short delay

Greg

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Activating macros with more than one oem triggers
« Reply #21 on: November 12, 2008, 09:58:07 AM »
whatcha,

when your done, with Greg here, post up some pics of your machine.

scott
« Last Edit: November 12, 2008, 10:00:35 AM by poppabear »
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
Re: Activating macros with more than one oem triggers
« Reply #22 on: November 12, 2008, 06:24:53 PM »
OK ,I think Iam nearly there,


 Auto ZERO XY macro works well. (that is from OEMtrigger #5)

Auto Z zero not so well.(OEMtrigger #6)
On  starting mach up the auto zero routine starts,moving the z axis.
and other times no delay required on holding you finger down on the button,
starts straight away

Looking at the brain when Idle, I notice the first box with OEMtrigger #5( xy routine)
is shaded blue with a :0 after #5 ( I guess showing inactive)?

And the OEMtrigger#6 box is shaded green with a :1 after #6 ( I guess active?)
Is this how it should be?

Other than that ,I dont know I have looked at every other thing.

Here`s a few shots,
I wacked  a touch screen on the little EE pc ,which also works well.
Right now half way through a screen design.


Thanks regards
Whatda


Thanks
Regards
Whatda?

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Activating macros with more than one oem triggers
« Reply #23 on: November 12, 2008, 06:50:34 PM »
Nice router looks like a Precix

   Look at the brain, and notice the initial Pulse delay time, the button has to be on for that delay time before the Pulse releases. If you want it to fire right at button push then put 0 in the initial delay.

scott
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #24 on: November 12, 2008, 07:12:37 PM »
I've had a go of one of those Exitech routers.  It had a DSP controller.

Have you ditched the DSP or did it come with PC control from the start?

With the brain we are obviously the blind leading the blind.

I probably should not have stuck my nose in.  Sorry about that.  :D

I have been playing around with it on my machine and it seems to work as expected including the delay.

If you are not fussed about the switch delay then I would ditch the brain altogether.

Every other safety thing the brain is doing can easily be incorporated into the macropump if needed.

Greg
Re: Activating macros with more than one oem triggers
« Reply #25 on: November 12, 2008, 07:19:21 PM »
Thanks Scott,but I dont think thats it.
There is some other thing that must be screwing with it.

Both triggers have the same delay programed in the brain.
The XY trigger works as it should. 

The z zero dosnt,
No Delay,momentary button push and away it goes?
And also on startup of mach the Z zero macro starts
and the Z axis starts moving down.(which is not real flash)

I have checked on the BB that the input is working as it
should, I think I will try another input ,
see how I go.

Regards
Whatda?

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #26 on: November 12, 2008, 07:24:25 PM »
Whatda

With using the EEE I presume you are not running off an LPT

Are you using a SmoothStepper or some other external device?

Greg
Re: Activating macros with more than one oem triggers
« Reply #27 on: November 12, 2008, 07:30:08 PM »
Greg ,your help/suggestions are all good,
gives me something to look at and learn,
mistakes are part of my process.

I dont think its from the brain you made though,
I`ll try changing the inputs,see what happens,
With my earlier remarks about the shaded coloured boxes around the initially trigger inputs
in the brain ,why is one coloured green and the other blue.

I have had nothing but trouble with this breakout board,
So strong chance its that.
I was going to send it back, but with postage cost ,better of sending it to the bin!!

Yes,it is a Chinese Excitech router,and it did come with a DSP which was OK ,but Very VERY limited
to what it could do.

I`ll do more testing


Regards
Whatda?
Re: Activating macros with more than one oem triggers
« Reply #28 on: November 12, 2008, 07:31:41 PM »
No the EEE pc only has USB and yes of the smooth stepper,
inwhich is excellent!!!!

Offline Greolt

*
  •  956 956
    • View Profile
Re: Activating macros with more than one oem triggers
« Reply #29 on: November 12, 2008, 07:40:44 PM »
In my fiddling with it I have discovered something which you might be finding too.

On Mach startup the brain all works fine.  And I can watch it in "View Brain" no problems.

But if I "Reload Brain" and do not restart Mach it will play up.  And show in "View Brain" much the same as you are describing.

In the Artsoft Video it says you do not need to restart Mach but maybe that is incorrect.

Greg