AMX AXCESS CONTROL SYSTEM PROGRAM Instruction Manual page 93

Programming language
Table of Contents

Advertisement

Timer Keywords (Cont.)
GET_TIMER
The GET_TIMER system
variable contains the current
status of the timer.
Axcess Programmnig Language
Usually this keyword is used in conjunction with an IF statement, as shown in
the following example:
DEFINE PROGRAM
IF (GET_TIMER >= 1ØØ)
{
SEND_STRING Ø,"'TIMER VALUE IS = 1ØØ',$ØD,$ØA"
}
In this example, a greater-than sign was combined with the equal sign (³).The
timer could reach the number 100 while the program is being executed else-
where. When Axcess reaches the GET_TIMER section, the timer might be
103. If the condition was that GET_TIMER be equal to 100, the following state-
ments will be skipped. Never use only an equal sign with the GET_TIMER sys-
tem variable in an IF statement.
Unlike variables, the timer loses its value when the Axcess Control System is
turned off. When the system is reactivated, the timer is reset to Ø.
Waits and Timer Keywords
85

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?

This manual is also suitable for:

Axcess

Table of Contents