Access Control : Installing and using GateKeeper module : GateKeeper use : Using GateKeeper module to read rotation detection from a serial port connection
 
Using GateKeeper module to read rotation detection from a serial port connection
 
GateKeeper module can read rotation detection from a serial port connection. To enable this, the [SerialAdmit] section needs to be added to GateKeeper.INI:
 
[SerialAdmit]
ComPort=13
BaudRate=9600
Parity=N
DataBits=8
StopBits=1
 
This is where the DSR and ground pins need to be wired back from the gate. Tests have been made with the Boon Edam Tomsed gates and setup is detailed in the hardware setup document. Also, GateKeeper module needs to be modified to process, “Good for N” responses to pop the gate multiple times.
 
[Preferences]
AdmitGoodFor=TRUE
AdmitGoodForDelay=500
AdmitGoodForText=Next Person Proceed – Entries Remaining:*ADM*
AdmitGoodForResetTimeout=30000
 
AdmitGoodForDelay (in milliseconds) is the length of time that GateKeeper module waits after receiving an indication that the turnstile has turned over before trying to pop it again. The default is half a second, which seems to work well. AdmitGoodForText substitutes the actual number of entries remaining for *ADM*. This is displayed whenever the next person is to proceed through the gate.
In the event that multiple “Good for N” scans are received, the numbers of admissions are added up. So, if you scan a “Good for 3” admission, and then a “Good for 2” admission, you have five turns of the turnstile.
Also, if you scan %EXECADMRESET (or just type EXECADMRESET into the test box), any unused admittances are reset.
In addition, when running in this mode, the admittance screen is dismissed as soon as the DSR is received (the gate is tripped).  It is not reset until AdmitGoodForResetTimeout has expired. The regular response timeout is only active in the case of a bad scan.