rev1 ā Dec 2013 www.digitalcomtech.com 31
GC - Counters, Timers, Distancers
Qualifiers: Q, S, R.
This message is used to configure and manipulate internal counters. Each counter can be
configured as a user-controlled counter, a timer, or a distancer (counter updated by the
traveled distance). Please refer to the Quick Command Reference section for a few
examples about counter use. The message has the following format.
AAB[C[DDDDD[EEEEE]]]
AA: Index. Range 00-19. Specifies one of the counters associated with a counter
signal CAA. The counter signal becomes "True" when the specified threshold value is
reached. If the Recycle Flag is set to R then the signal transitions back to "False". If
the Recycle Flag is set to C the signal will remain "True".
B: Counter command. The valid values for this field are:
C: Sets the counter type to Counter with a threshold value defined 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.
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 reseted.
C: Recycle flag. Action performed when the counter threshold is reached:
C: Continue counter.
R: Recycle counter (set to zero).
DDDDD: Threshold counter increment when used with the I command or set with
the V command.
EEEEE: Data increment value for Counter modes. For Timers, the counter value is
incremented by 1 for every Delta elapsed seconds. For Distancers, the counter value
is incremented by 1 for every Delta accumulated meters traveled.