A requirement at some physical access control sites is that at the beginning of the day all access to an area/door is denied until a particular person shows up.
Write a PE program in the controller that disables the door at the end of the day and then uses the door's EntryLastSite and EntryLastCard to determine when the person that enables access has arrived in the morning at which point the door is enabled.
Sample PE program
'Program is fallthru and triggered by the Second system variable
'Disable door at end of the day
If Hour > 17 then
MainEntrance State = Disabled
'Enable door when Elvis enters the building
If MainEntrance State = Disabled then
If MainEntrance EntryLastSite = 123 and MainEntrance EntryLastCard = 456 then
MainEntrance State = Enabled
'Keep program from getting disabled due to run time error
If door is a dual reader door the program can be modified to disable the door when the person leaves using door attributes ExitLastSite and ExitLastCard