A site physical access is configured as follows...
Upon arriving at the site, the employee must check-in at a gate where a main biometric reader at a VIRTUAL door is configured with entry/exit readers for Check-in and Check-out. This 'Registration' reader is not controlling access to any physical door, the Registration door in Continuum has zero for door relay channel but IT IS configured with entry/exit readers so the Continuum access control panel can detect the check-in/check-out transactions.
Once the employee has checked in, he can continue on to the building where he must then present his physical access credentials at a physical door to gain access into the building.
The site requirement is that the employee can not be given access to the building until they have checked-in at the Registration reader at the gate, also, access to the building must be removed upon the employee checking-out at the gate when leaving the site.
The doors in the buildings are configured with entry reader ONLY, so entry/egress anti-passback cannot be used.
Since this must be done on a per employee basis, an InfinityNumeric is created per employee and assigned as the area schedule in the personnel object for the areas that are in the building.
A specific convention is used for the name of the numerics (Key_XXXXX) where XXXXX is the card number assigned to the employee.
A PE program monitors the registration door at the gate, when en employee arrives and checks-in the program finds the appropriate employee key numeric and turns it ON to grant access to the areas in the building, conversely, when the employee leaves, the program finds the right key and turns it to OFF to deny access.
IMPORTANT: PE PROGRAM IS PROVIDED HERE AS PROOF OF CONCEPT ONLY AND IS NOT INTENDED TO BE TAKEN AS A COMPLETE TESTED SOLUTION.
'This program controls access to the building on a per employee basis 'The area schedule numeric for the employee is turned ON when the employee 'reports at the entrance reader (GIVE EMPLOYEE THE KEY) and OFF when the 'employee reports his departure at the exit reader. (TAKE THE KEY FROM THE EMPLOYEE) 'ASSUMPTIONS '1. All cards have the same site code 'AUTO START 'LOOPING Numeric Direction, DEBUG String theKey Line INIT DEBUG = 1 'SET THIS TO 1 FOR DEBUG HELP Goto WAIT_FOR_ACCESS Line WAIT_FOR_ACCESS theKey = "Key_" 'RESET KEY NAME 'WAIT FOR A VALID ACCESS AT THE LOBBY If Lobby ValidAccess then Goto GET_DIRECTION Line GET_DIRECTION 'DETERMINE IF ENTRY OR EGRESS If Lobby TimeEntered > Lobby TimeExited then Goto ENTRY Else Goto EXIT Line ENTRY theKey = theKey ; Lobby EntryLastCard 'FIND THE KEY FOR THIS CARD getname(theKey) = On 'GIVE THE EMPLOYEE THE KEY Goto WAIT_FOR_ACCESS Line EXIT theKey = theKey ; Lobby ExitLastCard 'FIND THE KEY FOR THIS CARD getname(theKey) = Off 'TAKE THE KEY FROM THE EMPLOYEE, NO KEY NO ACCESS Goto WAIT_FOR_ACCESS Line E If DEBUG then Print "Hit the error line" to Debug_STR If TS > 0 then Goto WAIT_FOR_ACCESS