Global Lockdown
The following commands can be created and executed from a text file. Create a text file in Notepad with the commands listed below and then copy the text file to theSymphony AC \Data\Drivers\x\Commands folder where x is the Driver ID. The file name can be anything with a file extension of cm0 where 0 represents the prioritization of the order in which the command should get processed.
308 Reader Mode Command (Mecury)
This is how the 308 command should be used to change the mode of a reader: 308 CA RN RM CA = Controller address that the reader is connected to. This can be a number from 0 to 255. RN = Reader Number from 0 to 63 and calculated by the following formula where SCA is the sub-controller address and A is the device address of the Reader as printed on the board: RN = 2 * SCA + (A-1). RM = Reader Mode: 1-Disabled, 2-Unlock, 3-Lock (Allow REX), 4-Correct Facility Code Required, 5-Card Only, 6-PIN Only, 7-Card and PIN, 8-Card or PIN
Here's an example of the command line:
308 0 0 2
In this example we are telling controller 0 to change reader address 1 on sub-controller 0 to reader mode 2 (Unlock).
Below is a list of commands to unlock the first 6 readers on Controller 4:
308 4 0 2 308 4 1 2 308 4 2 2 308 4 3 2 308 4 4 2 308 4 5 2
Executing a Command File from Triggers and Macros (Aero)
To execute a command file from a Macro, create a command file with the proper format as outlined above and saved the file to theSymphony AC \Data\Drivers\x\Data folder where x is the Driver ID. Next, navigate to the Triggers and Macros module and Create a new Macro with a Macro Command '19: "Execute a Command File"' that is pointed to the command file. Create a Trigger that executes the newly created Macro. The Trigger can use any event from the picklist.
307 Door Strike Command (VertX / Edge)
This is how the 307 command should be used to change the state of a door strike:
307 CA SCA DN DSM
- CA = Controller address that the reader is connected to. This can be a number from 0 to 255.
- SCA = Sub-Controller address that the reader is connected to. This can be a number from 0 to 31.
- DN = Door Number identifies which of the 2 door strikes on the sub-controller will get affected by the command. 0 or 16 are the only 2 choices for this field where 0 is the first Door Strike, and 16 is the second Door Strike.
- DSM = Door Strike Mode: 0-Locked, 1-Unlock, 2-Momentary Unlock
Here's an example of the command line:
307 4 0 16 2
In this example we are telling controller 4 to momentarily unlock the second door strike on sub-controller 0. Below is a list of commands to unlock the first 6 doors (sub-controllers 0, 1, and 2) on Controller 4:
307 4 0 0 1 307 4 0 16 1 307 4 1 0 1 307 4 1 16 1 307 4 2 0 1 307 4 2 16 1
Executing a Command File from an Input (VertX / Edge)
To execute a command file from an Input event that has gone active, create a command file with the proper format as outlined above and save the file to theSymphony AC \Data\Drivers\x\Data folder where x is the Driver ID. Next, create a file in the RemotePath called 'CommandFileX.ini', where X is the Driver ID that references the driver that is responsible for polling the events of the Input that will trigger the command file execution. The 'CommandFileX' will contain the Input address as a section header followed by a File parameter that will reference the file to execute. Below is a sample of what a CommandFileX.ini would look like:
[1.0.0.I16]
File=Test.cm1
In the example above, the command file 'Test.cm1' will get executed when Input 1.0.0.I16 goes active. 'Test.cm1' must be properly formatted with the 307 commands and must be located in the Symphony AC\Data\Drivers\x\Data folder. 'CommandFileX.ini' (where X is the Driver ID for the driver that is responsible for polling the input that will cause the trigger) must be located in the RemotePath. Please note that multiple inputs can be added to the same 'CommandFileX.ini' file, and can be used to trigger the same or different command file(s).