Client access / registration
Contact
TECH FASS s.r.o.
Věštínská 1611/19
153 00, Prague
Czech Republic
tel.: +420 257 224 398
tel.: +420 257 224 399
e-mail: techfass@techfass.cz
The most important macro-language constructions overview.
The list bellow corresponds to the controller firmware version 226 and the compiler version 2.5.
- Break
- Terminates the macro executing; can be used in all events.
- ClearAllCounters
- Deletes all PRESENT flags of access cards and clears access groups and users' codes counters of present cardholders at the same time; can be used in all events.
- ClearGroupCounter(x)
- Clears the access group counter of present cardholders defined by parameter x, deletes PRESENT flags of all cards assigned to defined access group and decrements adequate the user's code counter; can be used in all events.
- ClearPresent
- Deletes PRESENT flag of just read access card and clears the relevant access group and user's code counters of present cardholders at the same time; can be used in Valid event.
- ClearUserCounter(x)
- Clears the user's code counter of present cardholders defined by parameter x, deletes PRESENT flags of all cards assigned to access groups with x user's code set and decrements adequate the access groups counters; can be used in Valid event.
- Define mark x=description
- Archive mark definition; it is entered beside the macros to the script (example).
- Define parameter x=name
- Parameter definition; it is entered beside the macros to the script (example).
- Define register x=name
- Numerical register definition; it is entered beside the macros to the script (example).
- Define timer x=name
- Software timer definition; it is entered beside the macros to the script (example of timing).
- Delay(x)
- Stops the macro executing for a pre-defined time in seconds defined by x parameter (example of timing), can be used in all events except Timer1sec and/or Timer10sec.
- Door() / Door(ReaderN)
- Executes standard Door function (example), can be used in all events.
- EraseCard
- Erases the current card from controller memory table; can be used in Valid event.
- Execute(x)
- Activates the user event defined by x parameter; can be used in all events except the UserEventN events (recursion not allowed).
- if AllCountersEmpty then
- Evaluates the zero status of all access groups and user's code counters of present cardholders; can be used in all events.
- if Authorized then
- Evaluates extra authorization flag of cardholder's access levels; can be used in Valid event.
- if Buffer(x) then
- Checks filling in the controller events archive buffer, if filled up more then defined by x parameter (in percentage) the result is true; can be used in all events.
- if Byte1 = x then
- Compares entered value x to the value stored in Byte1 column of just read card ID. If the values match the result is true; can be used in Valid and/or Invalid events.
- if Byte2 = x then
- Compares entered value x to the value stored in Byte2 column of just read card ID. If the values match the result is true; can be used in Valid and/or Invalid events.
- if Group(x) then
- Evaluates assignment of current card ID to the access group no. x; can be used in Valid event.
- if GroupEmpty(x) then
- Evaluates the zero status of access group no. x counter of present cardholders; can be used in all events.
- if KeyCode(x) then
- Compares the pressed key code on the reader module with reason keypad to entered code x; can be used in Valid event.
- if ModuleLost(x) then
- Checks the communication status of the network module with hardware address x, the result is true if the communication is not established; can be used in all events.
- if Offline then
- Evaluates status of the communication with PC. Can be used in all events.
- if Present then
- Evaluates the PRESENT flag of current card ID; can be used in Valid event.
- if TimePlan(x) then
- Evaluates the current validity of the time zone no. x; can be used in all events.
- if User(x) then
- Evaluates if the x number is equal to access group user's code assigned to current card; can be used in Valid event.
- if UserEmpty(x) then
- Evaluates the zero status of present cardholders' counter of the access groups with user's code no. x assigned; can be used in all events.
- if x then ... endif / if x then ... else ... endif / if not x then ... endif / if not x then ... else ... endif
- Evaluates the x logical condition. The result can be negated using the not operator. Nesting depth is 20 levels; can be used in all events.(examples of conditions)
- Invert (x)
- Inverts the status of logical output defined by its name x; can be used in all events.
- Mark(x)
- Stores the archive mark defined by x name to controller events archive buffer; can be used in all events.
- SetByte1(x)
- Sets x value to Byte1 column of current card to the card ID table of the controller memory; can be used in Valid and/or Invalid event.
- SetByte2(x)
- Sets x value to Byte2 column of current card to the card ID table of the controller memory; can be used in Valid and/or Invalid event.
- SetModePIN(x)
- Switches over the defined reader module x to identification mode "card + PIN". Reader modules with PIN pad only can be switched, the other ones ignore this setting; can be used in all events.
- SetModePINFree(x)
- Switches over the defined reader module x to identification mode "card only". Reader modules with PIN pad only can be switched, the other ones ignore this setting; can be used in all events.
- SetPresent
- Sets the PRESENT flag to the current card and increments relevant access groups and user's code counters of present cardholders; can be used in Valid event.
- Signal(x) / Signal(ReaderN, X)
- Triggers the acoustic signal on current reader module, or ReaderN module. Meaning of x parameter is as follows:
- 1 ... one short beep
- 2 ... two short beeps
- 3 ... three short beeps
- 4 ... one long beep
- 5 ... five short beeps
- 6 ... erase card memory command in the reader module
For the MCA 168 system controller with FW version 228 or higher and for the APS Config version 2.7 or higher it is also possible to use following contructions:
- x = Byte1
- Sets the Byte1 column of the current card from the card ID table of the controller memory to the x parameter; can be used in Valid and Invalid events.
- x = Byte2
- Sets the Byte2 column of the current card from the card ID table of the controller memory to the x parameter; can be used in Valid and Invalid events.
APS 400 system
System topology
More information about hardware
Programming the controller
APS 400 product catalogue