Issue
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.
Environment
CyberStation
CX9900
CX9702
CX9680
ACX5740
ACX5720
ACX781
Cause
Requirements
Resolution
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
Stop
Endif
'Enable door when Elvis enters the building
If MainEntrance State = Disabled then
If MainEntrance EntryLastSite = 123 and MainEntrance EntryLastCard = 456 then
MainEntrance State = Enabled
Endif
Endif
'Keep program from getting disabled due to run time error
E:
Stop
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