Go to documentation repository
The KeyWatcher hardware works with an external reader integrated into ACFA PSIM that is why for operation of the integration module one needs to redirect information about the read access card to the KeyWatcher ACS hardware. To do so, one needs to create a program in the ACFA PSIM embedded programming language.
Before creating a program one needs to connect the reader to the Server, and create and configure the object in ACFA PSIM that corresponds to this reader.
Create a program in the following way:
- Go to the Programming tab of the System settings dialog box.
- Create a Program object.
- Select Always from the Time zone drop-down list.
- Enter the program text in the text field.
- Click Apply (5).
The example of program for Pelco reader:
OnEvent("Pelco","1.1.1","CARD_IS_PRESENTED") { DoReact ("KEYWATCHER","1","CARD_ASSIGN","facility_code<"+facility_code+">,card<"+card+">"); }
The parts of the program, which are depicted on the picture, should be replaced depending on the reader used and the ACFA PSIM settings.
The name of the reader object type and its identification number are clarified by the Debug Window. To open the Debug Window, one needs to select Debug window in the Axxon PSIM main menu.
When swiping the access card to the reader, the Debug Window displays the line containing these parameters.
To open the Message Window, one needs to click the right mouse button in the line corresponding to the event. The contents of this window one could copy into the communication buffer.
Note.
For more details on the Debug Window refer to the Intellect Programming Guide (JScript).
The creating of program for events redirection from the external reader to the KeyWatcher ACS has been finished.