Issue
Alarming on specific card swipes
Environment
CyberStation
CX9702
CX9900
CX9680
ACX5720
ACX5740
ACX700
ACX781
Cause
Need for alert alarm when a given credential holder(s) is attempting access at a door
Resolution
Write a PE program in the controller that monitors the door for access attempts and check whether the last card presented at the door is in a list of cards that been designated for alarming.
In the sample program below CardAlertList is an InfinityNumeric array containing the list of card numbers to alarm on. An Alarm Enrollment configured to alarm when Value > 0 is attached to CardAlertList
It is assumed that all cards have the same site code, if multiple site codes are used then the program needs to be modified to take site code in consideration.
SAMPLE PROGRAM:
'This program triggers an alarm when any card which number is contained
'in the CardAlertList array is presented at the door.
'Program flowtype is fall thru
'Triggered by the Second system variable
Numeric n
CardAlertList = 0
'If a card has been presented at the door
If Door1 InvalidEntryTime > Dr1LastInvalTime or Door1 TimeEntered > Dr1LastValidTime then
'Check to see if the card is in the list
For n = 1 to CardAlertList Size
'if the card number is in the list send alarm
If CardAlertList[n] = Door1 EntryLastCard then CardAlertList = Door1 EntryLastCard
Next n
Endif
'store last card transaction time for comparison next time program runs
Dr1LastInvalTime = Door1 InvalidEntryTime
Dr1LastValidTime = Door1 TimeEntered
Stop
E: