6.9. (GC) COUNTERS, TIMERS, DISTANCERS
6.9.1
Counters’ commands
Value
Meaning
C
Sets the counter type to
Counter
with a threshold value de-
fined as
DDDDD
. The value for this type of counter can only be
changed with the
increment
(
I
or
value
(
V
) command.
T
Set and start a
Timer
counter with a threshold value defined
as
DDDDD
, time increment 1 or
EEEEE
seconds.
D
Set and start a
Distance
counter with a threshold value defined
as
DDDDD
, distance increment 1 or
EEEEE
meters.
S
Counter update is suspended.
R
Resume a suspended counter. The time or distance increments
occurring while the counter were suspended are not added
upon resume.
I
Only for
Counters-type
counters:
Increment the counter’s
value by 1 or
DDDDD
.
V
When using the
S
qualifier: Set the counter’s value to
DDDDD
.
Use the
Q
qualifier to get the actual counter’s value.
U
Undefine counter: The counter’s definitions is deleted and the
associated counter signal
CAA
is reset.
6.9.2
Examples
Set counter
03
on
Timer
mode. When the counter’s value reaches 5 min-
Example 1
utes the
C03
signal should get true. The counter shall not recycle its value
when reaching the 5 minutes or else we will end up with a periodic
C03
signal:
To do this we define a timer with threshold value set to 300 seconds with
no delta value:
>
SGC03TC00300
<
Notice the
Recycle Flag
set to
C
so the counter does not resets when reach-
ing the threshold. Now 5 minutes after entering this command we will have
the
C03
signal transitioning from false to true.
Use a timer to generate a periodic counter signal having a period of 27
Example 2
minutes:
To do this we define a timer that recycles whenever the count value reaches
the threshold. To show the use of the delta parameter we are not going to
count seconds but minutes:
>
SGC07TR0002700060
<
Now
C07
signal gets high every 27 minutes (getting low immediately, af-
ter all event’s are evaluated).
To create a distance counter that count x100 meters with no particular
Example 3
interest on any counter signal:
>
SGC05DC0000100100
<
We set the threshold to 1 but it could have been set to any value as we
155
Summary of Contents for Antares SB
Page 1: ......
Page 2: ...Antares SB TM GSM User s Manual FW 5 21 Digital Communications Technologies April 15 2008...
Page 37: ...2 1 POWER SUPPLY 35...
Page 38: ...2 1 POWER SUPPLY 36...
Page 42: ...2 5 CONNECTION DIAGRAMS 40...
Page 141: ...6 Unit s TAIP reference...
Page 191: ...6 32 XADM DIAGNOSTIC MESSAGE 189...
Page 228: ......
Page 229: ......