orbscan wrote:mmm...
timing is enabled...
I use timing with the QRD1114 for to count the revolutions of the spindle... (see attachments)
QRD1114 worked with 2.0.7 version but (I have seen now) don't work with 2.0.12 version...
What do I do? Downgrade?
Ah, OK, now I think we have found the problem. Time for me to do some explaining....
To the best of my knowledge, in the 3.43.xx series of Mach the timing input in Mach is no longer used. Instead the Index signal is supposed to be used for "timing inputs".
Contrary to what I was told, the fact that you have an input device hooked to the deprecated timing input and mach is actually using it for index pulse counting should not really surprise me... after all this is Mach (where years of changes have been piled up on top of each other and there is no regression test set for Mach

).
I was told by Artsoft that the timing signal was no longer used, in fact it is they who told me about the call into mach to assign pins to input signals dynamically. To support two signal interfacing, what MSM does is make an internal MSM call: AssignTimingPinToProbeSignal (which calls a mach interface that Artsoft asked me not to publicize) just before using the TCP TP. This gets the TCP TP connected to the probe input signal and we use the TCP for TLO measurement actions etc.
Now the plot thickens... and how does MSM know to use one signal or two signals? By the "enabled state" of the timing pin.... since it is no longer used, and it is the only pin avail in ports & pins that is "unused", I choose to implement "timing signal enabled = use two signal interfacing"...

That bit of hackery seems to have come home to cause trouble..
Now we can see what happens to your system...
You have a device hooked to the timing signal input; so naturally you enabled the timing signal.. and that tells MSM to use two signal interfacing.
Now we come along and try to measure the length of a tool with the TCP TP... just before doing that, MSM switches the timing PIN to the Probe SIgnal... expecting that to connect the TCP TP to the probe signal... but what happens is the the probe signal never fires - as the TCP TP is not physically connected to the timing signal.... and we go down in flames.... Since the spindle is not running when probing, there was no index pulse sent to the timing input- I'm guessing that the electrical state just happens to be the same as "probe not triggered".
And then just to cover our tracks, the pins get switched back and now the probe is reconnected to the probe signal and so after the TLO measure operation you think the probe works great (and it does) - but that TCP TP is out of luck.
OK, at least I can now see why it never stops moving when you try to use the TCP TP in MSM.
The current question is: What can we do about this?
The first thing we want to do is to disable the timing signal in ports & pins. I realize that will kill your spindle rev stuff - but this is just a first step test.
With the timing disabled, MSM will now think it is in single signal mode - and it will not be swapping pins behind your back - so only the single probe input will be used.
I'd like to know if the Probe to the TCP TP now works with the timing signal disabled, in ports & pins.
If so, we have confirmation of what the problem is.
Now about the RPM input: Are you using the index signal for anything?
I'm thinking that you could reconfigure ports & pins to put the QRD1114 input on the Index signal instead of the Timing signal. (Since I was told to use the Index pulse for spindle rev counting, I'd always done that and I've never tried the timing input.)
With any luck this will allow MSM to work in one signal probe mode and get your RPM input working.
If that combination does not work, then I'll have to figure out some other way to tell MSM about one signal vs two signal mode. I'll have to invent some other method for that and then include the change in a new release.
Dave