Hi:
What is the input voltage of the Paylink switches: 3 V?
Can the 16 outputs be used?
Is it a switch that opens and closes?
How do we detect in C # that an entry is open or closed?
if (AESImhei.SwitchCloses (0) == AESImhei.SwitchOpens (0))
{
// close??
}
else
{
// open??
}
Thank you.
Greetings
How to know if the swiches are open or closed?
Moderators: aardvark, davebush, Admin
Re: How to know if the swiches are open or closed?
Hi,
The Paylink inputs should not be connected to any voltage. The Paylink itself connects the line to its internal 3V3 through a resistor.
The only thing you should then do with the signal is connect it to ground - either with a switch, or by using an "open collector" electronic output.
From the programming manual:
The expression (SwitchCloses(n) == SwitchOpens(n)) will always return false if the switch is currently closed and true if the switch is currently open.
The Paylink inputs should not be connected to any voltage. The Paylink itself connects the line to its internal 3V3 through a resistor.
The only thing you should then do with the signal is connect it to ground - either with a switch, or by using an "open collector" electronic output.
From the programming manual:
The expression (SwitchCloses(n) == SwitchOpens(n)) will always return false if the switch is currently closed and true if the switch is currently open.
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.