There are diodes in the LGB 17100's? If so it must be to protect the contacts. UGH. So diodes would work if you are switching DC, and would only really be needed with higher current or inductive loads.
But the application is using the Massoth modules, which surely are not inductive nor high current.
Using level control is trying to detect the transition from open to ground and from ground to open as 2 separate events... I would NOT do this with a reed switch which can be noisy and have the contacts bounce.
If these are just occupancy sensors, why are you using level control?
(perhaps I don't understand the finer points here)
Greg
There is almost no load, this is just contact close in the case of the reeds and low voltage pulse in the case of the digital contacts directly into the feedback module. I am not using any of the detection circuit to throw switches directly.
I am using level so I am able to get 8 detectors with a discreet address through each feedback module. I am using this to feed into Traincontroller software. The following extract from the Massoth manual:
Every closing of the contact triggers
a signal. The usable contact number
may be doubled by programming the
module to level control (only DiMAX
bus). In case the reed switch is closed
the “a” contact is reported. In case the
reed relay is released the “b” contact
is reported.
I don't know why flank won't do this (this is what I setup first) as I only want an initial close. However based on my interpretation of the manual and my own experience you can only get 4 contacts through each module using flank. This seems to be specific to the Massoth unit as each input is paired. There is also a reasonably strong chance I have not properly understood what the manual is saying I find the language very confusing.
I can say after a good deal of trial and error the setup works perfectly aside from the fact that occasionally (maybe 1 in 20) the signal won't register.
It seems this now comes down to perhaps a de-bounce setting, magnet position, cable length, interference etc..... I am also going to experiment by increasing the strength of the magnetic field although I have no idea if the switch is not triggering or the signal is getting lost.