Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dav133 on September 25, 2022, 02:55:21 PM

Title: Strange input behaviour & not detected in macro but detected in diagnostics
Post by: dav133 on September 25, 2022, 02:55:21 PM
I have homing probes X & A sending a signal to in2 & in3 on my breakout board.
Individually they work fine, slaved they work with "move with master" disabled in general config & RefCombination or when one is triggered

( both move, the triggered one stops and second one continues)
but when the second one is also triggered (so both triggered now) they are both inactive
(so the second one doesn't stop). I can see this in diagnostics, when both are triggered they both are switched off in mach3 diagnostics and so don't home.

I tried writing a macro for ref all because I found that they would be many work arounds (I am a programmer & I have read the programmers guide, OEM reference etc). I can get most stuff working in macros however I can't get any input to show as active in the macro. If I use IsActive(INPUT2) or  IsActive(INPUT3) etc none are active, even for a single active input. I've tried different input numbers & thought I saw something somewhere about a prefix but I'm not sure.

Any help would be appreciated
Title: Re: Strange input behaviour & not detected in macro but detected in diagnostics
Post by: joeaverage on September 26, 2022, 03:38:38 PM
Hi,
probing is a realtime operation, and Mach3 has ONE probing input only.
Mach4 has four probing inputs.

Craig